summaryrefslogtreecommitdiffstats
path: root/hw/irq.h
Commit message (Collapse)AuthorAgeFilesLines
* irq: introduce qemu_irq_proxy()Avi Kivity2011-09-231-0/+5
| | | | | | | | | | | In some cases we have a circular dependency involving irqs - the irq controller depends on a bus, which in turn depends on the irq controller. Add qemu_irq_proxy() which acts as a passthrough, except that the target irq may be set later on. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputsPeter Maydell2011-03-061-0/+3
| | | | | | | | | | Add a qemu_irq_split() function which allows a board to wire a single GPIO output up to two GPIO inputs. This is needed for realview boards, where the MMC card status is visible both in a system register and via a PL061 GPIO module. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* hw/irq.h: Remove unused SetIRQFunc typedefPeter Maydell2011-02-211-2/+0
| | | | | | | Remove the typedef SetIRQFunc, as it is not used by anything. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* qemu: add qemu_free_irqs (Marcelo Tosatti)aliguori2009-02-111-0/+1
| | | | | | | | Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6602 c046a42c-6fe2-441c-8c8c-71466251a162
* Rework OMAP1 interrupt handling to allow multiple interrupt banks, by Lauro ↵balrog2007-12-051-0/+6
| | | | | | | | | Ramos Venancio. Add irq pulse shortcut, by Lauro Ramos Venancio. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3774 c046a42c-6fe2-441c-8c8c-71466251a162
* Break up vl.h.pbrook2007-11-171-2/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
* Add a qemu_irq_invert() shortcut for inverting a signal.balrog2007-10-291-0/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3485 c046a42c-6fe2-441c-8c8c-71466251a162
* Unify IRQ handling.pbrook2007-04-071-0/+21
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2635 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud