1 /* 2 * Cortex-A9MPCore Snoop Control Unit (SCU) emulation. 3 * 4 * Copyright (c) 2009 CodeSourcery. 5 * Copyright (c) 2011 Linaro Limited. 6 * Written by Paul Brook, Peter Maydell. 7 * 8 * This code is licensed under the GPL. 9 */ 10 #ifndef HW_MISC_A9SCU_H 11 #define HW_MISC_A9SCU_H 12 13 #include "hw/sysbus.h" 14 15 /* A9MP private memory region. */ 16 17 typedef struct A9SCUState { 18 /*< private >*/ 19 SysBusDevice parent_obj; 20 /*< public >*/ 21 22 MemoryRegion iomem; 23 uint32_t control; 24 uint32_t status; 25 uint32_t num_cpu; 26 } A9SCUState; 27 28 #define TYPE_A9_SCU "a9-scu" 29 #define A9_SCU(obj) OBJECT_CHECK(A9SCUState, (obj), TYPE_A9_SCU) 30 31 #endif 32