audk/SecurityPkg/Tcg/Tcg2Config
Dun Tan 5a06afa7dd SecurityPkg: Allocate EfiACPIMemoryNVS buffer for TCG2
Allocate EfiACPIMemoryNVS buffer for TCG2 related usage in
Tcg2ConfigPeim. The buffer will be used in Tcg2Acpi driver
to retrive information from SMM environment.

Previously, the buffer used in Tcg2Acpi driver is AcpiNvs
type. But I mistakenly thought the Runtime Data type buffer
should also work. So I used API AllocateRuntimePages() to
allocate buffer in 9a76c7945b and consume the buffer in
e939ecf6c1. Recently we found that if the buffer type is
Runtime Data instead of AcpiNvs, BSOD issue happened after
boot into OS.

So this commit is to Allocate EfiACPIMemoryNVS buffer for
TCG2 usage in SMM to align with the initial code logic.

Signed-off-by: Dun Tan <dun.tan@intel.com>
2024-08-27 06:14:36 +00:00
..
Tcg2Config.vfr
Tcg2ConfigDriver.c
Tcg2ConfigDxe.inf
Tcg2ConfigDxe.uni
Tcg2ConfigDxeExtra.uni
Tcg2ConfigImpl.c
Tcg2ConfigImpl.h
Tcg2ConfigNvData.h
Tcg2ConfigPei.inf SecurityPkg: Build gEdkiiTcg2AcpiCommunicateBufferHobGuid 2024-07-02 03:31:31 +00:00
Tcg2ConfigPei.uni
Tcg2ConfigPeiExtra.uni
Tcg2ConfigPeim.c SecurityPkg: Allocate EfiACPIMemoryNVS buffer for TCG2 2024-08-27 06:14:36 +00:00
Tcg2ConfigStrings.uni
Tcg2Internal.h
TpmDetection.c