Philippe Mathieu-Daudé
29daa894b6
hw/char/serial: Clean up unnecessary code
...
Since commit 5ec3a23e6c8 ("serial: convert PIO to new memory
api read/write") we don't need to worry about accesses bigger
than 8-bit. Use the extract()/deposit() functions to access
the correct part of the 16-bit 'divider' register.
Reported-by: Jonathan D. Belanger <jbelanger1@rochester.rr.com>
Buglink: https://bugs.launchpad.net/qemu/+bug/1904331
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201120161933.2514089-1-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-10 12:15:10 -05:00
..
2020-11-05 15:21:11 +01:00
2020-12-09 13:04:17 -05:00
2020-08-21 06:30:32 -04:00
2020-12-10 12:15:04 -05:00
2020-12-10 12:15:07 -05:00
2020-11-15 17:04:40 +01:00
2020-09-09 09:27:09 -04:00
2020-12-10 12:15:03 -05:00
2020-12-10 12:15:10 -05:00
2020-12-10 12:15:10 -05:00
2020-09-22 16:48:29 -04:00
2020-12-10 12:15:07 -05:00
2020-12-10 12:15:07 -05:00
2020-12-10 12:15:04 -05:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:07 -05:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:08 -05:00
2020-12-01 15:23:05 +00:00
2020-11-17 12:56:32 +00:00
2020-12-10 12:15:08 -05:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-12-09 13:04:17 -05:00
2020-12-10 12:15:05 -05:00
2020-12-10 12:15:08 -05:00
2020-11-15 17:04:40 +01:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:03 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:04 -05:00
2020-12-10 12:15:09 -05:00
2020-08-21 06:30:25 -04:00
2020-12-08 13:48:57 -05:00
2020-08-21 06:30:33 -04:00
2020-10-30 06:48:53 -04:00
2020-11-15 17:04:40 +01:00
2020-12-08 13:48:57 -05:00
2020-08-27 14:04:55 -04:00
2020-12-10 12:15:09 -05:00
2020-09-23 16:07:44 +01:00
2020-12-10 12:15:09 -05:00
2020-10-18 16:21:42 +01:00
2020-12-10 12:15:06 -05:00
2020-12-10 12:15:09 -05:00
2020-11-16 13:22:17 -05:00
2020-12-10 12:15:03 -05:00
2020-08-21 06:30:25 -04:00
2020-12-10 12:15:06 -05:00
2020-12-10 12:15:08 -05:00
2020-12-10 12:15:06 -05:00
2020-12-10 12:15:09 -05:00
2020-12-10 12:15:04 -05:00
2020-11-17 12:56:32 +00:00
2020-11-15 16:44:18 +01:00
2020-11-15 16:40:30 +01:00
2020-08-21 06:30:33 -04:00
2020-11-20 10:43:41 -05:00
2020-11-23 10:05:58 -07:00
2020-12-10 12:15:10 -05:00
2020-10-27 11:10:44 +00:00
2020-11-15 17:04:40 +01:00
2020-08-21 06:30:33 -04:00
2020-09-25 16:52:08 -07:00
2020-12-10 11:30:44 +00:00
2020-08-21 06:30:33 -04:00