TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/PeiServicesLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/HobLib.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/Tpm2DeviceLib.h>
#include <Library/TpmPlatformHierarchyLib.h>
#include <Library/RngLib.h>
#include <Ppi/EndOfPeiPhase.h>
Go to the source code of this file.
Macros | |
#define | MAX_NEW_AUTHORIZATION_SIZE SHA512_DIGEST_SIZE |
Functions | |
EFI_STATUS EFIAPI | PlatformInitEndOfPei (IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, IN VOID *Ppi) |
EFI_STATUS EFIAPI | Tcg2PlatformPeiEntryPoint (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Configure TPM 2 platform hierarchy on TPM state resume failure on S3 resume
Copyright (c) 2017, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tcg2PlatformPei.c.
#define MAX_NEW_AUTHORIZATION_SIZE SHA512_DIGEST_SIZE |
Definition at line 23 of file Tcg2PlatformPei.c.
EFI_STATUS EFIAPI PlatformInitEndOfPei | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices, |
IN EFI_PEI_NOTIFY_DESCRIPTOR * | NotifyDescriptor, | ||
IN VOID * | Ppi | ||
) |
This function handles PlatformInit task at the end of PEI
[in] | PeiServices | Pointer to PEI Services Table. |
[in] | NotifyDescriptor | Pointer to the descriptor for the Notification event that caused this function to execute. |
[in] | Ppi | Pointer to the PPI data associated with this function. |
EFI_SUCCESS | The function completes successfully |
others |
Definition at line 38 of file Tcg2PlatformPei.c.
EFI_STATUS EFIAPI Tcg2PlatformPeiEntryPoint | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
Main entry
[in] | FileHandle | Handle of the file being invoked. |
[in] | PeiServices | Pointer to PEI Services table. |
EFI_SUCCESS | Install function successfully. |
Definition at line 87 of file Tcg2PlatformPei.c.