summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-15 23:11:10 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:15 +0200
commitc8a75aa6c038e6429406a57e2265d99f702b5f00 (patch)
treefcb2e6cb5a4154682bafdb7cc506614d960e8eb8 /kern
parenta2157edfb4675c418158591f3cb8664e043ed5a0 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* device/ds_routines.c: Include <machine/locore.h> * ipc/ipc_kmsg.c: Likewise. * kern/bootstrap.c: Likewise. * kern/exception.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/sched_prim.c: Likewise. * kern/time_stamp.c: Likewise. * vm/vm_kern.c: Likewise.
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>