diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-08-24 21:13:40 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-08-24 21:13:40 +0000 |
commit | 8d11df9e5aa58497e27e3481cca119809c76afc6 (patch) | |
tree | 0e323c75b10f8deee83950b708cb42cb989ca6e2 /vl.h | |
parent | 05d5818c5c9a5f90d7bc069ed1e8c9d8d77381d0 (diff) | |
download | hqemu-8d11df9e5aa58497e27e3481cca119809c76afc6.zip hqemu-8d11df9e5aa58497e27e3481cca119809c76afc6.tar.gz |
multiple serial port support - terminal init fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1048 c046a42c-6fe2-441c-8c8c-71466251a162
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 |