diff options
| author | Igor Mammedov | 2021-09-24 14:27:59 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2021-10-05 23:30:57 +0200 |
| commit | 41041e57085a9454c45a6a751babfca70306f361 (patch) | |
| tree | 9c12bd3e92d0d15456a1014fbc51ef6ece4e6b02 /python/tests/mypy.sh | |
| parent | acpi: arm/virt: build_spcr: use acpi_table_begin()/acpi_table_end() instead o... (diff) | |
| download | qemu-41041e57085a9454c45a6a751babfca70306f361.tar.gz qemu-41041e57085a9454c45a6a751babfca70306f361.tar.xz qemu-41041e57085a9454c45a6a751babfca70306f361.zip | |
acpi: arm/virt: build_gtdt: 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.
while at it, replace packed structure with endian agnostic
build_append_FOO() API.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210924122802.1455362-33-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/tests/mypy.sh')
0 files changed, 0 insertions, 0 deletions
