-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACPI: fix multi-page ACPI table allocation
An ACPI table may span multiple 4K pages because of its multi-page size or its starting offset (page crossing table). Introduce acpi_table_map_pages() and acpi_table_unmap_pages() routines properly detecting starting page as well as number of pages required for a table. It is also essential to map entire ACPI table before its checksum validation. For almost all tables (except XSDT) the mapping process needs to be split into ACPI table header page mapping, where the entire table length can be obtained, and then the entire table mapping. Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
- Loading branch information
Showing
2 changed files
with
83 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters