--- Gnu-Mach/i386/i386at/immc.c 2020/09/02 04:44:34 1.1.1.2 +++ Gnu-Mach/i386/i386at/immc.c 2020/09/02 04:49:20 1.1.1.4 @@ -23,6 +23,8 @@ #ifdef ENABLE_IMMEDIATE_CONSOLE +#include + /* This is a special "feature" (read: kludge) intended for use only for kernel debugging. It enables an extremely simple console output mechanism @@ -31,7 +33,7 @@ so it can be used to debug things that happen very early before any devices are initialized. */ -int immediate_console_enable = 1; +boolean_t immediate_console_enable = TRUE; void immc_cnputc(unsigned char c) @@ -47,8 +49,8 @@ immc_cnputc(unsigned char c) } else if (c == '\n') { - bcopy(0xb8000+80*2, 0xb8000, 80*2*24); - bzero(0xb8000+80*2*24, 80*2); + memmove((void *)0xb8000, (void *)0xb8000+80*2, 80*2*24); + memset((void *)(0xb8000+80*2*24), 0, 80*2); ofs = 0; } else