xref: /openbmc/qemu/include/hw/misc/arm11scu.h (revision a68694cd)
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 #include "qom/object.h"
16 
17 #define TYPE_ARM11_SCU "arm11-scu"
18 typedef struct ARM11SCUState ARM11SCUState;
19 DECLARE_INSTANCE_CHECKER(ARM11SCUState, ARM11_SCU,
20                          TYPE_ARM11_SCU)
21 
22 struct ARM11SCUState {
23     /*< private >*/
24     SysBusDevice parent_obj;
25     /*< public >*/
26 
27     uint32_t control;
28     uint32_t num_cpu;
29     MemoryRegion iomem;
30 };
31 
32 #endif
33