What's Changed
-
Add missing gSchemaXmlHash in PlatformConfigDataLibNull.c @kanechen66 (#425)
Change Details
## Description
Add missing gSchemaXmlHash in PlatformConfigDataLibNull.c for stuart_ci_build test
For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
stuart_ci_build pipeline test pass
Integration Instructions
</blockquote> <hr> </details>
-
Remove xml\_file args from WriteConfVarListToUefiVars.py @kanechen66 (#420)
Change Details
## Description
There is an unnecessary argument -x in the
WriteConfVarListToUefiVars.py
script in PR #413For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
python WriteConfVarListToUefiVars.py -l test.vl and it doesn't require -x arg
Integration Instructions
N/A
⚠️ Breaking Changes
-
Support xml hash check @kanechen66 (#421)
Change Details
## Description
Currently, there is no version check btwn loaded xml and bios.
To prevent user loading the wrong xml for BIOS running on SUT.
This PR makes the below changes.-
Calc all xml node hash during bios build and put the hash/guid/var_name in generated header.
-
BIOS can uses this guid and hash saves to a varialbe call
-
When configeditor loads an xml file, it calc the hash of loaded xml file and tries to find the xml hash from bios variable and then compare the hash.
-
if the hash in bios and loaded xml is different, it will show a warning message to user
For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested on BIOS with variable contains hash and make sure the warning msg will pop upt when the hash is different
Integration Instructions
To have warning msg for hash mismatch, platform BIOS include SetupDataPkg/SetupDataDxe/SchemaXmlHashDriver/SchemaXmlHash.inf so that it will set variable with xml hash
</blockquote> <hr> </details>
-
Full Changelog: v3.0.1...v4.0.0