Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169790817
D59281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
808 B
Referenced Files
None
Subscribers
None
D59281.diff
View Options
diff --git a/sys/cddl/dev/dtrace/arm/dtrace_subr.c b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
--- a/sys/cddl/dev/dtrace/arm/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
@@ -166,7 +166,7 @@
return (current_time.tv_sec * 1000000000UL + current_time.tv_nsec);
}
-/* Function to handle DTrace traps during probes. See amd64/amd64/trap.c */
+/* Function to handle DTrace traps during probes. See arm/arm/trap-v6.c */
int
dtrace_trap(struct trapframe *frame, u_int type)
{
@@ -187,8 +187,10 @@
*/
switch (type) {
/* Page fault. */
- case FAULT_ALIGN:
+ case FAULT_TRAN_L1:
+ case FAULT_TRAN_L2:
/* Flag a bad address. */
+ /* XXX FAR is missing from the trapframe */
cpu_core[curcpu].cpuc_dtrace_flags |= CPU_DTRACE_BADADDR;
cpu_core[curcpu].cpuc_dtrace_illval = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 2:09 PM (6 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37842189
Default Alt Text
D59281.diff (808 B)
Attached To
Mode
D59281: dtrace/arm: Really trap translation faults
Attached
Detach File
Event Timeline
Log In to Comment