aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/debug_i386.c1
-rw-r--r--i386/i386at/com.c2
-rw-r--r--i386/i386at/mem.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/i386/i386/debug_i386.c b/i386/i386/debug_i386.c
index 233caa72..4b8804cd 100644
--- a/i386/i386/debug_i386.c
+++ b/i386/i386/debug_i386.c
@@ -26,6 +26,7 @@
#include "thread.h"
#include "trap.h"
#include "debug.h"
+#include "spl.h"
void dump_ss(const struct i386_saved_state *st)
{
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 1f305b23..d5842d8f 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -191,7 +191,7 @@ comcnprobe(struct consdev *cp)
if (strncmp(kernel_cmdline, CONSOLE_PARAMETER + 1,
strlen(CONSOLE_PARAMETER) - 1) == 0)
- mach_atoi(kernel_cmdline + strlen(CONSOLE_PARAMETER) - 1,
+ mach_atoi((u_char*)kernel_cmdline + strlen(CONSOLE_PARAMETER) - 1,
&rcline);
maj = 0;
diff --git a/i386/i386at/mem.c b/i386/i386at/mem.c
index 07acc169..ac0fd301 100644
--- a/i386/i386at/mem.c
+++ b/i386/i386at/mem.c
@@ -26,6 +26,7 @@
#include <device/io_req.h>
#include <i386/model_dep.h>
+#include <i386at/biosmem.h>
/* This provides access to any memory that is not main RAM */