aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-08 22:30:36 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-08 22:30:36 +0000
commitf8d179e33d71ddac580fb41f2b452099e7805d67 (patch)
tree1783e4c4c05981d722282fb9a82abd0d3b7f4d94 /vl.h
parent3f87bf69590c6b3aead85c4ebb8cc7c9c81ccda5 (diff)
downloadqemu-f8d179e33d71ddac580fb41f2b452099e7805d67.zip
qemu-f8d179e33d71ddac580fb41f2b452099e7805d67.tar.gz
qemu-f8d179e33d71ddac580fb41f2b452099e7805d67.tar.bz2
use host serial port
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1609 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index d31da19..40de851 100644
--- a/vl.h
+++ b/vl.h
@@ -207,6 +207,10 @@ typedef struct CharDriverState {
void (*chr_add_read_handler)(struct CharDriverState *s,
IOCanRWHandler *fd_can_read,
IOReadHandler *fd_read, void *opaque);
+ void (*chr_set_serial_parameters)(struct CharDriverState *s,
+ int speed, int parity,
+ int data_bits, int stop_bits);
+ void (*chr_set_serial_break)(struct CharDriverState *s, int enable);
IOEventHandler *chr_event;
void (*chr_send_event)(struct CharDriverState *chr, int event);
void *opaque;
@@ -219,7 +223,11 @@ void qemu_chr_add_read_handler(CharDriverState *s,
IOCanRWHandler *fd_can_read,
IOReadHandler *fd_read, void *opaque);
void qemu_chr_add_event_handler(CharDriverState *s, IOEventHandler *chr_event);
-
+void qemu_chr_set_serial_parameters(CharDriverState *s,
+ int speed, int parity,
+ int data_bits, int stop_bits);
+void qemu_chr_set_serial_break(CharDriverState *s, int enable);
+
/* consoles */
typedef struct DisplayState DisplayState;