Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acpi_tables: fix the access_size of GenericAddress
Without the fix, the code gives 1 for Byte access 2 for Word access 4 for Dword access 8 for QWord access. However, As per ACPI 6.4 spec Sec.5.2.3.2 [1], the access_size should be 1 for Byte access 2 for Word access 3 for Dword access 4 for QWord access. [1] https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html#generic-address-structure-gas Signed-off-by: Changyuan Lyu <changyuanl@google.com>
- Loading branch information