]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: use build_append_int_noprefix() API to compose SRAT table
authorIgor Mammedov <imammedo@redhat.com>
Fri, 24 Sep 2021 12:27:44 +0000 (08:27 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Oct 2021 21:30:57 +0000 (17:30 -0400)
commite5b6d55a6e5e13002cf79a42a0b78b3188e88a1f
tree88b586cde9707f7cbb5347a6532bb3975d27c503
parent255bf20f2e047be1068f90cf8eaf3fc07cbba7d5
acpi: use build_append_int_noprefix() API to compose SRAT table

Drop usage of packed structures and explicit endian conversions
when building SRAT tables for arm/x86 and use endian agnostic
build_append_int_noprefix() API to build it.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210924122802.1455362-18-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
hw/acpi/nvdimm.c
hw/arm/virt-acpi-build.c
hw/i386/acpi-build.c
include/hw/acpi/acpi-defs.h
include/hw/acpi/aml-build.h