diff options
| author | Shell <[email protected]> | 2023-10-20 13:27:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-20 13:27:38 +0800 |
| commit | 07b23ecbb1b1845bb166bc35368493a26ab8be82 (patch) | |
| tree | 8dc7fc908383810dcb21cdbbe035b61f079b52a1 /libcpu/aarch64/common | |
| parent | 552b5406b5a6f041a63710c60b3da9fa82e3ef69 (diff) | |
[libcpu] fix symbol of kernel entry point (#8159)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/aarch64/common')
| -rw-r--r-- | libcpu/aarch64/common/mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/aarch64/common/mmu.c b/libcpu/aarch64/common/mmu.c index 1426dc7fef..82bdce6820 100644 --- a/libcpu/aarch64/common/mmu.c +++ b/libcpu/aarch64/common/mmu.c @@ -803,8 +803,8 @@ void rt_hw_mem_setup_early(unsigned long *tbl0, unsigned long *tbl1, #ifdef RT_USING_SMART unsigned long va = KERNEL_VADDR_START; #else - extern unsigned char __start; - unsigned long va = (unsigned long) &__start; + extern unsigned char _start; + unsigned long va = (unsigned long) &_start; va = RT_ALIGN_DOWN(va, 0x200000); #endif |
