--- Gnu-Mach/i386/i386at/immc.c 2020/09/02 04:36:58 1.1 +++ Gnu-Mach/i386/i386at/immc.c 2020/09/02 04:46:51 1.1.1.3 @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 1995-1994 The University of Utah and * the Computer Systems Laboratory at the University of Utah (CSL). * All rights reserved. @@ -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 @@ -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(0xb8000, 0xb8000+80*2, 80*2*24); + memset(0xb8000+80*2*24, 0, 80*2); ofs = 0; } else @@ -73,5 +75,4 @@ int immc_cnmaygetc(void) return -1; } -#endif ENABLE_IMMEDIATE_CONSOLE - +#endif /* ENABLE_IMMEDIATE_CONSOLE */