2013-08-19 02:48:55 +04:00
|
|
|
/*
|
|
|
|
* 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"
|
2020-09-03 23:43:22 +03:00
|
|
|
#include "qom/object.h"
|
2013-08-19 02:48:55 +04:00
|
|
|
|
|
|
|
#define TYPE_REALVIEW_GIC "realview_gic"
|
2020-09-03 23:43:22 +03:00
|
|
|
typedef struct RealViewGICState RealViewGICState;
|
2020-09-01 00:07:33 +03:00
|
|
|
DECLARE_INSTANCE_CHECKER(RealViewGICState, REALVIEW_GIC,
|
|
|
|
TYPE_REALVIEW_GIC)
|
2013-08-19 02:48:55 +04:00
|
|
|
|
2020-09-03 23:43:22 +03:00
|
|
|
struct RealViewGICState {
|
2013-08-19 02:48:55 +04:00
|
|
|
SysBusDevice parent_obj;
|
|
|
|
|
|
|
|
MemoryRegion container;
|
|
|
|
|
|
|
|
GICState gic;
|
2020-09-03 23:43:22 +03:00
|
|
|
};
|
2013-08-19 02:48:55 +04:00
|
|
|
|
|
|
|
#endif
|