diff options
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/com.c | 2 | ||||
-rw-r--r-- | i386/i386at/mem.c | 1 |
2 files changed, 2 insertions, 1 deletions
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 */ |