Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135128698
D30006.id90147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30006.id90147.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);
+driver_filter_t xen_intr_handle_upcall;
/**
* 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
@@ -491,9 +491,11 @@
*
* \param trap_frame The trap frame context for the current interrupt.
*/
-void
-xen_intr_handle_upcall(struct trapframe *trap_frame)
+int
+xen_intr_handle_upcall(void *_trap_frame)
{
+ struct trapframe *trap_frame = _trap_frame;
+
u_int l1i, l2i, port, cpu;
u_long masked_l1, masked_l2;
struct xenisrc *isrc;
@@ -594,10 +596,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
Fri, Nov 7, 5:58 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25007070
Default Alt Text
D30006.id90147.diff (1 KB)
Attached To
Mode
D30006: xen/intr: adjust xen_intr_handle_upcall() to match interrupt filter
Attached
Detach File
Event Timeline
Log In to Comment