diff options
author | blueswir1 | 2008-01-01 18:06:38 +0100 |
---|---|---|
committer | blueswir1 | 2008-01-01 18:06:38 +0100 |
commit | 7c560456707bfe53eb1728fcde759be7d9418b62 (patch) | |
tree | f0faa190268d9b42e6a25758c36ac8c5e7380d1f /hw/sparc32_dma.c | |
parent | DVMA translation errors raise a module error irq (NMI) (diff) | |
download | qemu-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/sparc32_dma.c')
-rw-r--r-- | hw/sparc32_dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index 742f2d8710..c69b559bec 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -198,14 +198,14 @@ static void dma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val) } static CPUReadMemoryFunc *dma_mem_read[3] = { - dma_mem_readl, - dma_mem_readl, + NULL, + NULL, dma_mem_readl, }; static CPUWriteMemoryFunc *dma_mem_write[3] = { - dma_mem_writel, - dma_mem_writel, + NULL, + NULL, dma_mem_writel, }; |