mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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
This commit is contained in:
parent
38a34e1d7a
commit
8e129e0748
4 changed files with 57 additions and 2 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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue