|
RTEMS 6.1-rc2
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
38#ifndef _RTEMS_SCORE_CONTEXT_H
39#define _RTEMS_SCORE_CONTEXT_H
61#include <rtems/score/cpu.h>
69#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
70 #define CONTEXT_FP_SIZE \
71 RTEMS_ALIGN_UP( CPU_CONTEXT_FP_SIZE, CPU_STACK_ALIGNMENT )
73 #define CONTEXT_FP_SIZE 0
93#define _Context_Initialize( _the_context, _stack, _size, _isr, _entry, \
95 _CPU_Context_Initialize( _the_context, _stack, _size, _isr, _entry, \
107#if defined(_CPU_Context_Initialization_at_thread_begin)
108 #define _Context_Initialization_at_thread_begin() \
109 _CPU_Context_Initialization_at_thread_begin()
111 #define _Context_Initialization_at_thread_begin()
123#define _Context_Switch( _executing, _heir ) \
124 _CPU_Context_switch( _executing, _heir )
134#define _Context_Restart_self( _the_context ) \
135 _CPU_Context_Restart_self( _the_context )
146#define _Context_Initialize_fp( _fp_area ) \
147 _CPU_Context_Initialize_fp( _fp_area )
159#define _Context_Restore_fp( _fp ) \
160 _CPU_Context_restore_fp( _fp )
170#define _Context_Save_fp( _fp ) \
171 _CPU_Context_save_fp( _fp )
173#if defined(_CPU_Context_Destroy)
174 #define _Context_Destroy( _the_thread, _the_context ) \
175 _CPU_Context_Destroy( _the_thread, _the_context )
177 #define _Context_Destroy( _the_thread, _the_context )