RTEMS
|
This header file defines parts of the application configuration information API. More...
#include <stddef.h>
#include <stdint.h>
#include <rtems/rtems/config.h>
#include <rtems/score/cpu.h>
#include <rtems/score/isr.h>
#include <rtems/score/memory.h>
#include <rtems/score/object.h>
#include <rtems/score/smp.h>
#include <rtems/score/stack.h>
#include <rtems/score/threadidledata.h>
#include <rtems/score/userextdata.h>
#include <rtems/score/watchdogticks.h>
#include <rtems/score/wkspacedata.h>
Go to the source code of this file.
Macros | |
#define | rtems_configuration_get_stack_allocator_avoids_work_space() _Stack_Allocator_avoids_workspace |
Returns true, if the thread stack allocator avoids the RTEMS Workspace, otherwise returns false. | |
#define | RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS |
This flag is used in resource numbers to indicate an unlimited resource. | |
#define | rtems_configuration_get_do_zero_of_workspace() _Memory_Zero_before_use |
Returns true, if the RTEMS Workspace is zeroed during system initialization for this application, otherwise returns false. | |
#define | rtems_configuration_get_idle_task() _Thread_Idle_body |
Returns the IDLE task entry of this application. | |
#define | rtems_configuration_get_idle_task_stack_size() _Thread_Idle_stack_size |
Returns the IDLE task stack size in bytes of this application. | |
#define | rtems_configuration_get_interrupt_stack_size() ((size_t) _ISR_Stack_size) |
Returns the interrupt stack size in bytes of this application. | |
#define | rtems_configuration_get_maximum_processors() _SMP_Processor_configured_maximum |
Returns the maximum number of processors which are configured for this application. More... | |
#define | rtems_configuration_get_microseconds_per_tick() _Watchdog_Microseconds_per_tick |
Returns the number of microseconds per clock tick configured for this application. | |
#define | rtems_configuration_get_milliseconds_per_tick() (_Watchdog_Microseconds_per_tick / 1000) |
Returns the number of milliseconds per clock tick configured for this application. | |
#define | rtems_configuration_get_nanoseconds_per_tick() _Watchdog_Nanoseconds_per_tick |
Returns the number of microseconds per clock tick configured for this application. | |
#define | rtems_configuration_get_number_of_initial_extensions() ((uint32_t) _User_extensions_Initial_count) |
Returns the number of initial extensions configured for this application. | |
#define | rtems_configuration_get_stack_allocate_hook() _Stack_Allocator_allocate |
Returns the thread stack allocator allocate hook. | |
#define | rtems_configuration_get_stack_allocate_init_hook() _Stack_Allocator_initialize |
Returns the thread stack allocator initialization hook. | |
#define | rtems_configuration_get_stack_free_hook() _Stack_Allocator_free |
Returns the thread stack allocator free hook. | |
#define | rtems_configuration_get_ticks_per_timeslice() _Watchdog_Ticks_per_timeslice |
Returns the clock ticks per timeslice configured for this application. | |
#define | rtems_configuration_get_unified_work_area() _Workspace_Is_unified |
Returns true, if the RTEMS Workspace and C Program Heap are unified, otherwise returns false. | |
#define | rtems_configuration_get_user_extension_table() _User_extensions_Initial_extensions |
Returns the pointer to the initial extensions table configured for this application. | |
#define | rtems_configuration_get_user_multiprocessing_table() NULL |
Returns the pointer to the MPCI configuration table configured for this application. | |
#define | rtems_configuration_get_work_space_size() |
Returns the RTEMS Workspace size in bytes configured for this application. More... | |
#define | RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP |
This constant evaluates to TRUE, if the this processor variant has hardware floating point support, otherwise evaluates to FALSE. | |
#define | rtems_resource_is_unlimited(_resource) _Objects_Is_unlimited(_resource) |
Returns true, if the resource is unlimited, otherwise returns false. More... | |
#define | rtems_resource_maximum_per_allocation(_resource) _Objects_Maximum_per_allocation(_resource) |
Returns the maximum number per allocation of a resource number. More... | |
#define | rtems_resource_unlimited(_resource) ((_resource) | RTEMS_UNLIMITED_OBJECTS) |
Returns the resource number configured for unlimited resources. More... | |
Typedefs | |
typedef Stack_Allocator_allocate | rtems_stack_allocate_hook |
Thread stack allocator allocate handlers shall have this type. | |
typedef Stack_Allocator_initialize | rtems_stack_allocate_init_hook |
Thread stack allocator initialization handlers shall have this type. | |
typedef Stack_Allocator_free | rtems_stack_free_hook |
Thread stack allocator free handlers shall have this type. | |
Functions | |
uintptr_t | rtems_configuration_get_stack_space_size (void) |
Returns the thread stack space size in bytes of configured for this application. | |
const char * | rtems_get_copyright_notice (void) |
Returns the pointer to the RTEMS copyright notice. | |
uint32_t | rtems_configuration_get_maximum_extensions (void) |
Returns the maximum number of Classic API User Extensions which are configured for this application. | |
const char * | rtems_get_version_string (void) |
Returns the pointer to the RTEMS version string. | |
This header file defines parts of the application configuration information API.
Definition in file config.h.