qemu-config: add error propagation to qemu_config_parse
[qemu/ar7.git] / include / hw / acpi / pci.h
blobe514f179d8b55e5ace9c3e43449f5555c7a7134e
1 /*
2 * Support for generating PCI related ACPI tables and passing them to Guests
4 * Copyright (C) 2006 Fabrice Bellard
5 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net>
6 * Copyright (C) 2013-2019 Red Hat Inc
7 * Copyright (C) 2019 Intel Corporation
9 * Author: Wei Yang <richardw.yang@linux.intel.com>
10 * Author: Michael S. Tsirkin <mst@redhat.com>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, see <http://www.gnu.org/licenses/>.
26 #ifndef HW_ACPI_PCI_H
27 #define HW_ACPI_PCI_H
29 #include "hw/acpi/bios-linker-loader.h"
31 typedef struct AcpiMcfgInfo {
32 uint64_t base;
33 uint32_t size;
34 } AcpiMcfgInfo;
36 void build_mcfg(GArray *table_data, BIOSLinker *linker, AcpiMcfgInfo *info,
37 const char *oem_id, const char *oem_table_id);
38 #endif