RTEMS 6.1-rc1
|
This header file provides 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/cpuopts.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_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS |
This flag is used in augment a resource number so that it indicates an unlimited resource. | |
#define | rtems_configuration_get_stack_allocator_avoids_work_space() _Stack_Allocator_avoids_workspace |
Indicates if the task stack allocator is configured to avoid the RTEMS Workspace for this application. More... | |
#define | RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP |
This constant evaluates to TRUE, if this processor variant has hardware floating point support, otherwise to FALSE. | |
#define | rtems_configuration_get_do_zero_of_workspace() _Memory_Zero_before_use |
Indicates if the RTEMS Workspace is configured to be zeroed during system initialization for this application. More... | |
#define | rtems_configuration_get_idle_task_stack_size() _Thread_Idle_stack_size |
Gets the IDLE task stack size in bytes of this application. More... | |
#define | rtems_configuration_get_idle_task() _Thread_Idle_body |
Gets the IDLE task body of this application. More... | |
#define | rtems_configuration_get_interrupt_stack_size() ((size_t) _ISR_Stack_size_object) |
Gets the interrupt stack size in bytes of this application. More... | |
#define | rtems_configuration_get_maximum_processors() _SMP_Processor_configured_maximum |
Gets the maximum number of processors configured for this application. More... | |
#define | rtems_configuration_get_microseconds_per_tick() _Watchdog_Microseconds_per_tick |
Gets the number of microseconds per clock tick configured for this application. More... | |
#define | rtems_configuration_get_milliseconds_per_tick() ( _Watchdog_Microseconds_per_tick / 1000 ) |
Gets the number of milliseconds per clock tick configured for this application. More... | |
#define | rtems_configuration_get_nanoseconds_per_tick() _Watchdog_Nanoseconds_per_tick |
Gets the number of microseconds per clock tick configured for this application. More... | |
#define | rtems_configuration_get_number_of_initial_extensions() ((uint32_t) _User_extensions_Initial_count) |
Gets the number of initial extensions configured for this application. More... | |
#define | rtems_configuration_get_stack_allocate_for_idle_hook() _Stack_Allocator_allocate_for_idle |
Gets the task stack allocator allocate hook used to allocate the stack of each IDLE task configured for this application. More... | |
#define | rtems_configuration_get_stack_allocate_hook() _Stack_Allocator_allocate |
Gets the task stack allocator allocate hook configured for this application. More... | |
#define | rtems_configuration_get_stack_allocate_init_hook() _Stack_Allocator_initialize |
Gets the task stack allocator initialization hook configured for this application. More... | |
#define | rtems_configuration_get_stack_free_hook() _Stack_Allocator_free |
Gets the task stack allocator free hook configured for this application. More... | |
#define | rtems_configuration_get_ticks_per_timeslice() _Watchdog_Ticks_per_timeslice |
Gets the clock ticks per timeslice configured for this application. More... | |
#define | rtems_configuration_get_unified_work_area() _Workspace_Is_unified |
Indicates if the RTEMS Workspace and C Program Heap are configured to be unified for this application. More... | |
#define | rtems_configuration_get_user_extension_table() _User_extensions_Initial_extensions |
Gets the initial extensions table configured for this application. More... | |
#define | rtems_configuration_get_user_multiprocessing_table() NULL |
Gets the MPCI configuration table configured for this application. More... | |
#define | rtems_configuration_get_work_space_size() |
Gets the RTEMS Workspace size in bytes configured for this application. More... | |
#define | rtems_resource_is_unlimited(_resource) _Objects_Is_unlimited( _resource ) |
Indicates if the resource is unlimited. More... | |
#define | rtems_resource_maximum_per_allocation(_resource) _Objects_Maximum_per_allocation( _resource ) |
Gets the maximum number per allocation of a resource number. More... | |
#define | rtems_resource_unlimited(_resource) ( ( _resource ) | RTEMS_UNLIMITED_OBJECTS ) |
Augments the resource number so that it indicates an unlimited resource. More... | |
Typedefs | |
typedef Stack_Allocator_allocate | rtems_stack_allocate_hook |
A thread stack allocator allocate handler shall have this type. | |
typedef Stack_Allocator_initialize | rtems_stack_allocate_init_hook |
A task stack allocator initialization handler shall have this type. | |
typedef Stack_Allocator_free | rtems_stack_free_hook |
A task stack allocator free handler shall have this type. | |
Functions | |
uintptr_t | rtems_configuration_get_stack_space_size (void) |
Gets the configured size in bytes of the memory space used to allocate thread stacks for this application. More... | |
const char * | rtems_get_build_label (void) |
Gets the RTEMS build label. More... | |
const char * | rtems_get_copyright_notice (void) |
Gets the RTEMS copyright notice. More... | |
const char * | rtems_get_target_hash (void) |
Gets the RTEMS target hash. More... | |
const char * | rtems_get_version_string (void) |
Gets the RTEMS version string. More... | |
uint32_t | rtems_configuration_get_maximum_extensions (void) |
Gets the resource number of User Extensions Manager objects configured for this application. More... | |
This header file provides parts of the application configuration information API.