TianoCore EDK2 master
|
#include "Tcg2ConfigImpl.h"
Go to the source code of this file.
Functions | |
VOID | UpdateDefaultPCRBanks (IN VOID *HiiPackage, IN UINTN HiiPackageSize, IN UINT32 PCRBanks) |
VOID | InitializeTcg2VersionInfo (IN TCG2_CONFIG_PRIVATE_DATA *PrivateData) |
EFI_STATUS EFIAPI | Tcg2ConfigDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | Tcg2ConfigDriverUnload (IN EFI_HANDLE ImageHandle) |
Variables | |
TPM_INSTANCE_ID | mTpmInstanceId [TPM_DEVICE_MAX+1] |
The module entry point for Tcg2 configuration module.
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tcg2ConfigDriver.c.
VOID InitializeTcg2VersionInfo | ( | IN TCG2_CONFIG_PRIVATE_DATA * | PrivateData | ) |
Initialize TCG2 version information.
This function will initialize efi varstore configuration data for TCG2_VERSION_NAME variable, check the value of related PCD with the variable value and set string for the version state content according to the PCD value.
[in] | PrivateData | Points to TCG2 configuration private data. |
Definition at line 73 of file Tcg2ConfigDriver.c.
EFI_STATUS EFIAPI Tcg2ConfigDriverEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The entry point for Tcg2 configuration driver.
[in] | ImageHandle | The image handle of the driver. |
[in] | SystemTable | The system table. |
EFI_ALREADY_STARTED | The driver already exists in system. |
EFI_OUT_OF_RESOURCES | Fail to execute entry point due to lack of resources. |
EFI_SUCCESS | All the related protocols are installed on the driver. |
Others | Fail to install protocols as indicated. |
Definition at line 255 of file Tcg2ConfigDriver.c.
EFI_STATUS EFIAPI Tcg2ConfigDriverUnload | ( | IN EFI_HANDLE | ImageHandle | ) |
Unload the Tcg2 configuration form.
[in] | ImageHandle | The driver's image handle. |
EFI_SUCCESS | The Tcg2 configuration form is unloaded. |
Others | Failed to unload the form. |
Definition at line 433 of file Tcg2ConfigDriver.c.
Update default PCR banks data.
[in] | HiiPackage | HII Package. |
[in] | HiiPackageSize | HII Package size. |
[in] | PCRBanks | PCR Banks data. |
Definition at line 22 of file Tcg2ConfigDriver.c.
|
extern |
Definition at line 23 of file Tcg2ConfigImpl.c.