Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / cpu / arm11mpcore.h
blob2cac8c1232d19cee7e033a6e18f07e05a974843d
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"
17 #include "qom/object.h"
19 #define TYPE_ARM11MPCORE_PRIV "arm11mpcore_priv"
20 OBJECT_DECLARE_SIMPLE_TYPE(ARM11MPCorePriveState, ARM11MPCORE_PRIV)
22 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;
35 #endif