mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 04:04:15 +08:00
[bsp][phytium]适配rt-thread5.0.0 版本 (#7441)
Co-authored-by: 朱耿宇 <zhugengyu@phytium.com.cn>
This commit is contained in:
@@ -120,7 +120,7 @@ __start:
|
||||
adr x1, __start /* install early page table */
|
||||
ldr x0, =~0x1fffff
|
||||
and x0, x1, x0
|
||||
add x1, x0, #0x1000
|
||||
add x1, x0, #0x1000
|
||||
|
||||
msr ttbr0_el1, x0
|
||||
msr ttbr1_el1, x1
|
||||
@@ -130,7 +130,10 @@ __start:
|
||||
ldr x2, =__start
|
||||
GET_PHY x3, __start
|
||||
sub x3, x3, x2
|
||||
#else
|
||||
mov x3,0
|
||||
#endif
|
||||
|
||||
ldr x2, =0x40000000 /* map 1G memory for kernel space */
|
||||
bl rt_hw_mem_setup_early
|
||||
|
||||
|
||||
Reference in New Issue
Block a user