summaryrefslogtreecommitdiff
path: root/arch/x86/machine/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/cpu.c')
-rw-r--r--arch/x86/machine/cpu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c
index a1bb93d1..1f4ac05a 100644
--- a/arch/x86/machine/cpu.c
+++ b/arch/x86/machine/cpu.c
@@ -25,6 +25,7 @@
#include <kern/stddef.h>
#include <kern/stdint.h>
#include <kern/string.h>
+#include <kern/xcall.h>
#include <machine/acpimp.h>
#include <machine/biosmem.h>
#include <machine/boot.h>
@@ -714,6 +715,16 @@ cpu_halt_intr(struct trap_frame *frame)
}
void
+cpu_xcall_intr(struct trap_frame *frame)
+{
+ (void)frame;
+
+ lapic_eoi();
+
+ xcall_intr();
+}
+
+void
cpu_thread_schedule_intr(struct trap_frame *frame)
{
(void)frame;