diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-06 12:13:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-07 15:08:45 +0100 |
commit | e39fa07cecb00850f4f5a1ff5a53ca06edd6f50b (patch) | |
tree | 89cd3ce8935c73fb2018cf285e457c94e314deaa | |
parent | sapi: Use rtems_configuration_get_work_space_size (diff) | |
download | rtems-e39fa07cecb00850f4f5a1ff5a53ca06edd6f50b.tar.bz2 |
sapi: Delete unused macros
Delete rtems_configuration_get_table(),
rtems_configuration_set_stack_space_size(),
rtems_configuration_set_work_space_size(), and
rtems_configuration_set_microseconds_per_tick().
-rw-r--r-- | cpukit/sapi/include/rtems/config.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h index 494effce95..6426121bf4 100644 --- a/cpukit/sapi/include/rtems/config.h +++ b/cpukit/sapi/include/rtems/config.h @@ -247,9 +247,6 @@ extern rtems_configuration_table Configuration; * or the exact format of the configuration table. */ -#define rtems_configuration_get_table() \ - (&Configuration) - #define rtems_configuration_get_unified_work_area() \ (Configuration.unified_work_area) @@ -259,17 +256,11 @@ extern rtems_configuration_table Configuration; #define rtems_configuration_get_stack_space_size() \ (Configuration.stack_space_size) -#define rtems_configuration_set_stack_space_size( _size ) \ - do { Configuration.stack_space_size = (_size); } while (0) - #define rtems_configuration_get_work_space_size() \ (Configuration.work_space_size + \ (rtems_configuration_get_stack_allocator_avoids_work_space() ? \ 0 : rtems_configuration_get_stack_space_size())) -#define rtems_configuration_set_work_space_size( _size ) \ - do { Configuration.work_space_size = (_size); } while (0) - #define rtems_configuration_get_maximum_extensions() \ (Configuration.maximum_extensions) @@ -279,12 +270,6 @@ extern rtems_configuration_table Configuration; (Configuration.microseconds_per_tick / 1000) #define rtems_configuration_get_nanoseconds_per_tick() \ (Configuration.nanoseconds_per_tick) -#define rtems_configuration_set_microseconds_per_tick( _us ) \ - do { \ - Configuration.microseconds_per_tick = (_us); \ - Configuration.nanoseconds_per_tick = \ - 1000 * Configuration.microseconds_per_tick; \ - } while (0) #define rtems_configuration_get_ticks_per_timeslice() \ (Configuration.ticks_per_timeslice) |