TianoCore EDK2 master
|
#include <PiPei.h>
#include <Ppi/LockPhysicalPresence.h>
#include <Ppi/ReadOnlyVariable2.h>
#include <Guid/PhysicalPresenceData.h>
#include <Library/PcdLib.h>
#include <Library/PeiServicesLib.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | LockTpmPhysicalPresence (IN CONST EFI_PEI_SERVICES **PeiServices) |
EFI_STATUS EFIAPI | PeimEntry (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
PEI_LOCK_PHYSICAL_PRESENCE_PPI | mLockPhysicalPresencePpi |
EFI_PEI_PPI_DESCRIPTOR | mLockPhysicalPresencePpiList |
This driver produces PEI_LOCK_PHYSICAL_PRESENCE_PPI to indicate whether TPM need be locked or not. It can be replaced by a platform specific driver.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PhysicalPresencePei.c.
BOOLEAN EFIAPI LockTpmPhysicalPresence | ( | IN CONST EFI_PEI_SERVICES ** | PeiServices | ) |
This interface returns whether TPM physical presence needs be locked or not.
[in] | PeiServices | The pointer to the PEI Services Table. |
TRUE | The TPM physical presence should be locked. |
FALSE | The TPM physical presence cannot be locked. |
Definition at line 57 of file PhysicalPresencePei.c.
EFI_STATUS EFIAPI PeimEntry | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
Entry point of this module.
It installs lock physical presence PPI.
[in] | FileHandle | Handle of the file being invoked. |
[in] | PeiServices | Describes the list of possible PEI Services. |
Definition at line 122 of file PhysicalPresencePei.c.
PEI_LOCK_PHYSICAL_PRESENCE_PPI mLockPhysicalPresencePpi |
Definition at line 36 of file PhysicalPresencePei.c.
EFI_PEI_PPI_DESCRIPTOR mLockPhysicalPresencePpiList |
Definition at line 40 of file PhysicalPresencePei.c.