Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.1-sf1-v3' into...
[qemu/ar7.git] / include / hw / misc / arm11scu.h
blob5ad0f3d3396972e9ccb92bbe24c33f1ec80db21f
1 /*
2 * ARM11MPCore Snoop Control Unit (SCU) emulation
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Copyright (c) 2013 SUSE LINUX Products GmbH
6 * Written by Paul Brook and Andreas Färber
8 * This code is licensed under the GPL.
9 */
11 #ifndef HW_MISC_ARM11SCU_H
12 #define HW_MISC_ARM11SCU_H
14 #include "hw/sysbus.h"
16 #define TYPE_ARM11_SCU "arm11-scu"
17 #define ARM11_SCU(obj) OBJECT_CHECK(ARM11SCUState, (obj), TYPE_ARM11_SCU)
19 typedef struct ARM11SCUState {
20 /*< private >*/
21 SysBusDevice parent_obj;
22 /*< public >*/
24 uint32_t control;
25 uint32_t num_cpu;
26 MemoryRegion iomem;
27 } ARM11SCUState;
29 #endif