MAINTAINERS: Make section QOM cover hw/core/*bus.c as well
[qemu/armbru.git] / include / hw / cpu / arm11mpcore.h
blob6196109ca2ba7f3867125bb784eda096eb5223a9
1 /*
2 * ARM11MPCore internal peripheral emulation.
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
7 * This code is licensed under the GPL.
8 */
10 #ifndef HW_CPU_ARM11MPCORE_H
11 #define HW_CPU_ARM11MPCORE_H
13 #include "hw/sysbus.h"
14 #include "hw/misc/arm11scu.h"
15 #include "hw/intc/arm_gic.h"
16 #include "hw/timer/arm_mptimer.h"
18 #define TYPE_ARM11MPCORE_PRIV "arm11mpcore_priv"
19 #define ARM11MPCORE_PRIV(obj) \
20 OBJECT_CHECK(ARM11MPCorePriveState, (obj), TYPE_ARM11MPCORE_PRIV)
22 typedef struct ARM11MPCorePriveState {
23 SysBusDevice parent_obj;
25 uint32_t num_cpu;
26 MemoryRegion container;
27 uint32_t num_irq;
29 ARM11SCUState scu;
30 GICState gic;
31 ARMMPTimerState mptimer;
32 ARMMPTimerState wdtimer;
33 } ARM11MPCorePriveState;
35 #endif