-extern boolean_t console_is_serial(void);
-extern int switch_to_serial_console(void);
-extern int switch_to_video_console(void);
-extern void switch_to_old_console(int old_console);
+int _serial_getc(int unit, int line, boolean_t wait, boolean_t raw);