summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/bootstrap.c1
-rw-r--r--kern/exception.c1
-rw-r--r--kern/ipc_mig.c1
-rw-r--r--kern/sched_prim.c3
-rw-r--r--kern/time_stamp.c1
5 files changed, 6 insertions, 1 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index ad501d6..83c6942 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -35,6 +35,7 @@
#include <mach/port.h>
#include <mach/message.h>
+#include <machine/locore.h>
#include <machine/vm_param.h>
#include <ipc/ipc_port.h>
#include <kern/debug.h>
diff --git a/kern/exception.c b/kern/exception.c
index 2727d56..830d273 100644
--- a/kern/exception.c
+++ b/kern/exception.c
@@ -29,6 +29,7 @@
#include <mach/message.h>
#include <mach/port.h>
#include <mach/mig_errors.h>
+#include <machine/locore.h>
#include <ipc/port.h>
#include <ipc/ipc_entry.h>
#include <ipc/ipc_object.h>
diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c
index 3adfdeb..72750ef 100644
--- a/kern/ipc_mig.c
+++ b/kern/ipc_mig.c
@@ -28,6 +28,7 @@
#include <mach/port.h>
#include <mach/message.h>
#include <mach/thread_status.h>
+#include <machine/locore.h>
#include <kern/ast.h>
#include <kern/debug.h>
#include <kern/ipc_tt.h>
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index 2596fa1..70e253d 100644
--- a/kern/sched_prim.c
+++ b/kern/sched_prim.c
@@ -34,6 +34,8 @@
#include <kern/printf.h>
#include <mach/machine.h>
+#include <machine/locore.h>
+#include <machine/machspl.h> /* For def'n of splsched() */
#include <kern/ast.h>
#include <kern/counters.h>
#include <kern/cpu_number.h>
@@ -52,7 +54,6 @@
#include <vm/pmap.h>
#include <vm/vm_kern.h>
#include <vm/vm_map.h>
-#include <machine/machspl.h> /* For def'n of splsched() */
#if MACH_FIXPRI
#include <mach/policy.h>
diff --git a/kern/time_stamp.c b/kern/time_stamp.c
index fdb02fc..22885b1 100644
--- a/kern/time_stamp.c
+++ b/kern/time_stamp.c
@@ -25,6 +25,7 @@
*/
#include <mach/std_types.h>
+#include <machine/locore.h>
#include <sys/time.h>
#include <kern/time_stamp.h>