mmu: almost have it working

Just have major stack issues.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2020-01-21 20:05:39 +08:00
parent b48271308c
commit 3c15bd68d3
10 changed files with 59 additions and 42 deletions

6
asm.S
View File

@ -24,3 +24,9 @@ start_kmain:
add a6, a7, zero
add a7, zero, zero
mret // Return to kmain
.global read_satp
.text
read_satp:
csrr a0, satp
ret