summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorbernard <[email protected]>2022-12-21 00:27:47 +0800
committerguo <[email protected]>2022-12-26 14:24:26 +0800
commit401ad164498cadfb5db89ddfeecac478a4f70d58 (patch)
tree4508084aba78ceaf95aae79f99f723d764a42ac9 /libcpu
parentfa7c1db76874dfb97bc3673826d716aa29eefa6b (diff)
[bsp][smart] fix virt64 aarch64 link script for smart.
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcpu/Kconfig b/libcpu/Kconfig
index daaad9af90..afd07843d2 100644
--- a/libcpu/Kconfig
+++ b/libcpu/Kconfig
@@ -89,8 +89,9 @@ config KERNEL_VADDR_START
config PV_OFFSET
hex "The offset of kernel physical address and virtural address"
- default 0xa0000000 if ARCH_ARM
- default 0x0 if ARCH_RISCV
+ default 0x1000040000000 if ARCH_ARMV8
+ default 0xa0000000 if ARCH_ARM
+ default 0x0 if ARCH_RISCV
depends on ARCH_MM_MMU
config RT_IOREMAP_LATE