summaryrefslogtreecommitdiffstats
path: root/hw/slavio_serial.c
diff options
context:
space:
mode:
authorblueswir12008-01-01 18:06:38 +0100
committerblueswir12008-01-01 18:06:38 +0100
commit7c560456707bfe53eb1728fcde759be7d9418b62 (patch)
treef0faa190268d9b42e6a25758c36ac8c5e7380d1f /hw/slavio_serial.c
parent DVMA translation errors raise a module error irq (NMI) (diff)
downloadqemu-7c560456707bfe53eb1728fcde759be7d9418b62.tar.gz
qemu-7c560456707bfe53eb1728fcde759be7d9418b62.tar.xz
qemu-7c560456707bfe53eb1728fcde759be7d9418b62.zip
Register only valid register access widths
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3881 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r--hw/slavio_serial.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index e0158a8495..07919111f4 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -641,14 +641,14 @@ static void serial_event(void *opaque, int event)
static CPUReadMemoryFunc *slavio_serial_mem_read[3] = {
slavio_serial_mem_readb,
- slavio_serial_mem_readb,
- slavio_serial_mem_readb,
+ NULL,
+ NULL,
};
static CPUWriteMemoryFunc *slavio_serial_mem_write[3] = {
slavio_serial_mem_writeb,
- slavio_serial_mem_writeb,
- slavio_serial_mem_writeb,
+ NULL,
+ NULL,
};
static void slavio_serial_save_chn(QEMUFile *f, ChannelState *s)