Skip to content

Commit

Permalink
acpi: generic address structure (gas) packed
Browse files Browse the repository at this point in the history
The current size of acpi_gas_t is 16B. It must be 12B according to the Intel manual.

Signed-off-by: Daniele Ahmed <ahmeddan amazon c;0m >
  • Loading branch information
82marbag committed Feb 12, 2021
1 parent 815c5d4 commit 86c7681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ struct acpi_gas {
uint8_t bit_offset;
uint8_t access_size;
uint64_t address;
};
} __packed;
typedef struct acpi_gas acpi_gas_t;

struct acpi_fadt_rev2 {
Expand Down

0 comments on commit 86c7681

Please sign in to comment.