hw/arm/virt-acpi-build: name GIC CPU Interface Structure appropriately
[qemu/ar7.git] / include / hw / misc / a9scu.h
blobefb0c305c22929239caa0fed7f44a1e36b122860
1 /*
2 * Cortex-A9MPCore Snoop Control Unit (SCU) emulation.
4 * Copyright (c) 2009 CodeSourcery.
5 * Copyright (c) 2011 Linaro Limited.
6 * Written by Paul Brook, Peter Maydell.
8 * This code is licensed under the GPL.
9 */
10 #ifndef HW_MISC_A9SCU_H
11 #define HW_MISC_A9SCU_H
13 #include "hw/sysbus.h"
15 /* A9MP private memory region. */
17 typedef struct A9SCUState {
18 /*< private >*/
19 SysBusDevice parent_obj;
20 /*< public >*/
22 MemoryRegion iomem;
23 uint32_t control;
24 uint32_t status;
25 uint32_t num_cpu;
26 } A9SCUState;
28 #define TYPE_A9_SCU "a9-scu"
29 #define A9_SCU(obj) OBJECT_CHECK(A9SCUState, (obj), TYPE_A9_SCU)
31 #endif