Fix bugs required to successfully hand off to kernel

This commit is contained in:
Michael Scire
2018-03-03 06:15:46 -08:00
parent 93864f2289
commit 48e8d9c7de
3 changed files with 3 additions and 5 deletions

View File

@@ -214,7 +214,7 @@ __jump_to_lower_el:
msr elr_el3, x1
mov w1, #(0b1111 << 6 | 1) /* DAIF set and SP = SP_ELx*/
orr w1, w2, w2, lsl#2
orr w1, w1, w2, lsl#2
msr spsr_el3, x1
bl __set_exception_entry_stack_pointer