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:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user