[coreboot-gerrit] Change in coreboot[master]: arch/riscv: Delegate the page fault exceptions
Jonathan Neuschäfer (Code Review)
gerrit at coreboot.org
Thu Feb 15 14:28:58 CET 2018
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/23774
Change subject: arch/riscv: Delegate the page fault exceptions
......................................................................
arch/riscv: Delegate the page fault exceptions
These exceptions were new in the Privileged Architecture spec 1.10.
We need to delegate them to S-mode.
Change-Id: Iec15afe9656107b9aeea1677c5b8dc7d654fa746
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
M src/arch/riscv/virtual_memory.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/23774/1
diff --git a/src/arch/riscv/virtual_memory.c b/src/arch/riscv/virtual_memory.c
index 3cc2cc9..3bee868 100644
--- a/src/arch/riscv/virtual_memory.c
+++ b/src/arch/riscv/virtual_memory.c
@@ -32,6 +32,9 @@
| (1 << CAUSE_LOAD_ACCESS)
| (1 << CAUSE_STORE_ACCESS)
| (1 << CAUSE_USER_ECALL)
+ | (1 << CAUSE_FETCH_PAGE_FAULT)
+ | (1 << CAUSE_LOAD_PAGE_FAULT)
+ | (1 << CAUSE_STORE_PAGE_FAULT)
;
void mstatus_init(void)
--
To view, visit https://review.coreboot.org/23774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec15afe9656107b9aeea1677c5b8dc7d654fa746
Gerrit-Change-Number: 23774
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180215/e50449ca/attachment-0001.html>
More information about the coreboot-gerrit
mailing list