UefiPayloadPkg: Check TPM PPI requests in PlatformBootManager

Test if the user need to confirm TPM Physical presence commands.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
Patrick Rudolph
2020-10-05 16:32:35 +02:00
committed by Tim Crawford
parent 7d5abcd016
commit db04386fd9
6 changed files with 139 additions and 1 deletions

View File

@@ -227,6 +227,11 @@ PlatformBootManagerAfterConsole (
EfiBootManagerConnectAll ();
EfiBootManagerRefreshAllBootOption ();
//
// Process TPM PPI request
//
Tcg2PhysicalPresenceLibProcessRequest (NULL);
//
// Register UEFI Shell
//

View File

@@ -26,6 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <Library/PrintLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/BootLogoLib.h>
#include <Library/Tcg2PhysicalPresenceLib.h>
#include <Protocol/SmmAccess2.h>
typedef struct {

View File

@@ -32,6 +32,7 @@
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
UefiPayloadPkg/UefiPayloadPkg.dec
SecurityPkg/SecurityPkg.dec
[LibraryClasses]
BaseLib
@@ -48,6 +49,7 @@
PrintLib
PlatformHookLib
HobLib
Tcg2PhysicalPresenceLib
[Guids]
gEfiEndOfDxeEventGroupGuid