summary refs log tree commit diff stats
path: root/include/qapi
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-02-28 15:23:52 +0100
committerMichael S. Tsirkin <mst@redhat.com>2018-03-13 23:09:50 +0200
commit5d7a334f7c40dcb6aab3e4496ac826e813ccdb07 (patch)
tree3433fff826ff91d733429de7017202aa6f6cfc31 /include/qapi
parent937d1b58714b4002dd0fb7c3573c42b1c017e61b (diff)
downloadfocaccia-qemu-5d7a334f7c40dcb6aab3e4496ac826e813ccdb07.tar.gz
focaccia-qemu-5d7a334f7c40dcb6aab3e4496ac826e813ccdb07.zip
pc: acpi: use build_append_foo() API to construct FADT
build_append_foo() API doesn't need explicit endianness
conversions which eliminates a source of errors and
it makes build_fadt() look like declarative definition of
FADT table in ACPI spec, which makes it easy to review.
Also it allows easily extending FADT to support other
revisions which will be used by follow up patches
where build_fadt() will be reused for ARM target.

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>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions