From 796d828610a6da049671a3391cc18ddeaba5e3dc Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 12 Apr 2008 08:47:27 +0000 Subject: Read time constant fix (Robert Reif) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4197 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/slavio_serial.c | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.3