--- Gnu-Mach/i386/i386at/cons_conf.c 2020/09/02 04:36:58 1.1.1.1 +++ Gnu-Mach/i386/i386at/cons_conf.c 2020/09/02 04:46:52 1.1.1.2 @@ -28,23 +28,29 @@ * known algorithm unless we see a pressing need otherwise. */ #include -#include -#include -#include +#include -extern int kdcnprobe(), kdcninit(), kdcngetc(), kdcnputc(); -#if NCOM > 0 && RCLINE >= 0 -extern int comcnprobe(), comcninit(), comcngetc(), comcnputc(); +#ifdef MACH_HYP +#include +#else /* MACH_HYP */ +#include "kd.h" +#if NCOM > 0 +#include "com.h" #endif +#endif /* MACH_HYP */ /* * The rest of the consdev fields are filled in by the respective * cnprobe routine. */ struct consdev constab[] = { +#ifdef MACH_HYP + {"hyp", hypcnprobe, hypcninit, hypcngetc, hypcnputc}, +#else /* MACH_HYP */ {"kd", kdcnprobe, kdcninit, kdcngetc, kdcnputc}, -#if NCOM > 0 && RCLINE >= 0 && 1 +#if NCOM > 0 {"com", comcnprobe, comcninit, comcngetc, comcnputc}, #endif +#endif /* MACH_HYP */ {0} };