]> git.proxmox.com Git - qemu.git/commit
openpic: combine mpic and openpic irq raise functions
authorAlexander Graf <agraf@suse.de>
Fri, 7 Dec 2012 22:51:09 +0000 (23:51 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 14 Dec 2012 12:12:55 +0000 (13:12 +0100)
commit5861a33898bbddfd1a80c2e202cb9352e3b1ba62
tree2fca1bcde6541fd57dc479c5c126841daa9691a9
parent780d16b77f992db81e90b7dd7474a9397ce393b9
openpic: combine mpic and openpic irq raise functions

The IRQ raise mechanisms of the OpenPIC and MPIC controllers is identical,
just that the MPIC one can also raise critical interrupts.

Combine those two and check for critical raise capability during runtime.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c
hw/openpic.h