diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-24 16:38:46 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-24 16:38:46 -0700 |
commit | aedc6165cc28a4a74267eefd5da1862981f5b40f (patch) | |
tree | 13c8151d5edccac8745f8ab218107845c902c253 /pk/mentry.S | |
parent | f6659f1c764ad5d3d64743567914608ec3ed8b06 (diff) | |
download | riscv-pk-aedc6165cc28a4a74267eefd5da1862981f5b40f.zip riscv-pk-aedc6165cc28a4a74267eefd5da1862981f5b40f.tar.gz riscv-pk-aedc6165cc28a4a74267eefd5da1862981f5b40f.tar.bz2 |
New virtual memory implementation (Sv39)
Diffstat (limited to 'pk/mentry.S')
-rw-r--r-- | pk/mentry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/mentry.S b/pk/mentry.S index 563da41..cfbb6a6 100644 --- a/pk/mentry.S +++ b/pk/mentry.S @@ -116,7 +116,7 @@ mentry: .align 6 # Entry point for power-on reset. # TODO per-hart stacks - la sp, _end + RISCV_PGSIZE + 1 + la sp, _end + 2*RISCV_PGSIZE - 1 li t0, -RISCV_PGSIZE and sp, sp, t0 j machine_init |