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