RTEMS 6.1-rc1
|
This header file provides the interfaces of the Flexible Per-CPU Data. More...
Go to the source code of this file.
Macros | |
#define | PER_CPU_DATA_NEED_INITIALIZATION() RTEMS_LINKER_RWSET_DECLARE( _Per_CPU_Data, char ) |
Translation units which define per-CPU items shall call this macro exactly once at file scope. | |
#define | PER_CPU_DATA_ITEM_DECLARE(type, item) RTEMS_LINKER_RWSET_ITEM_DECLARE( _Per_CPU_Data, type, item ) |
Declares a per-CPU item of the specified type. More... | |
#define | PER_CPU_DATA_ITEM(type, item) RTEMS_LINKER_RWSET_ITEM( _Per_CPU_Data, type, item ) |
Defines a per-CPU item of the specified type. More... | |
#define | PER_CPU_DATA_OFFSET(item) |
Returns the offset of the per-CPU item to the begin of the per-CPU data area. More... | |
#define | PER_CPU_DATA_GET_BY_OFFSET(cpu, type, offset) |
Returns a pointer of the specified type to the per-CPU item at the specified offset for the specified processor. More... | |
#define | PER_CPU_DATA_GET(cpu, type, item) &_Linker_set__Per_CPU_Data_##item, (void) cpu |
Returns a pointer of the specified type to the specified per-CPU item for the specified processor. More... | |
Functions | |
RTEMS_LINKER_RWSET_DECLARE (_Per_CPU_Data, char) | |
This header file provides the interfaces of the Flexible Per-CPU Data.