diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 19:24:52 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 19:24:52 +0000 |
commit | 8e129e0748f866d730f1e39bff296219fedac244 (patch) | |
tree | 8d36251447df9838009b97317a5d4996d7c444e2 /hw/omap.c | |
parent | 38a34e1d7aa1ac64c2615952ee732da47eee9f14 (diff) |
Handle MMC card insertion/removal/readonly signals.
Hook them up to Palm T|E GPIOs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3471 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap.c')
-rw-r--r-- | hw/omap.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2882,7 +2882,9 @@ static uint32_t omap_mpuio_read(void *opaque, target_phys_addr_t addr) case 0x24: /* GPIO_INT */ ret = s->ints; - s->ints &= ~s->mask; + s->ints &= s->mask; + if (ret) + qemu_irq_lower(s->irq); return ret; case 0x28: /* KBD_MASKIT */ |