Skip to content

Commit 0f0c1c1

Browse files
binnochihminchao
authored andcommitted
zicfiss: fix missed throw to store access fault of shadow stack page
1 parent 6b89a49 commit 0f0c1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/mmu.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ reg_t mmu_t::walk(mem_access_info_t access_info)
496496

497497
if (ss_access) {
498498
if (vm.levels == 0)
499-
trap_store_access_fault(virt, addr, 0, 0);
499+
throw trap_store_access_fault(virt, addr, 0, 0);
500500
type = STORE;
501501
}
502502

0 commit comments

Comments
 (0)