diff options
| author | Shell <[email protected]> | 2024-10-14 11:43:19 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-02-25 11:26:30 +0800 |
| commit | d9b36c8d181571922fd339ff2749c5eae62c6704 (patch) | |
| tree | 8fb7cf0a6dff526897abb36a2f286c314441047d /components | |
| parent | 60f7b3affc716b8ba417a088475b1007fbe8af6d (diff) | |
feat: improve Kconfig structure on MM
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'components')
| -rw-r--r-- | components/Kconfig | 5 | ||||
| -rw-r--r-- | components/mm/Kconfig | 18 |
2 files changed, 16 insertions, 7 deletions
diff --git a/components/Kconfig b/components/Kconfig index c9de0f55a0..1427e1e709 100644 --- a/components/Kconfig +++ b/components/Kconfig @@ -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" diff --git a/components/mm/Kconfig b/components/mm/Kconfig index 7b2a15ce76..5e18939538 100644 --- a/components/mm/Kconfig +++ b/components/mm/Kconfig @@ -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 |
