RTEMS Logo

RTEMS 4.9.3 On-Line Library


Interrupts Pointer to _Thread_Dispatch Routine

PREV UP NEXT Bookshelf RTEMS Porting Guide

5.5.4: Pointer to _Thread_Dispatch Routine

With some compilation systems, it is difficult if not impossible to call a high-level language routine from assembly language. This is especially true of commercial Ada compilers and name mangling C++ ones. This variable can be optionally defined by the CPU porter and contains the address of the routine _Thread_Dispatch. This can make it easier to invoke that routine at the end of the interrupt sequence (if a dispatch is necessary).

void (*_CPU_Thread_dispatch_pointer)();


PREV UP NEXT Bookshelf RTEMS Porting Guide

Copyright © 1988-2008 OAR Corporation