TianoCore EDK2 master
Loading...
Searching...
No Matches
TcgConfigDriver.c File Reference
#include "TcgConfigImpl.h"
#include <Guid/TpmInstance.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI TcgConfigDriverEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI TcgConfigDriverUnload (IN EFI_HANDLE ImageHandle)
 

Detailed Description

The module entry point for Tcg configuration module.

Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file TcgConfigDriver.c.

Function Documentation

◆ TcgConfigDriverEntryPoint()

EFI_STATUS EFIAPI TcgConfigDriverEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

The entry point for Tcg configuration driver.

Parameters
[in]ImageHandleThe image handle of the driver.
[in]SystemTableThe system table.
Return values
EFI_ALREADY_STARTEDThe driver already exists in system.
EFI_OUT_OF_RESOURCESFail to execute entry point due to lack of resources.
EFI_SUCCESSAll the related protocols are installed on the driver.
OthersFail to install protocols as indicated.

Definition at line 26 of file TcgConfigDriver.c.

◆ TcgConfigDriverUnload()

EFI_STATUS EFIAPI TcgConfigDriverUnload ( IN EFI_HANDLE  ImageHandle)

Unload the Tcg configuration form.

Parameters
[in]ImageHandleThe driver's image handle.
Return values
EFI_SUCCESSThe Tcg configuration form is unloaded.
OthersFailed to unload the form.

Definition at line 122 of file TcgConfigDriver.c.