]> Git Repo - qemu.git/blame - include/hw/cpu/a9mpcore.h
Move QOM typedefs and add missing includes
[qemu.git] / include / hw / cpu / a9mpcore.h
CommitLineData
de4c2dcf
AF
1/*
2 * Cortex-A9MPCore internal peripheral emulation.
3 *
4 * Copyright (c) 2009 CodeSourcery.
5 * Copyright (c) 2011 Linaro Limited.
6 * Written by Paul Brook, Peter Maydell.
7 *
8 * This code is licensed under the GPL.
9 */
10#ifndef HW_CPU_A9MPCORE_H
11#define HW_CPU_A9MPCORE_H
12
13#include "hw/sysbus.h"
14#include "hw/intc/arm_gic.h"
15#include "hw/misc/a9scu.h"
16#include "hw/timer/arm_mptimer.h"
57e72f2a 17#include "hw/timer/a9gtimer.h"
db1015e9 18#include "qom/object.h"
de4c2dcf
AF
19
20#define TYPE_A9MPCORE_PRIV "a9mpcore_priv"
db1015e9 21typedef struct A9MPPrivState A9MPPrivState;
de4c2dcf
AF
22#define A9MPCORE_PRIV(obj) \
23 OBJECT_CHECK(A9MPPrivState, (obj), TYPE_A9MPCORE_PRIV)
24
db1015e9 25struct A9MPPrivState {
de4c2dcf
AF
26 /*< private >*/
27 SysBusDevice parent_obj;
28 /*< public >*/
29
30 uint32_t num_cpu;
31 MemoryRegion container;
32 uint32_t num_irq;
33
de4c2dcf 34 A9SCUState scu;
4c25f365 35 GICState gic;
57e72f2a 36 A9GTimerState gtimer;
de4c2dcf
AF
37 ARMMPTimerState mptimer;
38 ARMMPTimerState wdt;
db1015e9 39};
de4c2dcf
AF
40
41#endif
This page took 0.273616 seconds and 4 git commands to generate.