Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115928883
D47694.id146790.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D47694.id146790.diff
View Options
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -606,6 +606,16 @@
if (kdb_trap(type, dr6, frame))
return;
#endif
+ /*
+ * Most likely, EFI RT hitting INT3.
+ */
+ if ((td->td_pflags & (TDP_NOFAULTING |
+ TDP_RESETSPUR)) == (TDP_NOFAULTING |
+ TDP_RESETSPUR) &&
+ td->td_pcb->pcb_onfault != NULL) {
+ frame->tf_rip = (long)curpcb->pcb_onfault;
+ return;
+ }
break;
case T_NMI:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 1:09 PM (11 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17882004
Default Alt Text
D47694.id146790.diff (506 B)
Attached To
Mode
D47694: amd64 efi rt: handle #BP
Attached
Detach File
Event Timeline
Log In to Comment