diff options
Diffstat (limited to 'machine')
-rw-r--r-- | machine/minit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/machine/minit.c b/machine/minit.c index cf80a98..c519926 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -46,7 +46,7 @@ static void mstatus_init() // Disable paging if (supports_extension('S')) - write_csr(sptbr, 0); + write_csr(satp, 0); } // send S-mode interrupts and most exceptions straight to S-mode |