aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 08:47:27 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 08:47:27 +0000
commit796d828610a6da049671a3391cc18ddeaba5e3dc (patch)
tree9480502b81f553308aec0bbd3a04899731c40458
parentaaa5fa14eac0e5383702b48582748a8378fada19 (diff)
Read time constant fix (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4197 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/slavio_serial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index bd572b03fd..03bd534bd5 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -514,9 +514,13 @@ static void slavio_serial_mem_writeb(void *opaque, target_phys_addr_t addr,
break;
case W_TXCTRL1:
case W_TXCTRL2:
+ s->wregs[s->reg] = val;
+ slavio_serial_update_parameters(s);
+ break;
case W_BRGLO:
case W_BRGHI:
s->wregs[s->reg] = val;
+ s->rregs[s->reg] = val;
slavio_serial_update_parameters(s);
break;
case W_MINTR: