Igor Mammedov ea298e83a7 acpi: build_rsdt: 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 offests magic from API user.

While at it switch to build_append_int_noprefix() to build
entries to other tables (which also removes some manual offset
calculations).

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210924122802.1455362-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-10-05 17:30:57 -04:00
..
2021-05-12 18:20:25 +02:00
2021-07-08 14:15:45 -05:00
2021-02-21 18:41:04 +01:00
2021-09-20 08:50:59 +02:00
2021-03-05 15:17:34 +00:00
2021-09-29 10:45:19 +02:00
2021-09-30 12:26:06 +10:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-02-21 12:12:18 +00:00
2021-03-06 16:18:42 +01:00
2020-09-09 09:27:09 -04:00
2021-09-21 07:56:49 +10:00
2019-08-16 13:31:52 +02:00
2021-05-12 17:42:23 +02:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2019-06-12 13:20:21 +02:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00