RTEMS
5.0.0
|
v850 CPU Initialize More...
Functions | |
void | _CPU_Initialize (void) |
CPU initialization. More... | |
uint32_t | _CPU_ISR_Get_level (void) |
Returns the interrupt level of the executing thread. More... | |
void | _CPU_Context_Initialize (Context_Control *the_context, uint32_t *stack_base, uint32_t size, uint32_t new_level, void *entry_point, bool is_fp, void *tls_area) |
v850 CPU Initialize
void _CPU_Context_Initialize | ( | Context_Control * | the_context, |
uint32_t * | stack_base, | ||
uint32_t | size, | ||
uint32_t | new_level, | ||
void * | entry_point, | ||
bool | is_fp, | ||
void * | tls_area | ||
) |
Initialize the context to a state suitable for starting a task after a context restore operation. Generally, this involves:
[in] | the_context | points to the context area |
[in] | stack_base | is the low address of the allocated stack area |
[in] | size | is the size of the stack area in bytes |
[in] | new_level | is the interrupt level for the task |
[in] | entry_point | is the task's entry point |
[in] | is_fp | is set to TRUE if the task is a floating point task |
[in] | tls_area | is the thread-local storage (TLS) area |
NOTE: Implemented as a subroutine for the SPARC port.