diff options
Diffstat (limited to 'isa')
-rw-r--r-- | isa/rv64ssvnapot/napot.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/rv64ssvnapot/napot.S b/isa/rv64ssvnapot/napot.S index 3d62e6c..92d2b49 100644 --- a/isa/rv64ssvnapot/napot.S +++ b/isa/rv64ssvnapot/napot.S @@ -58,7 +58,7 @@ RVTEST_CODE_BEGIN la a0, page_table srl a0, a0, 12 sll a0, a0, PTE_PPN_SHIFT - li a1, PTE_V | PTE_U + li a1, PTE_V or a0, a0, a1 # Level 1 PTE address @@ -78,7 +78,7 @@ RVTEST_CODE_BEGIN add a0, a0, a1 srl a0, a0, 12 sll a0, a0, PTE_PPN_SHIFT - li a1, PTE_V | PTE_U + li a1, PTE_V or a0, a0, a1 # Level 2 PTE address |