Changeset e5e757b in rtems-schedsim for schedsim/shell/shared/smp_stub.c


Ignore:
Timestamp:
May 26, 2014, 6:26:41 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
d8918c1
Parents:
968d2b2
Message:

_Thread_Dispatch wrapper is now shared between uniprocessor and SMP configurations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedsim/shell/shared/smp_stub.c

    r968d2b2 re5e757b  
    1717#include <stdlib.h>
    1818
     19/*
     20 * Actually owned by the _Thread_Dispatch() wrapper.
     21 * This way the variable is available all the time.
     22 */
     23extern uint32_t Schedsim_Current_cpu;
     24
    1925#if RTEMS_SMP
    20   uint32_t Schedsim_Current_cpu;
    2126  extern uint32_t Schedsim_Maximum_CPUs_From_Command_Line;
    2227#endif
Note: See TracChangeset for help on using the changeset viewer.