mirror of
https://github.com/qemu/qemu.git
synced 2024-12-24 20:53:47 +08:00
ce31825de6
Move state struct, type constant and cast macro to a new header. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
29 lines
563 B
C
29 lines
563 B
C
/*
|
|
* ARM RealView Emulation Baseboard Interrupt Controller
|
|
*
|
|
* Copyright (c) 2006-2007 CodeSourcery.
|
|
* Written by Paul Brook
|
|
*
|
|
* This code is licensed under the GPL.
|
|
*/
|
|
|
|
#ifndef HW_INTC_REALVIEW_GIC_H
|
|
#define HW_INTC_REALVIEW_GIC_H
|
|
|
|
#include "hw/sysbus.h"
|
|
#include "hw/intc/arm_gic.h"
|
|
|
|
#define TYPE_REALVIEW_GIC "realview_gic"
|
|
#define REALVIEW_GIC(obj) \
|
|
OBJECT_CHECK(RealViewGICState, (obj), TYPE_REALVIEW_GIC)
|
|
|
|
typedef struct RealViewGICState {
|
|
SysBusDevice parent_obj;
|
|
|
|
MemoryRegion container;
|
|
|
|
GICState gic;
|
|
} RealViewGICState;
|
|
|
|
#endif
|