RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Typedefs | Variables
userextimpl.h File Reference

This header file provides interfaces of the User Extensions Handler which are only used by the implementation. More...

#include <rtems/score/userextdata.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/thread.h>
#include <rtems/score/percpu.h>

Go to the source code of this file.

Data Structures

struct  User_extensions_Iterator
 Chain iterator for dynamic user extensions. More...
 
struct  User_extensions_List
 
struct  User_extensions_Thread_create_context
 
struct  User_extensions_Fatal_context
 

Typedefs

typedef struct User_extensions_Iterator User_extensions_Iterator
 Chain iterator for dynamic user extensions.
 

Variables

User_extensions_List _User_extensions_List
 List of active extensions.
 
Chain_Control _User_extensions_Switches_list
 List of active task switch extensions.
 

Extension Maintainance

typedef void(* User_extensions_Visitor) (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 User extension visitor.
 
void _User_extensions_Handler_initialization (void)
 Initializes the user extensions handler.
 
void _User_extensions_Add_set (User_extensions_Control *extension)
 Adds a user extension.
 
void _User_extensions_Remove_set (User_extensions_Control *extension)
 Removes a user extension.
 
void _User_extensions_Thread_create_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Creates a visitor.
 
void _User_extensions_Thread_delete_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Deletes a visitor.
 
void _User_extensions_Thread_start_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Starts a visitor.
 
void _User_extensions_Thread_restart_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Restarts a visitor.
 
void _User_extensions_Thread_begin_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Calls the begin function of the thread callout for the visitor.
 
void _User_extensions_Thread_exitted_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Calls the exitted function of the thread callout for the visitor.
 
void _User_extensions_Fatal_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Calls the fatal function of the thread callout for the visitor.
 
void _User_extensions_Thread_terminate_visitor (Thread_Control *executing, void *arg, const User_extensions_Table *callouts)
 Terminates a visitor.
 
void _User_extensions_Iterate (void *arg, User_extensions_Visitor visitor, Chain_Iterator_direction direction)
 Iterates through all user extensions and calls the visitor for each.
 

Detailed Description

This header file provides interfaces of the User Extensions Handler which are only used by the implementation.