summary refs log tree commit diff stats
path: root/hw/gpio/pl061.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pl061: implement input interrupt logicColin Leitner2014-09-121-14/+45
| | | | | | | | | | | | | | | This patch adds the missing input interrupt logic to the pl061 GPIO device. To keep the floating output pins to stay high, the old state variable had to be split into two separate ones for input and output - which brings the vmstate version to 3. Edge level interrupts and I/O were tested under Linux 3.14. Level interrupt handling hasn't been tested. Signed-off-by: Colin Leitner <colin.leitner@googlemail.com> Message-id: 54024FD2.9080204@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* pl061: QOM'ify pl061 and pl061_luminaryAndreas Färber2013-07-291-26/+26
| | | | | | | Let pl061_luminary inherit from pl061, with differing instance_init. Introduce type constant and use QOM casts. Signed-off-by: Andreas Färber <afaerber@suse.de>
* pl061: Rename pl061_state to PL061StateAndreas Färber2013-07-291-31/+31
| | | | Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw/gpio: pass owner to memory_region_init* functionsPaolo Bonzini2013-07-041-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* memory: add owner argument to initialization functionsPaolo Bonzini2013-07-041-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: move target-independent files to subdirectoriesPaolo Bonzini2013-04-081-0/+336
This patch tackles all files that are compiled once, moving them to subdirectories of hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>