RCS file: /usr1/CVS/rtems/cpukit/score/inline/rtems/score/thread.inl,v
retrieving revision 1.46
diff -u -r1.46 thread.inl
|
|
|
111 | 111 | |
112 | 112 | RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void ) |
113 | 113 | { |
| 114 | #if defined(_CPU_Stop_multitasking) |
| 115 | _CPU_Stop_multitasking( &_Thread_BSP_context ); |
| 116 | #else |
114 | 117 | /* |
115 | 118 | * This may look a bit of an odd but _Context_Restart_self is just |
116 | 119 | * a very careful restore of a specific context which ensures that |
… |
… |
|
120 | 123 | * saving the context. |
121 | 124 | */ |
122 | 125 | _Context_Restart_self( &_Thread_BSP_context ); |
| 126 | #endif |
123 | 127 | |
124 | 128 | /*************************************************************** |
125 | 129 | *************************************************************** |
RCS file: /usr1/CVS/rtems/cpukit/score/src/threadstartmultitasking.c,v
retrieving revision 1.12
diff -u -r1.12 threadstartmultitasking.c
|
|
|
87 | 87 | _Context_Restore_fp( &_Thread_Heir->fp_context ); |
88 | 88 | #endif |
89 | 89 | |
| 90 | #if defined(_CPU_Start_multitasking) |
| 91 | _CPU_Start_multitasking( &_Thread_BSP_context, &_Thread_Heir->Registers ); |
| 92 | #else |
90 | 93 | _Context_Switch( &_Thread_BSP_context, &_Thread_Heir->Registers ); |
| 94 | #endif |
91 | 95 | } |