summaryrefslogtreecommitdiff
path: root/libcpu/aarch64
diff options
context:
space:
mode:
authorShell <[email protected]>2024-11-19 16:18:00 +0800
committerMeco Man <[email protected]>2024-11-24 13:44:34 -0500
commitb7520e262b6b07e72bd18f4280156e324edac11b (patch)
treea36a601985a4bdf21bfda4fc3f7a5111b75b5240 /libcpu/aarch64
parentfe2b124345f67d25afc333f2a012ae3d1534e5d6 (diff)
feat: Kconfig: moving the arm64 specified configs to sub-menu
Just for better readability. Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/aarch64')
-rw-r--r--libcpu/aarch64/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/libcpu/aarch64/Kconfig b/libcpu/aarch64/Kconfig
new file mode 100644
index 0000000000..5429751d3a
--- /dev/null
+++ b/libcpu/aarch64/Kconfig
@@ -0,0 +1,25 @@
+menu "AArch64 Architecture Configuration"
+ config ARCH_TEXT_OFFSET
+ hex "Text offset"
+ default 0x200000
+ config ARCH_RAM_OFFSET
+ hex "RAM offset"
+ default 0
+ config ARCH_SECONDARY_CPU_STACK_SIZE
+ int "Secondary CPU stack size"
+ default 4096
+ config ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
+ bool
+ default y
+ config ARCH_USING_GENERIC_CPUID
+ bool "Using generic cpuid implemenation"
+ select ARCH_USING_HW_THREAD_SELF
+ default y if RT_USING_OFW
+ default n
+ config ARCH_HEAP_SIZE
+ hex "Size of system heap"
+ default 0x4000000
+ config ARCH_INIT_PAGE_SIZE
+ hex "Size of init page region"
+ default 0x200000
+endmenu