X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/060df5ea7c632b1ac8cc8aac1fb59758165c2084..6d2010ae8f7a6078e10b361c6962983bab233e0f:/osfmk/console/serial_protos.h diff --git a/osfmk/console/serial_protos.h b/osfmk/console/serial_protos.h index 90b691f1d..99da75451 100644 --- a/osfmk/console/serial_protos.h +++ b/osfmk/console/serial_protos.h @@ -46,16 +46,17 @@ extern unsigned int disable_serial_output; int _serial_getc(int unit, int line, boolean_t wait, boolean_t raw); -boolean_t console_is_serial(void); -int switch_to_serial_console(void); -int switch_to_video_console(void); -void switch_to_old_console(int old_console); - struct console_ops { void (*putc)(int, int, int); int (*getc)(int, int, boolean_t, boolean_t); }; +boolean_t console_is_serial(void); +int switch_to_serial_console(void); +int switch_to_video_console(void); +void switch_to_old_console(int old_console); +void console_set_serial_ops( struct console_ops *newops ); + #define SERIAL_CONS_OPS 0 #define VC_CONS_OPS 1