UefiPayloadPkg: Parse coreboot's TPM PPI handoff buffer
Read the coreboot table containing the TPM PPI handoff buffer and place it in gEfiTcgPhysicalPresenceInfoHob. coreboot uses the same PPI interface as QEMU does and installs the corresponding ACPI code to provide a full PPI interface to the OS. The OS must reboot in order to execute the requests. The corresponding coreboot patch can be found here: https://review.coreboot.org/c/coreboot/+/45568 In a follow up commit the OvmfPkg PhysicalPresence library will be used to confirm TPM PPI request. This is necessary as coreboot doesn't have input drivers or a graphical UI that could be used. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Tim Crawford
parent
d296a36cc4
commit
7d5abcd016
@@ -238,3 +238,21 @@ ParseSMMSTOREInfo (
|
||||
{
|
||||
return RETURN_NOT_FOUND;
|
||||
}
|
||||
|
||||
/**
|
||||
Find the Tcg Physical Presence store information
|
||||
|
||||
@param PPIInfo Pointer to the TCG_PHYSICAL_PRESENCE_INFO structure
|
||||
|
||||
@retval RETURN_SUCCESS Successfully find the SMM store buffer information.
|
||||
@retval RETURN_NOT_FOUND Failed to find the SMM store buffer information .
|
||||
|
||||
**/
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ParseTPMPPIInfo (
|
||||
OUT TCG_PHYSICAL_PRESENCE_INFO *PPIInfo
|
||||
)
|
||||
{
|
||||
return RETURN_NOT_FOUND;
|
||||
}
|
||||
|
Reference in New Issue
Block a user