TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/TpmPlatformHierarchyLib.h>
#include <Protocol/DxeSmmReadyToLock.h>
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) |
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.
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.
Event | Pointer to this event |
Context | Event hanlder private data |
Definition at line 28 of file Tcg2PlatformDxe.c.
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.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
other | Some error occurs when executing this entry point. |
Definition at line 66 of file Tcg2PlatformDxe.c.