summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 78a3bf6d67..bf0bd5a3fd 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -8,6 +8,22 @@ config RT_NAME_MAX
Each kernel object, such as thread, timer, semaphore etc, has a name,
the RT_NAME_MAX is the maximal size of this object name.
+config RT_USING_SMP
+ bool "Enable SMP(Symmetric multiprocessing)"
+ default n
+ help
+ This option should be selected by machines which have an SMP-
+ capable CPU.
+ The only effect of this option is to make the SMP-related
+ options available to the user for configuration.
+
+config RT_CPUS_NR
+ int "Number of CPUs"
+ default 2
+ depends on RT_USING_SMP
+ help
+ Number of CPUs in the system
+
config RT_ALIGN_SIZE
int "Alignment size for CPU architecture data access"
default 4