|
RTEMS
5.0.0
|
Go to the documentation of this file. 18 #ifndef _RTEMS_SCORE_CONTEXT_H 19 #define _RTEMS_SCORE_CONTEXT_H 38 #include <rtems/score/cpu.h> 46 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) 47 #define CONTEXT_FP_SIZE CPU_CONTEXT_FP_SIZE 49 #define CONTEXT_FP_SIZE 0 69 #define _Context_Initialize( _the_context, _stack, _size, _isr, _entry, \ 71 _CPU_Context_Initialize( _the_context, _stack, _size, _isr, _entry, \ 83 #if defined(_CPU_Context_Initialization_at_thread_begin) 84 #define _Context_Initialization_at_thread_begin() \ 85 _CPU_Context_Initialization_at_thread_begin() 87 #define _Context_Initialization_at_thread_begin() 99 #define _Context_Switch( _executing, _heir ) \ 100 _CPU_Context_switch( _executing, _heir ) 110 #define _Context_Restart_self( _the_context ) \ 111 _CPU_Context_Restart_self( _the_context ) 122 #define _Context_Initialize_fp( _fp_area ) \ 123 _CPU_Context_Initialize_fp( _fp_area ) 135 #define _Context_Restore_fp( _fp ) \ 136 _CPU_Context_restore_fp( _fp ) 146 #define _Context_Save_fp( _fp ) \ 147 _CPU_Context_save_fp( _fp ) 149 #if defined(_CPU_Context_Destroy) 150 #define _Context_Destroy( _the_thread, _the_context ) \ 151 _CPU_Context_Destroy( _the_thread, _the_context ) 153 #define _Context_Destroy( _the_thread, _the_context )