Adds the framework to consume and patch a pcd that represents the 32 byte hash of the auxiliary file. This includes a new patchable pcd, PcdAuxBinHash, and the post-build logic to patch the hash into the stm binary.
NOTE: The platform build will fail in the newly added step as the pcd gets optimized out of the binary due to not being used.
You can force it to be used by adding the following code to StmInit.c
Description
Adds the framework to consume and patch a pcd that represents the 32 byte hash of the auxiliary file. This includes a new patchable pcd, PcdAuxBinHash, and the post-build logic to patch the hash into the stm binary.
NOTE: The platform build will fail in the newly added step as the pcd gets optimized out of the binary due to not being used.
You can force it to be used by adding the following code to
StmInit.c
L26:
L805:
How This Was Tested
N/A
Integration Instructions
N/A