thermosphere: start exception handling

This commit is contained in:
TuxSH
2019-07-22 01:04:53 +02:00
parent 8e73bdef4c
commit 114cd464e8
7 changed files with 219 additions and 87 deletions

View File

@@ -32,8 +32,9 @@ g_kernelEntrypoint:
.quad 0
start:
// Disable interrupts
// Disable interrupts, select sp_el2
msr daifset, 0b1111
msr spsel, #1
// Save arg, load entrypoint & spsr
mov x19, x0