xref: /openbmc/qemu/include/hw/misc/arm11scu.h (revision ba632924)
1 /*
2  * ARM11MPCore Snoop Control Unit (SCU) emulation
3  *
4  * Copyright (c) 2006-2007 CodeSourcery.
5  * Copyright (c) 2013 SUSE LINUX Products GmbH
6  * Written by Paul Brook and Andreas Färber
7  *
8  * This code is licensed under the GPL.
9  */
10 
11 #ifndef HW_MISC_ARM11SCU_H
12 #define HW_MISC_ARM11SCU_H
13 
14 #include "hw/sysbus.h"
15 
16 #define TYPE_ARM11_SCU "arm11-scu"
17 #define ARM11_SCU(obj) OBJECT_CHECK(ARM11SCUState, (obj), TYPE_ARM11_SCU)
18 
19 typedef struct ARM11SCUState {
20     /*< private >*/
21     SysBusDevice parent_obj;
22     /*< public >*/
23 
24     uint32_t control;
25     uint32_t num_cpu;
26     MemoryRegion iomem;
27 } ARM11SCUState;
28 
29 #endif
30