]>
Commit | Line | Data |
---|---|---|
53cb9a1c AF |
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" | |
db1015e9 | 15 | #include "qom/object.h" |
53cb9a1c AF |
16 | |
17 | #define TYPE_ARM11_SCU "arm11-scu" | |
db1015e9 | 18 | typedef struct ARM11SCUState ARM11SCUState; |
53cb9a1c AF |
19 | #define ARM11_SCU(obj) OBJECT_CHECK(ARM11SCUState, (obj), TYPE_ARM11_SCU) |
20 | ||
db1015e9 | 21 | struct ARM11SCUState { |
53cb9a1c AF |
22 | /*< private >*/ |
23 | SysBusDevice parent_obj; | |
24 | /*< public >*/ | |
25 | ||
26 | uint32_t control; | |
27 | uint32_t num_cpu; | |
28 | MemoryRegion iomem; | |
db1015e9 | 29 | }; |
53cb9a1c AF |
30 | |
31 | #endif |