acpi/acpi.h: Use __packed over __attribute__((packed))

Change-Id: Iabbb637c797a361a2cbc55505002774ff4f774e1
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77526
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas
2023-08-26 17:04:21 +02:00
parent 3d7a5bdf58
commit 139cb06b77

View File

@@ -854,7 +854,7 @@ typedef struct acpi_dbg2_header {
acpi_header_t header; acpi_header_t header;
uint32_t devices_offset; uint32_t devices_offset;
uint32_t devices_count; uint32_t devices_count;
} __attribute__((packed)) acpi_dbg2_header_t; } __packed acpi_dbg2_header_t;
/* DBG2: Microsoft Debug Port Table 2 device entry */ /* DBG2: Microsoft Debug Port Table 2 device entry */
typedef struct acpi_dbg2_device { typedef struct acpi_dbg2_device {
@@ -870,7 +870,7 @@ typedef struct acpi_dbg2_device {
uint8_t reserved[2]; uint8_t reserved[2];
uint16_t base_address_offset; uint16_t base_address_offset;
uint16_t address_size_offset; uint16_t address_size_offset;
} __attribute__((packed)) acpi_dbg2_device_t; } __packed acpi_dbg2_device_t;
/* FADT (Fixed ACPI Description Table) */ /* FADT (Fixed ACPI Description Table) */
typedef struct acpi_fadt { typedef struct acpi_fadt {