.section .text.entry, "ax" .global _start .type _start, %function _start: mov x19, x0 mrs x0, mpidr_el1 and x0, x0, #0xff cbz x0, 1f 0: wfe b 0b 1: ldr x0, =__boot_stack_top mov sp, x0 ldr x0, =__bss_start ldr x1, =__bss_end 2: cmp x0, x1 b.hs 3f str xzr, [x0], #8 b 2b 3: mov x0, x19 bl hv_main 4: wfe b 4b .section .bss.stack, "aw", %nobits .align 12 __boot_stack: .skip 0x10000 __boot_stack_top: