-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tables: Add sanity check for static table load
This patch extends sanity check to static table load by invoking AcpiTbLoadTable() instead of AcpiNsLoadTable(). Some redundant code blocks are therefore reduced: 1. AcpiTbValidateTable() is replaced by AcpiTbGetTable() invoked in AcpiTbValidateTableForLoad(), DSDT handling code is thus moved to this function as it must be invoked for validated tables; 2. MLC handling in both AcpiNsLoadTable() and AcpiTbLoadTable() can be combined into AcpiTbLoadTable(), Reload parameter is added to AcpiTbLoadTable() in order to distiguish different table loading stages to keep group MLC logics. Reported by Hans de Goede, fixed by Lv Zheng. Reported-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com>
- Loading branch information
Lv Zheng
committed
Mar 22, 2017
1 parent
3d9eeb0
commit b6a1943
Showing
5 changed files
with
65 additions
and
69 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
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
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