hw/arm/virt-acpi-build: name GIC CPU Interface Structure appropriately
[qemu/ar7.git] / include / hw / arm / virt-acpi-build.h
blob2bcd22265cfad770560fd95995bced13af762b2a
1 /*
3 * Copyright (c) 2015 HUAWEI TECHNOLOGIES CO.,LTD.
5 * Author: Shannon Zhao <zhaoshenglong@huawei.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2 or later, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef QEMU_VIRT_ACPI_BUILD_H
21 #define QEMU_VIRT_ACPI_BUILD_H
23 #include "qemu-common.h"
24 #include "hw/arm/virt.h"
25 #include "qemu/notify.h"
27 typedef struct VirtGuestInfo {
28 int smp_cpus;
29 FWCfgState *fw_cfg;
30 const MemMapEntry *memmap;
31 const int *irqmap;
32 bool use_highmem;
33 int gic_version;
34 bool no_its;
35 } VirtGuestInfo;
38 typedef struct VirtGuestInfoState {
39 VirtGuestInfo info;
40 Notifier machine_done;
41 } VirtGuestInfoState;
43 void virt_acpi_setup(VirtGuestInfo *guest_info);
45 #endif