summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ipc/mach_msg.c4
-rw-r--r--kern/exception.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index b83738b..78247a4 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -46,6 +46,7 @@
#include <kern/printf.h>
#include <kern/sched_prim.h>
#include <kern/ipc_sched.h>
+#include <kern/exception.h>
#include <vm/vm_map.h>
#include <ipc/ipc_kmsg.h>
#include <ipc/ipc_marequest.h>
@@ -61,9 +62,6 @@
#include <machine/locore.h>
#include <machine/pcb.h>
-extern void exception_raise_continue();
-extern void exception_raise_continue_fast();
-
/*
* Routine: mach_msg_send
* Purpose:
diff --git a/kern/exception.h b/kern/exception.h
index 8d4d79b..55902dd 100644
--- a/kern/exception.h
+++ b/kern/exception.h
@@ -19,6 +19,9 @@
#ifndef _KERN_EXCEPTION_H_
#define _KERN_EXCEPTION_H_
+#include <ipc/ipc_types.h>
+#include <ipc/ipc_kmsg.h>
+
extern void
exception(
integer_t _exception,