15#ifndef _TCG_PP_VENDOR_LIB_H_
16#define _TCG_PP_VENDOR_LIB_H_
21#define TCG_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION 128
26#define TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_PROVISION BIT0
27#define TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_CLEAR BIT1
28#define TCG_BIOS_TPM_MANAGEMENT_FLAG_NO_PPI_MAINTENANCE BIT2
29#define TCG_VENDOR_LIB_FLAG_RESET_TRACK BIT3
34#define TCG_PP_OPERATION_RESPONSE_SUCCESS 0x0
35#define TCG_PP_OPERATION_RESPONSE_USER_ABORT 0xFFFFFFF0
36#define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1
42#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0
43#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1
44#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE 2
45#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_BLOCKED_BY_BIOS_SETTINGS 3
50#define TCG_PP_GET_USER_CONFIRMATION_NOT_IMPLEMENTED 0
51#define TCG_PP_GET_USER_CONFIRMATION_BIOS_ONLY 1
52#define TCG_PP_GET_USER_CONFIRMATION_BLOCKED_BY_BIOS_CONFIGURATION 2
53#define TCG_PP_GET_USER_CONFIRMATION_ALLOWED_AND_PPUSER_REQUIRED 3
54#define TCG_PP_GET_USER_CONFIRMATION_ALLOWED_AND_PPUSER_NOT_REQUIRED 4
76 IN UINT32 OperationRequest,
77 IN OUT UINT32 *ManagementFlags,
78 OUT BOOLEAN *ResetRequired
102 IN UINT32 OperationRequest,
103 IN UINT32 ManagementFlags,
104 OUT BOOLEAN *RequestConfirmed
127 IN UINT32 OperationRequest,
128 IN UINT32 ManagementFlags
149 IN UINT32 OperationRequest,
150 IN UINT32 ManagementFlags
BOOLEAN EFIAPI TcgPpVendorLibHasValidRequest(IN UINT32 OperationRequest, IN UINT32 ManagementFlags, OUT BOOLEAN *RequestConfirmed)
UINT32 EFIAPI TcgPpVendorLibGetUserConfirmationStatusFunction(IN UINT32 OperationRequest, IN UINT32 ManagementFlags)
UINT32 EFIAPI TcgPpVendorLibSubmitRequestToPreOSFunction(IN UINT32 OperationRequest, IN UINT32 ManagementFlags)
UINT32 EFIAPI TcgPpVendorLibExecutePendingRequest(IN UINT32 OperationRequest, IN OUT UINT32 *ManagementFlags, OUT BOOLEAN *ResetRequired)