Trying to setup the mmu

This commit is contained in:
Scott Shawcroft
2021-09-22 15:19:02 -07:00
parent 2499c9382d
commit 829f92d00f
6 changed files with 132 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ _start:
adr x0, vectors // load VBAR_EL1 with virtual
// msr vbar_el3, x0 // vector table address
msr vbar_el1, x0 // vector table address
// msr vbar_el2, x0 // vector table address
msr vbar_el2, x0 // vector table address
isb
// Clean the BSS section
@@ -45,6 +45,8 @@ irq_entry
mov x0, #\type
mrs x1, esr_el1
mrs x2, elr_el1
mrs x3, esr_el2
mrs x4, elr_el2
b err_hang
.endm