diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-31 18:58:38 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-31 18:58:38 +0000 |
commit | b0a21b5334fb31042d555bfb66de864291c53140 (patch) | |
tree | d9a0fd630071798b7a87b32c03a1e61fe87e2a9d /hw/serial.c | |
parent | dff38e7b40b398dd713643d57d89f280c6d09ff1 (diff) | |
download | hqemu-b0a21b5334fb31042d555bfb66de864291c53140.zip hqemu-b0a21b5334fb31042d555bfb66de864291c53140.tar.gz |
use new timer API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@689 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/serial.c')
-rw-r--r-- | hw/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/serial.c b/hw/serial.c index 60c311e..e9bfd2a 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -288,7 +288,7 @@ SerialState *serial_init(int base, int irq, int fd) register_ioport_read(base, 8, 1, serial_ioport_read, s); if (fd != 0) { - add_fd_read_handler(fd, serial_can_receive1, serial_receive1, s); + qemu_add_fd_read_handler(fd, serial_can_receive1, serial_receive1, s); s->out_fd = fd; } else { serial_console = s; |