diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-14 14:04:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-25 07:15:19 +0100 |
commit | ba46b9368eaf57e8c2361c215ceb0d6335ce80fe (patch) | |
tree | 5444029488f319e3591fbbdd0257c66c3245d540 /cpukit/include/rtems/confdefs.h | |
parent | config: Add _SMP_Processor_configure_maximum (diff) | |
download | rtems-ba46b9368eaf57e8c2361c215ceb0d6335ce80fe.tar.bz2 |
config: Add _SMP_Is_enabled
Move the is SMP enabled configuration constant out of the
configuration table.
Since this was the last configuration constant in
rtems_configuration_table, remove this type.
Update #3875.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r-- | cpukit/include/rtems/confdefs.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index f8a4eb23cf..3741c9a706 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -2633,20 +2633,14 @@ struct _reent *__getreent(void) #error "CONFIGURE_TASK_STACK_ALLOCATOR and CONFIGURE_TASK_STACK_DEALLOCATOR must be both defined or both undefined" #endif - /** - * This is the primary Configuration Table for this application. - */ - const rtems_configuration_table Configuration = { - #ifdef RTEMS_SMP + #ifdef RTEMS_SMP + const bool _SMP_Is_enabled = #ifdef _CONFIGURE_SMP_APPLICATION - true + true; #else - false + false; #endif - #endif - }; - #ifdef RTEMS_SMP const uint32_t _SMP_Processor_configured_maximum = _CONFIGURE_MAXIMUM_PROCESSORS; #endif |