mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Implemented dynamic TCG log scaling in Tcg2Dxe. When the log would become truncated it instead now dynamically scales doubling the size each time. An ERROR log is reported that an increase to your base log size should occur such that scaling is not necessary. This is a precaution against platforms that log a lot and the addition of new hashing algorithms for PQC. The log is allocated in BootServices memory. Tests were added via TcgLogTest which includes a DXE driver and a UEFI shell UnitTest app. The DXE driver handles pre-ReadyToBoot tests while the TestApp handles post-ReadyToBoot tests as well as gathering the test results from the DXE driver. Markdown documents were created to detail the changes. Added the Truncation event marker to the end of the FinalEventLog when it becomes truncated. Added a event signal for when scaling occurs on the normal event log. Consumers can trigger callbacks on this event; the test app uses this to know when scaling occurs. Added an ACPI log region for the ACPI table LAML/LASA. This region does not scale and can become truncated indicated by the Truncation event marker. Signed-off-by: Raymond Diaz <raymonddiaz@microsoft.com> |
||
|---|---|---|
| .. | ||
| AuthenticatedVariableFormat.h | ||
| CcEventHob.h | ||
| MeasuredFvHob.h | ||
| PhysicalPresenceData.h | ||
| PwdCredentialProviderHii.h | ||
| SecureBootConfigHii.h | ||
| SecurityPkgTokenSpace.h | ||
| Tcg2AcpiCommunicateBuffer.h | ||
| Tcg2ConfigHii.h | ||
| Tcg2EventLogScaled.h | ||
| Tcg2PhysicalPresenceData.h | ||
| TcgConfigHii.h | ||
| TcgEventHob.h | ||
| Tpm2ServiceFfa.h | ||
| TpmInstance.h | ||
| TpmNvsMm.h | ||