acpi: build_facs: use build_append_int_noprefix() API to compose table
commitcf68410bc98914ee9be5cb5a127a1212056ab83a
authorIgor Mammedov <imammedo@redhat.com>
Fri, 24 Sep 2021 12:28:00 +0000 (24 08:28 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Oct 2021 21:30:57 +0000 (5 17:30 -0400)
treea0964c466cc281e0f82f5e1def893e65388e7a9b
parent41041e57085a9454c45a6a751babfca70306f361
acpi: build_facs: use build_append_int_noprefix() API to compose table

Drop usage of packed structures and explicit endian
conversions when building table 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-34-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
include/hw/acpi/acpi-defs.h