mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
intc/openpic: QOM'ify
Introduce type constant and cast macro. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
d85937e683
commit
e1766344fd
4 changed files with 15 additions and 8 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "qemu-common.h"
|
||||
#include "hw/qdev.h"
|
||||
|
||||
#define TYPE_OPENPIC "openpic"
|
||||
|
||||
/* OpenPIC have 5 outputs per CPU connected and one IRQ out single output */
|
||||
enum {
|
||||
OPENPIC_OUTPUT_INT = 0, /* IRQ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue