Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / a9scu.h
blobc3759fb8c8c0dbdc0ce517e15e61c136d8c304c7
1 /*
2 * Cortex-A9MPCore Snoop Control Unit (SCU) emulation.
4 * Copyright (c) 2009 CodeSourcery.
5 * Copyright (c) 2011 Linaro Limited.
6 * Written by Paul Brook, Peter Maydell.
8 * This code is licensed under the GPL.
9 */
10 #ifndef HW_MISC_A9SCU_H
11 #define HW_MISC_A9SCU_H
13 #include "hw/sysbus.h"
14 #include "qom/object.h"
16 /* A9MP private memory region. */
18 struct A9SCUState {
19 /*< private >*/
20 SysBusDevice parent_obj;
21 /*< public >*/
23 MemoryRegion iomem;
24 uint32_t control;
25 uint32_t status;
26 uint32_t num_cpu;
29 #define TYPE_A9_SCU "a9-scu"
30 OBJECT_DECLARE_SIMPLE_TYPE(A9SCUState, A9_SCU)
32 #endif