Changeset 5d288bc in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2013, 6:55:46 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
ea49a89
Parents:
87fdc14
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/13 06:55:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:50)
Message:

Use compile-time constants for exactly one CPU

Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r87fdc14 r5d288bc  
    7777LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-shell-netcmds.c
    7878LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-signal.c
    79 LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-smp.c
    8079LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-subr_param.c
    8180LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-support.c
  • freebsd-to-rtems.py

    r87fdc14 r5d288bc  
    634634                'rtems/rtems-bsd-shell-netcmds.c',
    635635                'rtems/rtems-bsd-signal.c',
    636                 'rtems/rtems-bsd-smp.c',
    637636                'rtems/rtems-bsd-subr_param.c',
    638637                'rtems/rtems-bsd-support.c',
  • freebsd/sys/sys/smp.h

    r87fdc14 r5d288bc  
    7878#endif /* SMP */
    7979
     80#ifndef __rtems__
    8081extern u_int mp_maxid;
    8182extern int mp_maxcpus;
     
    8485
    8586extern cpumask_t all_cpus;
     87#else /* __rtems__ */
     88#define mp_maxid 1U
     89#define mp_maxcpus 1
     90#define mp_ncpus 1
     91#define all_cpus 1U
     92#endif /* __rtems__ */
    8693
    8794/*
Note: See TracChangeset for help on using the changeset viewer.