]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/cpu/arm11mpcore.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / cpu / arm11mpcore.h
CommitLineData
7b960dc3
AF
1/*
2 * ARM11MPCore internal peripheral emulation.
3 *
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
6 *
7 * This code is licensed under the GPL.
8 */
9
10#ifndef HW_CPU_ARM11MPCORE_H
11#define HW_CPU_ARM11MPCORE_H
12
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"
db1015e9 17#include "qom/object.h"
7b960dc3
AF
18
19#define TYPE_ARM11MPCORE_PRIV "arm11mpcore_priv"
db1015e9 20typedef struct ARM11MPCorePriveState ARM11MPCorePriveState;
8110fa1d
EH
21DECLARE_INSTANCE_CHECKER(ARM11MPCorePriveState, ARM11MPCORE_PRIV,
22 TYPE_ARM11MPCORE_PRIV)
7b960dc3 23
db1015e9 24struct ARM11MPCorePriveState {
7b960dc3
AF
25 SysBusDevice parent_obj;
26
27 uint32_t num_cpu;
28 MemoryRegion container;
29 uint32_t num_irq;
30
31 ARM11SCUState scu;
32 GICState gic;
33 ARMMPTimerState mptimer;
34 ARMMPTimerState wdtimer;
db1015e9 35};
7b960dc3
AF
36
37#endif