From 01dd59c0b60fded47f60da4be855e3ccaf792d7d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 25 Aug 2011 15:22:29 +0200 Subject: Add prototypes for locore functions * i386/i386at/model_dep.c (discover_x86_cpu_type): Move ... * i386/i386/locore.h: ... here. (inst_fetch, cpu_shutdown): New prototypes. * i386/i386at/kd.c: Include . --- i386/i386at/kd.c | 1 + i386/i386at/model_dep.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'i386/i386at') diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index e4ac832..af5b792 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -85,6 +85,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include /* for struct uio (!) */ #include +#include #include #include #include diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 04b8228..4e7093c 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -128,8 +128,6 @@ extern void setup_main(); void halt_all_cpus (boolean_t reboot) __attribute__ ((noreturn)); void halt_cpu (void) __attribute__ ((noreturn)); -int discover_x86_cpu_type (void); - void inittodr(); /* forward */ int rebootflag = 0; /* exported to kdintr */ -- cgit v1.2.3