| 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/core/sysbus.h" |
| 15 | #include "qom/object.h" |
| 16 | |
| 17 | #define TYPE_ARM11_SCU "arm11-scu" |
| 18 | OBJECT_DECLARE_SIMPLE_TYPE(ARM11SCUState, ARM11_SCU) |
| 19 | |
| 20 | struct ARM11SCUState { |
| 21 | /*< private >*/ |
| 22 | SysBusDevice parent_obj; |
| 23 | /*< public >*/ |
| 24 | |
| 25 | uint32_t control; |
| 26 | uint32_t num_cpu; |
| 27 | MemoryRegion iomem; |
| 28 | }; |
| 29 | |
| 30 | #endif |