RTEMS CPU Kit with SuperCore
4.11.2
|
![]() |
Macros | |
#define | TRUE 1 |
This ensures that RTEMS has TRUE defined in all situations. | |
#define | SCORE_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. More... | |
#define | SAPI_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. More... | |
#define | RTEMS_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. More... | |
#define | POSIX_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API. More... | |
#define | RTEMS_INLINE_ROUTINE static inline |
The following (in conjunction with compiler arguments) are used to choose between the use of static inline functions and macro functions. More... | |
#define | RTEMS_COMPILER_MEMORY_BARRIER() |
The following macro is a compiler specific way to ensure that memory writes are not reordered around certian points. More... | |
#define | RTEMS_COMPILER_NO_RETURN_ATTRIBUTE |
The following macro is a compiler specific way to indicate that the method will NOT return to the caller. More... | |
#define | RTEMS_COMPILER_PURE_ATTRIBUTE |
The following defines a compiler specific attribute which informs the compiler that the method has no effect except the return value and that the return value depends only on parameters and/or global variables. | |
#define | RTEMS_COMPILER_DEPRECATED_ATTRIBUTE |
Instructs the compiler to issue a warning whenever a variable or function with this attribute will be used. | |
#define | RTEMS_COMPILER_UNUSED_ATTRIBUTE |
Instructs the compiler that a specific variable is deliberately unused. More... | |
#define | RTEMS_COMPILER_PACKED_ATTRIBUTE |
Instructs the compiler that a specific structure or union members will be placed so that the least memory is used. | |
#define | RTEMS_STATIC_ASSERT(cond, msg) typedef int rtems_static_assert_ ## msg [(cond) ? 1 : -1] |
#define | RTEMS_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) |
#define | RTEMS_ZERO_LENGTH_ARRAY 0 |
#define | RTEMS_CONTAINER_OF(_m, _type, _member_name) ( (_type *) ( (uintptr_t) ( _m ) - offsetof( _type, _member_name ) ) ) |
Returns a pointer to the container of a specified member pointer. More... | |
#define | RTEMS_TYPEOF_REFX(_ptr_level, _ptr_type) typeof(_ptr_level(union { int z; typeof(_ptr_type) x; }){0}.x) |
#define | RTEMS_DECONST(_type, _var) ((_type)(uintptr_t)(const void *) ( _var )) |
Removes the const qualifier from a type of a variable. More... | |
#define | RTEMS_DEVOLATILE(_type, _var) ((_type)(uintptr_t)(volatile void *) ( _var )) |
Removes the volatile qualifier from a type of a variable. More... | |
#define | RTEMS_DEQUALIFY(_type, _var) ((_type)(uintptr_t)(const volatile void *) ( _var )) |
Removes the all qualifiers from a type of a variable. More... | |
Typedefs | |
typedef void * | proc_ptr |
XXX: Eventually proc_ptr needs to disappear!!! | |
#define POSIX_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API.
It is referenced as "external" in every other file.
#define RTEMS_COMPILER_MEMORY_BARRIER | ( | ) |
The following macro is a compiler specific way to ensure that memory writes are not reordered around certian points.
This specifically can impact interrupt disable and thread dispatching critical sections.
Referenced by _Thread_Disable_dispatch(), and _Thread_Unnest_dispatch().
#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE |
The following macro is a compiler specific way to indicate that the method will NOT return to the caller.
This can assist the compiler in code generation and avoid unreachable paths. This can impact the code generated following calls to rtems_fatal_error_occurred and _Terminate.
#define RTEMS_COMPILER_UNUSED_ATTRIBUTE |
Instructs the compiler that a specific variable is deliberately unused.
This can occur when reading volatile device memory or skipping arguments in a variable argument method.
#define RTEMS_CONTAINER_OF | ( | _m, | |
_type, | |||
_member_name | |||
) | ( (_type *) ( (uintptr_t) ( _m ) - offsetof( _type, _member_name ) ) ) |
Returns a pointer to the container of a specified member pointer.
[in] | _m | The pointer to a member of the container. |
[in] | _type | The type of the container. |
[in] | _member_name | The designator name of the container member. |
#define RTEMS_DECONST | ( | _type, | |
_var | |||
) | ((_type)(uintptr_t)(const void *) ( _var )) |
Removes the const qualifier from a type of a variable.
[in] | _type | The target type for the variable. |
[in] | _var | The variable. |
#define RTEMS_DEQUALIFY | ( | _type, | |
_var | |||
) | ((_type)(uintptr_t)(const volatile void *) ( _var )) |
Removes the all qualifiers from a type of a variable.
[in] | _type | The target type for the variable. |
[in] | _var | The variable. |
#define RTEMS_DEVOLATILE | ( | _type, | |
_var | |||
) | ((_type)(uintptr_t)(volatile void *) ( _var )) |
Removes the volatile qualifier from a type of a variable.
[in] | _type | The target type for the variable. |
[in] | _var | The variable. |
#define RTEMS_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API.
It is referenced as "external" in every other file.
#define RTEMS_INLINE_ROUTINE static inline |
The following (in conjunction with compiler arguments) are used to choose between the use of static inline functions and macro functions.
The static inline implementation allows better type checking with no cost in code size or execution speed.
Referenced by _ASR_Initialize(), _ASR_Post_signals(), _Attributes_Is_floating_point(), _CORE_message_queue_Is_priority(), _CORE_message_queue_Set_message_priority(), _Heap_Block_at(), _Heap_Get_size(), _Heap_Protection_set_delayed_free_fraction(), _Message_queue_Get(), _POSIX_Message_queue_Get(), _POSIX_Message_queue_Namespace_remove(), _POSIX_Semaphore_Get(), _POSIX_Threads_Initialize_attributes(), _Priority_bit_map_Add(), _Priority_Bits_index(), _Scheduler_Is_priority_higher_than(), _Scheduler_Start_idle(), _Thread_Disable_dispatch(), _Thread_Is_allocated_fp(), _Thread_Is_proxy_blocking(), _Thread_Wait_set_timeout_code(), _Watchdog_Insert_seconds(), and _Watchdog_Last().
#define SAPI_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API.
It is referenced as "external" in every other file.
#define SCORE_EXTERN extern |
The following ensures that all data is declared in the space of the initialization routine for either the Initialization Manager or the initialization file for the appropriate API.
It is referenced as "external" in every other file.