summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi/acpi-defs.h
diff options
context:
space:
mode:
authorIgor Mammedov2021-09-24 14:27:54 +0200
committerMichael S. Tsirkin2021-10-05 23:30:57 +0200
commitfc02b86982df0628926869551901b64d2ab777e5 (patch)
treecddb45e0e5672b665e188dd7e7d014340b96ca1f /include/hw/acpi/acpi-defs.h
parentacpi: build_dsdt_microvm: use acpi_table_begin()/acpi_table_end() instead of ... (diff)
downloadqemu-fc02b86982df0628926869551901b64d2ab777e5.tar.gz
qemu-fc02b86982df0628926869551901b64d2ab777e5.tar.xz
qemu-fc02b86982df0628926869551901b64d2ab777e5.zip
acpi: arm: virt: build_dsdt: 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. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20210924122802.1455362-28-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi/acpi-defs.h')
0 files changed, 0 insertions, 0 deletions