Skip to content

Commit 3c036db

Browse files
committed
feat: Kconfig: moving the arm64 specified configs to sub-menu
Just for better readability. Signed-off-by: Shell <[email protected]>
1 parent dafc5f7 commit 3c036db

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

libcpu/Kconfig

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
if ARCH_ARMV8 && ARCH_CPU_64BIT
2-
menu "AArch64 Architecture Configuration"
3-
config ARCH_TEXT_OFFSET
4-
hex "Text offset"
5-
default 0x200000
6-
config ARCH_RAM_OFFSET
7-
hex "RAM offset"
8-
default 0
9-
config ARCH_SECONDARY_CPU_STACK_SIZE
10-
int "Secondary CPU stack size"
11-
default 4096
12-
config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
13-
bool
14-
default y
15-
config ARCH_USING_GENERIC_CPUID
16-
bool "Using generic cpuid implemenation"
17-
select ARCH_USING_HW_THREAD_SELF
18-
default y if RT_USING_OFW
19-
default n
20-
config ARCH_HEAP_SIZE
21-
hex "Size of system heap"
22-
default 0x4000000
23-
config ARCH_INIT_PAGE_SIZE
24-
hex "Size of init page region"
25-
default 0x200000
26-
endmenu
2+
orsource "./aarch64/Kconfig"
273
endif
284

295
config ARCH_CPU_64BIT

libcpu/aarch64/Kconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
menu "AArch64 Architecture Configuration"
2+
config ARCH_TEXT_OFFSET
3+
hex "Text offset"
4+
default 0x200000
5+
config ARCH_RAM_OFFSET
6+
hex "RAM offset"
7+
default 0
8+
config ARCH_SECONDARY_CPU_STACK_SIZE
9+
int "Secondary CPU stack size"
10+
default 4096
11+
config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
12+
bool
13+
default y
14+
config ARCH_USING_GENERIC_CPUID
15+
bool "Using generic cpuid implemenation"
16+
select ARCH_USING_HW_THREAD_SELF
17+
default y if RT_USING_OFW
18+
default n
19+
config ARCH_HEAP_SIZE
20+
hex "Size of system heap"
21+
default 0x4000000
22+
config ARCH_INIT_PAGE_SIZE
23+
hex "Size of init page region"
24+
default 0x200000
25+
endmenu

0 commit comments

Comments
 (0)