feat: improve Kconfig structure on MM

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2024-10-14 11:43:19 +08:00
committed by Rbb666
parent 60f7b3affc
commit d9b36c8d18
3 changed files with 16 additions and 12 deletions
+4 -1
View File
@@ -40,9 +40,12 @@ rsource "utilities/Kconfig"
rsource "vbus/Kconfig" rsource "vbus/Kconfig"
endif endif
if ARCH_MM_MMU
rsource "mm/Kconfig"
endif
if RT_USING_SMART if RT_USING_SMART
rsource "lwp/Kconfig" rsource "lwp/Kconfig"
rsource "mm/Kconfig"
endif endif
rsource "legacy/Kconfig" rsource "legacy/Kconfig"
+9 -3
View File
@@ -35,12 +35,18 @@ config RT_INIT_MEMORY_REGIONS
memory into different types of regions. This variable specifies memory into different types of regions. This variable specifies
the maximum number of regions supported by the system. the maximum number of regions supported by the system.
config RT_DEBUGGING_ALIASING menu "Debugging"
config RT_DEBUGGING_ALIASING
bool "Using aliasing paging debugger" bool "Using aliasing paging debugger"
default n default n
config RT_DEBUGGING_PAGE_POISON config RT_DEBUGING_PAGE_LEAK
bool "Using page poisoner to detect illegal usage" bool "Using page leaking tracer"
default n default n
config RT_DEBUGGING_PAGE_POISON
bool "Using page poisoner to detect illegal usage"
default n
endmenu
endmenu endmenu
-5
View File
@@ -224,11 +224,6 @@ menuconfig RT_USING_DEBUG
bool "Enable debugging of components automatic initialization" bool "Enable debugging of components automatic initialization"
default n default n
config RT_DEBUGING_PAGE_LEAK
bool "Enable page leaking tracer"
depends on ARCH_MM_MMU
default n
config RT_DEBUGING_SPINLOCK config RT_DEBUGING_SPINLOCK
bool "Enable spinlock debugging" bool "Enable spinlock debugging"
depends on RT_USING_SMP depends on RT_USING_SMP