Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159332600
D30006.id92836.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
981 B
Referenced Files
None
Subscribers
None
D30006.id92836.diff
View Options
Index: sys/xen/xen_intr.h
===================================================================
--- sys/xen/xen_intr.h
+++ sys/xen/xen_intr.h
@@ -38,7 +38,7 @@
/** Registered Xen interrupt callback handle. */
typedef void * xen_intr_handle_t;
-void xen_intr_handle_upcall(struct trapframe *trap_frame);
+int xen_intr_handle_upcall(struct trapframe *trap_frame);
/**
* Associate an already allocated local event channel port an interrupt
Index: sys/xen/xen_intr.c
===================================================================
--- sys/xen/xen_intr.c
+++ sys/xen/xen_intr.c
@@ -488,7 +488,7 @@
*
* \param trap_frame The trap frame context for the current interrupt.
*/
-void
+int
xen_intr_handle_upcall(struct trapframe *trap_frame)
{
u_int l1i, l2i, port, cpu;
@@ -591,10 +591,14 @@
}
}
+#if defined(__amd64__) || defined(__i386__)
if (xen_evtchn_needs_ack)
lapic_eoi();
+#endif
critical_exit();
+
+ return (FILTER_HANDLED);
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 13, 11:00 PM (10 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33935638
Default Alt Text
D30006.id92836.diff (981 B)
Attached To
Mode
D30006: xen/intr: adjust xen_intr_handle_upcall() to match interrupt filter
Attached
Detach File
Event Timeline
Log In to Comment