blob: 0e6a29e80aa8da9189a3b2539703f8c9bf1c73da [file] [log] [blame]
.section .init.image_entry, "ax"
.global image_entry
image_entry:
/* Prepare the stack. */
adr x30, kstack + 4096
mov sp, x30
/* Call into C code. */
bl kmain
/* If the VM returns, shutdown the system. */
bl shutdown
/* Loop forever waiting for interrupts. */
0: wfi
b 0b