-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR contains the following database changes: ### [bug] Account for library instances that do not exist in the DSC The instanced_inf_table generator did not account for the fact that library class instances can choose to only support phases. 1. Updates the DSC parser's ScopedLibraryDict to store a list of instances that match the scope, instead of the first instance it finds. 2. The instanced_inf_table generator now checks the list of instances ( in order of appearance in the DSC) to find the first instance that matches the scope, but also supports the specific phase. ### [bug] Account for library instances that support only a subset of phases. Due to platforms performing complex includes in their DSCs, There is a scenario in which a library instance references a library class that does not exist. This is not an error as the library class instance may not be consumed by a component in the platform, so the missing dependency is acceptable. This commit adds the ability to handle this scenario, and will not raise an error for a missing library instance. ### [enhancement] Include library class and library instance in "LIBRARIES_USED" column of the instanced_inf table The LIBRARIES_USED column in the instanced_inf table only contained the the edk2 relative path to the library instance. This made it impossible to determine (with 100% accuracy) which library class the particular library instance was representing. This commit changes the "LIBRARIES_USED" column to contain a list of (lib_class, lib_instance) tuples rather than a list of lib_instances. Please review commit messages in each for a more detailed description. ### [enhancement] Include "LIBRARY_CLASS" column in instanced_inf table Previously, the library class name for a library INF was not included in the table. This commit adds that information to the table as a row to make it easier to find the library class name for a library INF. ### [bug] Better handling of RuleOverride in instanced_fv_table When parsing an FDF file, an INF can be prepending with a RuleOverride directive. The previous functionality to ignore this directive and retrive the actual INF value could not handle any spaces in the directive (such as RuleOverride = ACPITABLE). This commit expands the ability to handle spaces in the directive.
- Loading branch information
Showing
9 changed files
with
180 additions
and
37 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
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
Oops, something went wrong.