]> xenbits.xensource.com Git - qemu-xen.git/commit
acpi: add build_append_gas() helper for Generic Address Structure
authorIgor Mammedov <imammedo@redhat.com>
Wed, 28 Feb 2018 14:23:49 +0000 (15:23 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Mar 2018 21:09:50 +0000 (23:09 +0200)
commitd0384d9020f1f52f90e5e5b1b6c9c04aac5f6756
treec59d6c6126faccac7ed9c467bfc0db656560ed06
parentb8e0f5898254ebb53f82225d40f4a58645279039
acpi: add build_append_gas() helper for Generic Address Structure

it will help to add Generic Address Structure to ACPI tables
without using packed C structures and avoid endianness
issues as API doesn't need an explicit conversion.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
include/hw/acpi/aml-build.h