Add FRQCR read support, by Magnus Damm.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 29 Sep 2007 19:51:40 +0000 (19:51 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 29 Sep 2007 19:51:40 +0000 (19:51 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3272 c046a42c-6fe2-441c-8c8c-71466251a162

hw/sh7750.c

index 8ff6ca1..bd3d31e 100644 (file)
@@ -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");