edk2
edk2 copied to clipboard
Tcg platform libaray
Description
Introduce a platform-level library that facilitates the platform-specific implementation to provide and initiate TCG event log area with the event logs created before PEI phase. In AMD use case, we have the TCG event log before the X86 phase.
-
[X ] Breaking change?
- Breaking change - Will this cause a break in build or boot behavior? The platform may be built failed as TcgDxe has a dependency with DxePlatformTcgEventLogLib. Currently, only Intel Quark and Vlv2TbltDevice have the reference of TcgDxe under edk2-platforms. However, these two platforms can not be built successfully even without the changes provided in this PR. I think these two platforms are not in maintenance. We can merge this PR with the approval and go back to update the DSC files of Intel platforms on edk2-platforms.
-
[ ] Impacts security? No
-
[ ] Includes tests? Tested on AMD server platform
How This Was Tested
Tested on AMD server platform
Integration Instructions
A NULL instance is provided for the platform if they don't have the platform-specific implementation on TCG event log. Platform-level implementation is provided if the platform has its own TCG event log before PEI phase.