TianoCore EDK2 master
Loading...
Searching...
No Matches
Tcg2PlatformPei.c File Reference

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)
 

Detailed Description

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.

Macro Definition Documentation

◆ MAX_NEW_AUTHORIZATION_SIZE

#define MAX_NEW_AUTHORIZATION_SIZE   SHA512_DIGEST_SIZE

Definition at line 23 of file Tcg2PlatformPei.c.

Function Documentation

◆ PlatformInitEndOfPei()

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

Parameters
[in]PeiServicesPointer to PEI Services Table.
[in]NotifyDescriptorPointer to the descriptor for the Notification event that caused this function to execute.
[in]PpiPointer to the PPI data associated with this function.
Return values
EFI_SUCCESSThe function completes successfully
others

Definition at line 38 of file Tcg2PlatformPei.c.

◆ Tcg2PlatformPeiEntryPoint()

EFI_STATUS EFIAPI Tcg2PlatformPeiEntryPoint ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

Main entry

Parameters
[in]FileHandleHandle of the file being invoked.
[in]PeiServicesPointer to PEI Services table.
Return values
EFI_SUCCESSInstall function successfully.

Definition at line 87 of file Tcg2PlatformPei.c.