Functions | |
EFI_STATUS EFIAPI | TcgConfigDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | TcgConfigDriverUnload (IN EFI_HANDLE ImageHandle) |
Copyright (c) 2011 - 2014, 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.
EFI_STATUS EFIAPI TcgConfigDriverEntryPoint | ( | IN EFI_HANDLE | ImageHandle, | |
IN EFI_SYSTEM_TABLE * | SystemTable | |||
) |
The entry point for Tcg 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_SUCCES | All the related protocols are installed on the driver. | |
Others | Fail to install protocols as indicated. |
References EFI_STATUS(), gEfiTpmDeviceInstanceTpm12Guid, InstallTcgConfigForm(), mTcgConfigPrivateDateTemplate, TCG_CONFIG_PRIVATE_DATA::TcgProtocol, TisPcRequestUseTpm(), TPM_BASE_ADDRESS, UINTN(), and UninstallTcgConfigForm().
EFI_STATUS EFIAPI TcgConfigDriverUnload | ( | IN EFI_HANDLE | ImageHandle | ) |
Unload the Tcg configuration form.
[in] | ImageHandle | The driver's image handle. |
EFI_SUCCESS | The Tcg configuration form is unloaded. | |
Others | Failed to unload the form. |
References EFI_STATUS(), TCG_CONFIG_PRIVATE_DATA_SIGNATURE, and UninstallTcgConfigForm().