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

View File

@ -40,9 +40,12 @@ rsource "utilities/Kconfig"
rsource "vbus/Kconfig"
endif
if ARCH_MM_MMU
rsource "mm/Kconfig"
endif
if RT_USING_SMART
rsource "lwp/Kconfig"
rsource "mm/Kconfig"
endif
rsource "legacy/Kconfig"

View File

@ -35,12 +35,18 @@ config RT_INIT_MEMORY_REGIONS
memory into different types of regions. This variable specifies
the maximum number of regions supported by the system.
config RT_DEBUGGING_ALIASING
bool "Using aliasing paging debugger"
default n
menu "Debugging"
config RT_DEBUGGING_ALIASING
bool "Using aliasing paging debugger"
default n
config RT_DEBUGGING_PAGE_POISON
bool "Using page poisoner to detect illegal usage"
default n
config RT_DEBUGING_PAGE_LEAK
bool "Using page leaking tracer"
default n
config RT_DEBUGGING_PAGE_POISON
bool "Using page poisoner to detect illegal usage"
default n
endmenu
endmenu

View File

@ -224,11 +224,6 @@ menuconfig RT_USING_DEBUG
bool "Enable debugging of components automatic initialization"
default n
config RT_DEBUGING_PAGE_LEAK
bool "Enable page leaking tracer"
depends on ARCH_MM_MMU
default n
config RT_DEBUGING_SPINLOCK
bool "Enable spinlock debugging"
depends on RT_USING_SMP