API Extension Handler


Data Structures

struct  API_extensions_Control

Typedefs

typedef void(* API_extensions_Predriver_hook )(void)
typedef void(* API_extensions_Postdriver_hook )(void)
typedef void(* API_extensions_Postswitch_hook )(Thread_Control *)

Functions

void _API_extensions_Initialization (void)
 Initialize the API Extensions Handler.
void _API_extensions_Add (API_extensions_Control *the_extension)
 Add Extension Set to the Active Set.
void _API_extensions_Run_predriver (void)
 Execute all Pre-Driver Extensions.
void _API_extensions_Run_postdriver (void)
 Execute all Post-Driver Extensions.
void _API_extensions_Run_postswitch (void)
 Execute all Post Context Switch Extensions.

Variables

SCORE_EXTERN Chain_Control _API_extensions_List

Detailed Description

This handler encapsulates functionality which provides mechanisms for the SuperCore to perform API specific actions without there beingg "up-references" from the SuperCore to APIs. If these referencesg were allowed in the implementation, the cohesion would be too high and adding an API would be more difficult. The SuperCore is supposed to be largely independent of any API.

Typedef Documentation

typedef void(* API_extensions_Postdriver_hook)(void)

This type defines the prototype of the Postdriver Hook.

This type defines the prototype of the Postswitch Hook.

typedef void(* API_extensions_Predriver_hook)(void)

This type defines the prototype of the Predriver Hook.


Function Documentation

void _API_extensions_Add ( API_extensions_Control the_extension  ) 

Add Extension Set to the Active Set.

This routine adds an extension to the active set of API extensions.

Parameters:
[in] the_extension is the extension set to add.

void _API_extensions_Initialization ( void   ) 

Initialize the API Extensions Handler.

This routine initializes the API extension handler.

void _API_extensions_Run_postdriver ( void   ) 

Execute all Post-Driver Extensions.

This routine executes all of the postdriver callouts.

void _API_extensions_Run_postswitch ( void   ) 

Execute all Post Context Switch Extensions.

This routine executes all of the post context switch callouts.

void _API_extensions_Run_predriver ( void   ) 

Execute all Pre-Driver Extensions.

This routine executes all of the predriver callouts.


Variable Documentation

This is the list of API extensions to the system initialization.


Generated on Fri Jul 4 00:21:26 2008 for RTEMSSuperCore by  doxygen 1.5.6