16 lines
225 B
ArmAsm
16 lines
225 B
ArmAsm
.section .text.boot
|
|
.global _entry
|
|
.type _entry, %function
|
|
_entry:
|
|
adr x1, bsp_stack_top
|
|
mov sp, x1
|
|
|
|
bl kernel_main
|
|
b .
|
|
.size _entry, . - _entry
|
|
|
|
.section .bss
|
|
bsp_stack_bottom:
|
|
.skip 65536
|
|
bsp_stack_top:
|