thermosphere: sysreg stuff, continued

This commit is contained in:
TuxSH
2019-07-26 23:06:34 +02:00
parent 53785b2281
commit df38a00b86
4 changed files with 93 additions and 18 deletions

View File

@@ -62,9 +62,9 @@
mov x0, sp
msr sp_el0, x0 // save stack pointer for the crash
bic x0, x0, #0xFF
bic x0, x0, #0x700
bic x0, x0, #0x300
add x0, x0, #0x1000
add x0, x0, #0x800
add x0, x0, #0x400
mov sp, x0
mrs x0, elr_el1
.endm