xemu/include/hw/acpi
Igor Mammedov f497b7cae1 acpi: build_xsdt: use acpi_table_begin()/acpi_table_end() instead of build_header()
it replaces error-prone pointer arithmetic for build_header() API,
with 2 calls to start and finish table creation,
which hides offsets magic from API user.

While at it switch to build_append_int_noprefix() to build
entries to other tables (which also removes some manual offset
calculations).

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210924122802.1455362-4-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-10-05 17:30:57 -04:00
..
acpi_dev_interface.h qapi: Extract ACPI commands to 'acpi.json' 2020-09-29 15:41:36 +02:00
acpi-defs.h acpi: build_xsdt: use acpi_table_begin()/acpi_table_end() instead of build_header() 2021-10-05 17:30:57 -04:00
acpi.h hw/acpi: define PIIX4 acpi pci hotplug property strings at a single place 2021-09-04 09:07:45 -04:00
aml-build.h acpi: add helper routines to initialize ACPI tables 2021-10-05 17:30:57 -04:00
bios-linker-loader.h vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00
cpu_hotplug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
cpu.h x86: acpi: let the firmware handle pending "CPU remove" events in SMM 2020-12-09 13:04:17 -05:00
generic_event_device.h acpi: Delete broken ACPI_GED_X86 macro 2021-09-04 09:07:46 -04:00
ghes.h hw/acpi: Provide function acpi_ghes_present() 2021-06-21 16:49:37 +01:00
ich9.h hw/acpi/ich9: Enable ACPI PCI hot-plug 2021-07-16 04:33:35 -04:00
ipmi.h ipmi: Fix SSIF ACPI handling to use the right CRS 2019-09-20 14:08:10 -05:00
memory_hotplug.h hw/acpi: Make ACPI IO address space configurable 2019-10-05 17:12:08 -04:00
pc-hotplug.h memhp: don't generate memory hotplug AML if it's not enabled/supported 2017-01-10 07:03:24 +02:00
pci.h pci: acpi: add _DSM method to PCI devices 2021-03-22 18:58:19 -04:00
pcihp.h hw/i386/acpi-build: Add ACPI PCI hot-plug methods to Q35 2021-07-16 04:33:34 -04:00
tco.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tpm.h acpi: Eliminate all TPM related code if CONFIG_TPM is not set 2021-06-15 10:55:03 -04:00
utils.h acpi: Move maximum size logic into acpi_add_rom_blob() 2021-03-22 18:58:19 -04:00
vmgenid.h acpi: Permit OEM ID and OEM table ID fields to be changed 2021-02-05 08:52:59 -05:00