diff options
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 |