Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / cpu / a15mpcore.h
blob75d39e5458aedd46daf58fc0a0979d966bd9b7c1
1 /*
2 * Cortex-A15MPCore internal peripheral emulation.
4 * Copyright (c) 2012 Linaro Limited.
5 * Written by Peter Maydell.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef HW_CPU_A15MPCORE_H
21 #define HW_CPU_A15MPCORE_H
23 #include "hw/sysbus.h"
24 #include "hw/intc/arm_gic.h"
25 #include "qom/object.h"
27 /* A15MP private memory region. */
29 #define TYPE_A15MPCORE_PRIV "a15mpcore_priv"
30 OBJECT_DECLARE_SIMPLE_TYPE(A15MPPrivState, A15MPCORE_PRIV)
32 struct A15MPPrivState {
33 /*< private >*/
34 SysBusDevice parent_obj;
35 /*< public >*/
37 uint32_t num_cpu;
38 uint32_t num_irq;
39 MemoryRegion container;
41 GICState gic;
44 #endif