fix: preserve bootinfo pointer in kernel _start
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
.section .text.boot, "ax"
|
||||
.global _start
|
||||
_start:
|
||||
sub sp, sp, #16
|
||||
str x0, [sp]
|
||||
bl ExceptionsVectorsInit
|
||||
ldr x0, [sp]
|
||||
add sp, sp, #16
|
||||
bl KernelMain
|
||||
b .
|
||||
Reference in New Issue
Block a user