Functions | |
UINT8 | DetectTpmDevice (IN UINT8 SetupTpmDevice) |
EFI_STATUS EFIAPI | Tcg2ConfigPeimEntryPoint (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
TPM_INSTANCE_ID | mTpmInstanceId [] = TPM_INSTANCE_ID_LIST |
CONST EFI_PEI_PPI_DESCRIPTOR | gTpmSelectedPpi |
EFI_PEI_PPI_DESCRIPTOR | mTpmInitializationDonePpiList |
Copyright (c) 2015, 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.
UINT8 DetectTpmDevice | ( | IN UINT8 | SetupTpmDevice | ) |
This routine check both SetupVariable and real TPM device, and return final TpmDevice configuration.
SetupTpmDevice | TpmDevice configuration in setup driver |
Referenced by Tcg2ConfigPeimEntryPoint(), and TrEEConfigPeimEntryPoint().
EFI_STATUS EFIAPI Tcg2ConfigPeimEntryPoint | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, | |
IN CONST EFI_PEI_SERVICES ** | PeiServices | |||
) |
The entry point for Tcg2 configuration driver.
FileHandle | Handle of the file being invoked. | |
PeiServices | Describes the list of possible PEI Services. |
EFI_SUCCES | Convert variable to PCD successfully. | |
Others | Fail to convert variable to PCD. |
References DetectTpmDevice(), EFI_STATUS(), gEfiTpmDeviceInstanceNoneGuid, gTcg2ConfigFormSetGuid, gTpmSelectedPpi, TCG2_STORAGE_NAME, TPM_DEVICE_DEFAULT, TPM_DEVICE_MAX, TPM_DEVICE_MIN, TPM_DEVICE_NULL, TCG2_CONFIGURATION::TpmDevice, TpmDevice, TPM_INSTANCE_ID::TpmInstanceGuid, and UINTN().
CONST EFI_PEI_PPI_DESCRIPTOR gTpmSelectedPpi |
Initial value:
{ (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), &gEfiTpmDeviceSelectedGuid, NULL }
Referenced by Tcg2ConfigPeimEntryPoint(), and TrEEConfigPeimEntryPoint().
EFI_PEI_PPI_DESCRIPTOR mTpmInitializationDonePpiList |
Initial value:
{ EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST, &gPeiTpmInitializationDonePpiGuid, NULL }
Referenced by PeimEntryMA().
TPM_INSTANCE_ID mTpmInstanceId[] = TPM_INSTANCE_ID_LIST |