]> git.proxmox.com Git - mirror_qemu.git/blob - hw/i386/fw_cfg.h
iotests: Test external snapshot with VM state
[mirror_qemu.git] / hw / i386 / fw_cfg.h
1 /*
2 * QEMU fw_cfg helpers (X86 specific)
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 *
6 * SPDX-License-Identifier: MIT
7 */
8
9 #ifndef HW_I386_FW_CFG_H
10 #define HW_I386_FW_CFG_H
11
12 #include "hw/boards.h"
13 #include "hw/nvram/fw_cfg.h"
14
15 #define FW_CFG_ACPI_TABLES (FW_CFG_ARCH_LOCAL + 0)
16 #define FW_CFG_SMBIOS_ENTRIES (FW_CFG_ARCH_LOCAL + 1)
17 #define FW_CFG_IRQ0_OVERRIDE (FW_CFG_ARCH_LOCAL + 2)
18 #define FW_CFG_E820_TABLE (FW_CFG_ARCH_LOCAL + 3)
19 #define FW_CFG_HPET (FW_CFG_ARCH_LOCAL + 4)
20
21 FWCfgState *fw_cfg_arch_create(MachineState *ms,
22 uint16_t boot_cpus,
23 uint16_t apic_id_limit);
24 void fw_cfg_build_smbios(MachineState *ms, FWCfgState *fw_cfg);
25 void fw_cfg_build_feature_control(MachineState *ms, FWCfgState *fw_cfg);
26
27 #endif