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

Go to the source code of this file.

Functions

VOID EFIAPI SmmReadyToLockEventCallBack (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI Tcg2PlatformDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Platform specific TPM2 component for configuring the Platform Hierarchy.

Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tcg2PlatformDxe.c.

Function Documentation

◆ SmmReadyToLockEventCallBack()

VOID EFIAPI SmmReadyToLockEventCallBack ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

This callback function will run at the SmmReadyToLock event.

Configuration of the TPM's Platform Hierarchy Authorization Value (platformAuth) and Platform Hierarchy Authorization Policy (platformPolicy) can be defined through this function.

Parameters
EventPointer to this event
ContextEvent hanlder private data

Definition at line 28 of file Tcg2PlatformDxe.c.

◆ Tcg2PlatformDxeEntryPoint()

EFI_STATUS EFIAPI Tcg2PlatformDxeEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

The driver's entry point. Will register a function for callback during SmmReadyToLock event to configure the TPM's platform authorization.

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when executing this entry point.

Definition at line 66 of file Tcg2PlatformDxe.c.