TianoCore EDK2 master
Loading...
Searching...
No Matches
TcgConfigImpl.h
Go to the documentation of this file.
1
10#ifndef __TCG_CONFIG_IMPL_H__
11#define __TCG_CONFIG_IMPL_H__
12
13#include <Uefi.h>
14
17#include <Protocol/TcgService.h>
18
19#include <Library/BaseLib.h>
21#include <Library/DebugLib.h>
26#include <Library/UefiLib.h>
27#include <Library/HiiLib.h>
29#include <Library/PcdLib.h>
30#include <Library/PrintLib.h>
32
33#include <Guid/MdeModuleHii.h>
34
35#include "TcgConfigNvData.h"
36
37//
38// Tool generated IFR binary data and String package data
39//
40extern UINT8 TcgConfigBin[];
41extern UINT8 TcgConfigDxeStrings[];
42
46typedef struct {
47 VENDOR_DEVICE_PATH VendorDevicePath;
50
51typedef struct {
52 UINTN Signature;
53
55 EFI_HII_HANDLE HiiHandle;
56 EFI_HANDLE DriverHandle;
57
58 TCG_CONFIGURATION *Configuration;
59 EFI_TCG_PROTOCOL *TcgProtocol;
61
62extern TCG_CONFIG_PRIVATE_DATA mTcgConfigPrivateDateTemplate;
63
64#define TCG_CONFIG_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('T', 'C', 'G', 'D')
65#define TCG_CONFIG_PRIVATE_DATA_FROM_THIS(a) CR (a, TCG_CONFIG_PRIVATE_DATA, ConfigAccess, TCG_CONFIG_PRIVATE_DATA_SIGNATURE)
66
79 IN OUT TCG_CONFIG_PRIVATE_DATA *PrivateData
80 );
81
88VOID
90 IN OUT TCG_CONFIG_PRIVATE_DATA *PrivateData
91 );
92
120EFIAPI
123 IN CONST EFI_STRING Request,
124 OUT EFI_STRING *Progress,
125 OUT EFI_STRING *Results
126 );
127
147EFIAPI
150 IN CONST EFI_STRING Configuration,
151 OUT EFI_STRING *Progress
152 );
153
177EFIAPI
180 IN EFI_BROWSER_ACTION Action,
181 IN EFI_QUESTION_ID QuestionId,
182 IN UINT8 Type,
183 IN EFI_IFR_TYPE_VALUE *Value,
184 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
185 );
186
187#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI TcgCallback(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN EFI_BROWSER_ACTION Action, IN EFI_QUESTION_ID QuestionId, IN UINT8 Type, IN EFI_IFR_TYPE_VALUE *Value, OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest)
EFI_STATUS EFIAPI TcgExtractConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Request, OUT EFI_STRING *Progress, OUT EFI_STRING *Results)
EFI_STATUS InstallTcgConfigForm(IN OUT TCG_CONFIG_PRIVATE_DATA *PrivateData)
VOID UninstallTcgConfigForm(IN OUT TCG_CONFIG_PRIVATE_DATA *PrivateData)
EFI_STATUS EFIAPI TcgRouteConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Configuration, OUT EFI_STRING *Progress)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
VOID * EFI_HII_HANDLE