TianoCore EDK2 master
Loading...
Searching...
No Matches
Tcg2PhysicalPresenceLib.h
Go to the documentation of this file.
1
10#ifndef _TCG2_PHYSICAL_PRESENCE_LIB_H_
11#define _TCG2_PHYSICAL_PRESENCE_LIB_H_
12
16
17//
18// UEFI TCG2 library definition bit of the BIOS TPM Management Flags
19//
20// BIT0 is reserved
21#define TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CLEAR BIT1
22// BIT2 is reserved
23#define TCG2_LIB_PP_FLAG_RESET_TRACK BIT3
24#define TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_TURN_ON BIT4
25#define TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_TURN_OFF BIT5
26#define TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CHANGE_EPS BIT6
27#define TCG2_BIOS_TPM_MANAGEMENT_FLAG_PP_REQUIRED_FOR_CHANGE_PCRS BIT7
28
29//
30// UEFI TCG2 library definition bit of the BIOS Information Flags
31//
32#define TCG2_BIOS_INFORMATION_FLAG_HIERARCHY_CONTROL_STORAGE_DISABLE BIT8
33#define TCG2_BIOS_INFORMATION_FLAG_HIERARCHY_CONTROL_ENDORSEMENT_DISABLE BIT9
34
35//
36// UEFI TCG2 library definition bit of the BIOS Storage Management Flags
37//
38#define TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_ENABLE_BLOCK_SID BIT16
39#define TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_PP_REQUIRED_FOR_DISABLE_BLOCK_SID BIT17
40#define TCG2_BIOS_STORAGE_MANAGEMENT_FLAG_ENABLE_BLOCK_SID BIT18
41
55VOID
56EFIAPI
58 IN TPM2B_AUTH *PlatformAuth OPTIONAL
59 );
60
71BOOLEAN
72EFIAPI
74 VOID
75 );
76
82UINT32
83EFIAPI
85 VOID
86 );
87
99UINT32
100EFIAPI
102 OUT UINT32 *MostRecentRequest,
103 OUT UINT32 *Response
104 );
105
121UINT32
123 IN OUT UINT32 *OperationRequest,
124 IN OUT UINT32 *RequestParameter
125 );
126
142UINT32
143EFIAPI
145 IN UINT32 OperationRequest,
146 IN UINT32 RequestParameter
147 );
148
161UINT32
162EFIAPI
164 IN UINT32 OperationRequest
165 );
166
167#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINT32 EFIAPI Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction(IN UINT32 OperationRequest, IN UINT32 RequestParameter)
UINT32 EFIAPI Tcg2PhysicalPresenceLibReturnOperationResponseToOsFunction(OUT UINT32 *MostRecentRequest, OUT UINT32 *Response)
UINT32 EFIAPI Tcg2PhysicalPresenceLibGetManagementFlags(VOID)
BOOLEAN EFIAPI Tcg2PhysicalPresenceLibNeedUserConfirm(VOID)
UINT32 EFIAPI Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction(IN UINT32 OperationRequest)
VOID EFIAPI Tcg2PhysicalPresenceLibProcessRequest(IN TPM2B_AUTH *PlatformAuth OPTIONAL)
UINT32 Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunctionEx(IN OUT UINT32 *OperationRequest, IN OUT UINT32 *RequestParameter)