summaryrefslogtreecommitdiff
path: root/hw/slavio_timer.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-01 17:06:38 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-01 17:06:38 +0000
commit7c560456707bfe53eb1728fcde759be7d9418b62 (patch)
treef0faa190268d9b42e6a25758c36ac8c5e7380d1f /hw/slavio_timer.c
parentff403da6a76ac4879da101768e5a956c9582b8db (diff)
downloadqemu-7c560456707bfe53eb1728fcde759be7d9418b62.tar.gz
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_timer.c')
-rw-r--r--hw/slavio_timer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c
index 32485797f3..c0d849ad38 100644
--- a/hw/slavio_timer.c
+++ b/hw/slavio_timer.c
@@ -276,14 +276,14 @@ static void slavio_timer_mem_writel(void *opaque, target_phys_addr_t addr,
}
static CPUReadMemoryFunc *slavio_timer_mem_read[3] = {
- slavio_timer_mem_readl,
- slavio_timer_mem_readl,
+ NULL,
+ NULL,
slavio_timer_mem_readl,
};
static CPUWriteMemoryFunc *slavio_timer_mem_write[3] = {
- slavio_timer_mem_writel,
- slavio_timer_mem_writel,
+ NULL,
+ NULL,
slavio_timer_mem_writel,
};