Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148482326
D26686.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
480 B
Referenced Files
None
Subscribers
None
D26686.diff
View Options
Index: head/sys/riscv/riscv/trap.c
===================================================================
--- head/sys/riscv/riscv/trap.c
+++ head/sys/riscv/riscv/trap.c
@@ -220,8 +220,7 @@
va = trunc_page(stval);
- if ((frame->tf_scause == EXCP_FAULT_STORE) ||
- (frame->tf_scause == EXCP_STORE_PAGE_FAULT)) {
+ if (frame->tf_scause == EXCP_STORE_PAGE_FAULT) {
ftype = VM_PROT_WRITE;
} else if (frame->tf_scause == EXCP_INST_PAGE_FAULT) {
ftype = VM_PROT_EXECUTE;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 4:27 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29946234
Default Alt Text
D26686.diff (480 B)
Attached To
Mode
D26686: riscv: Remove outdated condition in page_fault_handler
Attached
Detach File
Event Timeline
Log In to Comment