aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-29 19:51:40 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-29 19:51:40 +0000
commited8e0a4d4b57d90c8e049bfd030c6829625c47af (patch)
tree5b795e5e0de8c7a93afdd9898f86ef6f7e424f84
parent3464c5899891efa0b7cb86b5a8090da50a3e6c88 (diff)
Add FRQCR read support, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3272 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/sh7750.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index 8ff6ca1946..bd3d31e361 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -207,6 +207,8 @@ static uint32_t sh7750_mem_readw(void *opaque, target_phys_addr_t addr)
SH7750State *s = opaque;
switch (addr) {
+ case SH7750_FRQCR_A7:
+ return 0;
case SH7750_RFCR_A7:
fprintf(stderr,
"Read access to refresh count register, incrementing\n");