diff options
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -200,8 +200,6 @@ void qemu_chr_add_read_handler(CharDriverState *s, IOReadHandler *fd_read, void *opaque); void qemu_chr_add_event_handler(CharDriverState *s, IOEventHandler *chr_event); -CharDriverState *serial_hd; - /* consoles */ typedef struct DisplayState DisplayState; @@ -214,6 +212,12 @@ int is_active_console(TextConsole *s); CharDriverState *text_console_init(DisplayState *ds); void console_select(unsigned int index); +/* serial ports */ + +#define MAX_SERIAL_PORTS 4 + +extern CharDriverState *serial_hds[MAX_SERIAL_PORTS]; + /* network redirectors support */ #define MAX_NICS 8 |