Home
last modified time | relevance | path

Searched refs:mTcgNvs (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEESmm/
DTrEESmm.c41 TCG_NVS *mTcgNvs; variable
87 …"[TPM2] PP callback, Parameter = %x, Request = %x\n", mTcgNvs->PhysicalPresence.Parameter, mTcgNvs in PhysicalPresenceCallback()
89 if (mTcgNvs->PhysicalPresence.Parameter == ACPI_FUNCTION_RETURN_REQUEST_RESPONSE_TO_OS) { in PhysicalPresenceCallback()
91 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE; in PhysicalPresenceCallback()
92 mTcgNvs->PhysicalPresence.LastRequest = 0; in PhysicalPresenceCallback()
93 mTcgNvs->PhysicalPresence.Response = 0; in PhysicalPresenceCallback()
97 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_SUCCESS; in PhysicalPresenceCallback()
98 mTcgNvs->PhysicalPresence.LastRequest = PpData.LastPPRequest; in PhysicalPresenceCallback()
99 mTcgNvs->PhysicalPresence.Response = PpData.PPResponse; in PhysicalPresenceCallback()
100 } else if ((mTcgNvs->PhysicalPresence.Parameter == ACPI_FUNCTION_SUBMIT_REQUEST_TO_BIOS) in PhysicalPresenceCallback()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgSmm/
DTcgSmm.c25 TCG_NVS *mTcgNvs; variable
71 DEBUG ((EFI_D_INFO, "[TPM] PP callback, Parameter = %x\n", mTcgNvs->PhysicalPresence.Parameter)); in PhysicalPresenceCallback()
72 if (mTcgNvs->PhysicalPresence.Parameter == ACPI_FUNCTION_RETURN_REQUEST_RESPONSE_TO_OS) { in PhysicalPresenceCallback()
74 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE; in PhysicalPresenceCallback()
75 mTcgNvs->PhysicalPresence.LastRequest = 0; in PhysicalPresenceCallback()
76 mTcgNvs->PhysicalPresence.Response = 0; in PhysicalPresenceCallback()
80 mTcgNvs->PhysicalPresence.ReturnCode = PP_RETURN_TPM_OPERATION_RESPONSE_SUCCESS; in PhysicalPresenceCallback()
81 mTcgNvs->PhysicalPresence.LastRequest = PpData.LastPPRequest; in PhysicalPresenceCallback()
82 mTcgNvs->PhysicalPresence.Response = PpData.PPResponse; in PhysicalPresenceCallback()
83 } else if ((mTcgNvs->PhysicalPresence.Parameter == ACPI_FUNCTION_SUBMIT_REQUEST_TO_BIOS) in PhysicalPresenceCallback()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/
DTcg2Smm.c92 TCG_NVS *mTcgNvs; variable
126 if (mTcgNvs->PhysicalPresence.Parameter == TCG_ACPI_FUNCTION_RETURN_REQUEST_RESPONSE_TO_OS) { in PhysicalPresenceCallback()
127mTcgNvs->PhysicalPresence.ReturnCode = Tcg2PhysicalPresenceLibReturnOperationResponseToOsFunction ( in PhysicalPresenceCallback()
131 mTcgNvs->PhysicalPresence.LastRequest = MostRecentRequest; in PhysicalPresenceCallback()
132 mTcgNvs->PhysicalPresence.Response = Response; in PhysicalPresenceCallback()
134 } else if ((mTcgNvs->PhysicalPresence.Parameter == TCG_ACPI_FUNCTION_SUBMIT_REQUEST_TO_BIOS) in PhysicalPresenceCallback()
135 || (mTcgNvs->PhysicalPresence.Parameter == TCG_ACPI_FUNCTION_SUBMIT_REQUEST_TO_BIOS_2)) { in PhysicalPresenceCallback()
137 OperationRequest = mTcgNvs->PhysicalPresence.Request; in PhysicalPresenceCallback()
138 RequestParameter = mTcgNvs->PhysicalPresence.RequestParameter; in PhysicalPresenceCallback()
139 mTcgNvs->PhysicalPresence.ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunctionEx ( in PhysicalPresenceCallback()
[all …]