RTEMS: cpukit/include/rtems/score/userextdata.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
userextdata.h
Go to the documentation of this file.
1
9/*
10 * COPYRIGHT (c) 1989-2009.
11 * On-Line Applications Research Corporation (OAR).
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _RTEMS_SCORE_USEREXTDATA_H
19#define _RTEMS_SCORE_USEREXTDATA_H
20
21#include <rtems/score/userext.h>
22#include <rtems/score/chain.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
39 typedef struct {
40 Chain_Node Node;
41 User_extensions_thread_switch_extension thread_switch;
42} User_extensions_Switch_control;
43
50 typedef struct {
51 Chain_Node Node;
52 User_extensions_Switch_control Switch;
53 User_extensions_Table Callouts;
54} User_extensions_Control;
55
61extern const size_t _User_extensions_Initial_count;
62
68extern const User_extensions_Table _User_extensions_Initial_extensions[];
69
75extern User_extensions_Switch_control
76 _User_extensions_Initial_switch_controls[];
77
80#ifdef __cplusplus
81}
82#endif
83
84#endif
85/* end of include file */
_User_extensions_Initial_switch_controls
User_extensions_Switch_control _User_extensions_Initial_switch_controls[]
A spare switch control for each initial user extension.
User_extensions_thread_switch_extension
void(* User_extensions_thread_switch_extension)(struct _Thread_Control *executing, struct _Thread_Control *heir)
Task switch extension.
Definition: userext.h:156
_User_extensions_Initial_count
const size_t _User_extensions_Initial_count
The count of initial user extensions.
_User_extensions_Initial_extensions
const User_extensions_Table _User_extensions_Initial_extensions[]
The table of initial user extensions.
chain.h
Chain Handler API.
Chain_Node_struct
Definition: chain.h:68
User_extensions_Control
Manages each user extension set.
Definition: userextdata.h:50
User_extensions_Switch_control
Manages the switch callouts.
Definition: userextdata.h:39
User_extensions_Table
User extension table.
Definition: userext.h:232
userext.h
User Extension Handler API.