SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c File Reference


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

Detailed Description

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 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

BOOLEAN EFIAPI LockTpmPhysicalPresence ( IN CONST EFI_PEI_SERVICES **  PeiServices  ) 

This interface returns whether TPM physical presence needs be locked or not.

Parameters:
[in] PeiServices The pointer to the PEI Services Table.
Return values:
TRUE The TPM physical presence should be locked.
FALSE The TPM physical presence cannot be locked.

References EFI_STATUS(), gEfiPhysicalPresenceGuid, PHYSICAL_PRESENCE_VARIABLE, EFI_PHYSICAL_PRESENCE::PPRequest, TRUE, and UINTN().

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.

Parameters:
[in] FileHandle Handle of the file being invoked.
[in] PeiServices Describes the list of possible PEI Services.
Returns:
Status of install lock physical presence PPI.

References mLockPhysicalPresencePpiList.


Variable Documentation

Initial value:

EFI_PEI_PPI_DESCRIPTOR mLockPhysicalPresencePpiList

Initial value:

 {
  EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
  &gPeiLockPhysicalPresencePpiGuid,
  &mLockPhysicalPresencePpi
}

Referenced by PeimEntry().


Generated on Thu Sep 24 23:44:24 2015 for SecurityPkg[ALL] by  doxygen 1.5.7.1