/* cons_init - initializes the console devices */ void cons_init(void) { cga_init(); serial_init(); kbd_init(); if (!serial_exists) { kprintf("serial port does not exist!!\n"); } }
// initialize the console devices void console_initialize(void) { cga_init(); kbd_init(); serial_init(); if (!serial_exists) cprintf("Serial port does not exist!\n"); }