diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-14 13:57:20 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-25 07:15:19 +0100 |
commit | 567455b67ae820b58b5749d1b059d0ccfc4d0e95 (patch) | |
tree | 98d68e1bdf711f4ffc208653d8d96e5d74ff4827 /cpukit/include/rtems/confdefs.h | |
parent | config: Add _Workspace_Is_unified (diff) | |
download | rtems-567455b67ae820b58b5749d1b059d0ccfc4d0e95.tar.bz2 |
config: Add _SMP_Processor_configure_maximum
Move the processor maximum configuration constant out of the
configuration table.
Update #3875.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r-- | cpukit/include/rtems/confdefs.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 33b1aa67d4..f8a4eb23cf 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -2639,16 +2639,18 @@ struct _reent *__getreent(void) const rtems_configuration_table Configuration = { #ifdef RTEMS_SMP #ifdef _CONFIGURE_SMP_APPLICATION - true, + true #else - false, + false #endif #endif - #ifdef RTEMS_SMP - _CONFIGURE_MAXIMUM_PROCESSORS, - #endif }; + #ifdef RTEMS_SMP + const uint32_t _SMP_Processor_configured_maximum = + _CONFIGURE_MAXIMUM_PROCESSORS; + #endif + const uintptr_t _Workspace_Size = CONFIGURE_EXECUTIVE_RAM_SIZE; #ifdef CONFIGURE_UNIFIED_WORK_AREAS |