[SerialICE] [commit] r103 - trunk/qemu-0.11.0
repository service
svn at coresystems.de
Fri Jul 2 16:49:53 CEST 2010
Author: stepan
Date: Fri Jul 2 16:49:53 2010
New Revision: 103
URL: http://www.serialice.com/trac/serialice/changeset/103
Log:
serialice_io_read_filter was being passed the wrong size for words and
longs. It was harder to find because serialice_io_read_log was being
passed the correct size, and when the filter returns true, the log
isn't called.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/qemu-0.11.0/serialice.c
Modified: trunk/qemu-0.11.0/serialice.c
==============================================================================
--- trunk/qemu-0.11.0/serialice.c Fri Jul 2 16:49:13 2010 (r102)
+++ trunk/qemu-0.11.0/serialice.c Fri Jul 2 16:49:53 2010 (r103)
@@ -720,7 +720,7 @@
uint16_t ret;
uint32_t data;
- if (serialice_io_read_filter(&data, port, 1)) {
+ if (serialice_io_read_filter(&data, port, 2)) {
return data & 0xffff;
}
@@ -739,7 +739,7 @@
uint32_t ret;
uint32_t data;
- if (serialice_io_read_filter(&data, port, 1)) {
+ if (serialice_io_read_filter(&data, port, 4)) {
return data;
}
More information about the SerialICE
mailing list