SecurityPkg/Tcg/TrEEConfig/TrEEConfigDriver.c File Reference


Functions

EFI_STATUS EFIAPI TrEEConfigDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI TrEEConfigDriverUnload (IN EFI_HANDLE ImageHandle)

Variables

TPM_INSTANCE_ID mTpmInstanceId [TPM_DEVICE_MAX+1]

Detailed Description

The module entry point for TrEE configuration module.

Copyright (c) 2013, 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

EFI_STATUS EFIAPI TrEEConfigDriverEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE *  SystemTable 
)

The entry point for TrEE configuration driver.

Parameters:
[in] ImageHandle The image handle of the driver.
[in] SystemTable The system table.
Return values:
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(), gTrEEConfigFormSetGuid, InstallTrEEConfigForm(), mTrEEConfigPrivateDateTemplate, TPM_DEVICE_DEFAULT, TPM_DEVICE_MAX, TPM_DEVICE_MIN, TPM_DEVICE_NULL, TPM_INSTANCE_ID::TpmDevice, TREE_CONFIGURATION::TpmDevice, TREE_CONFIG_PRIVATE_DATA::TpmDeviceDetected, TREE_DEVICE_DETECTION::TpmDeviceDetected, TREE_DEVICE_DETECTION_NAME, TREE_STORAGE_NAME, UINTN(), and UninstallTrEEConfigForm().

EFI_STATUS EFIAPI TrEEConfigDriverUnload ( IN EFI_HANDLE  ImageHandle  ) 

Unload the TrEE configuration form.

Parameters:
[in] ImageHandle The driver's image handle.
Return values:
EFI_SUCCESS The TrEE configuration form is unloaded.
Others Failed to unload the form.

References EFI_STATUS(), TREE_CONFIG_PRIVATE_DATA_SIGNATURE, and UninstallTrEEConfigForm().


Variable Documentation

TPM_INSTANCE_ID mTpmInstanceId[TPM_DEVICE_MAX+1]


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