Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148608091
D26544.id77478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
418 B
Referenced Files
None
Subscribers
None
D26544.id77478.diff
View Options
Index: sys/riscv/riscv/trap.c
===================================================================
--- sys/riscv/riscv/trap.c
+++ sys/riscv/riscv/trap.c
@@ -283,6 +283,9 @@
case EXCP_FAULT_LOAD:
case EXCP_FAULT_STORE:
case EXCP_FAULT_FETCH:
+ dump_regs(frame);
+ panic("PMP violation at 0x%016lx\n", frame->tf_sepc);
+ break;
case EXCP_STORE_PAGE_FAULT:
case EXCP_LOAD_PAGE_FAULT:
data_abort(frame, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 20, 2:59 AM (11 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29994028
Default Alt Text
D26544.id77478.diff (418 B)
Attached To
Mode
D26544: riscv: Panic on PMP errors
Attached
Detach File
Event Timeline
Log In to Comment