]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
SecurityPkg : Tpm2DeviceLibDTpm : Rename TisTpmCommand to avoid name collision
[mirror_edk2.git] / SecurityPkg / Library / Tpm2DeviceLibDTpm / Tpm2Tis.c
index b7dd57df8dd0ca121755c34ec73711c907e0bf17..1276aea9c237827e5d86652235bef0b1236776d2 100644 (file)
@@ -370,7 +370,7 @@ TisPcRequestUseTpm (
 \r
 **/\r
 EFI_STATUS\r
-TisTpmCommand (\r
+Tpm2TisTpmCommand (\r
   IN     TIS_PC_REGISTERS_PTR       TisReg,\r
   IN     UINT8                      *BufferIn,\r
   IN     UINT32                     SizeIn,\r
@@ -478,7 +478,7 @@ TisTpmCommand (
     }\r
   }\r
   DEBUG_CODE (\r
-    DEBUG ((EFI_D_VERBOSE, "TisTpmCommand ReceiveHeader - "));\r
+    DEBUG ((EFI_D_VERBOSE, "Tpm2TisTpmCommand ReceiveHeader - "));\r
     for (Index = 0; Index < sizeof (TPM2_RESPONSE_HEADER); Index++) {\r
       DEBUG ((EFI_D_VERBOSE, "%02x ", BufferOut[Index]));\r
     }\r
@@ -553,7 +553,7 @@ DTpm2SubmitCommand (
   IN UINT8             *OutputParameterBlock\r
   )\r
 {\r
-  return TisTpmCommand (\r
+  return Tpm2TisTpmCommand (\r
            (TIS_PC_REGISTERS_PTR) (UINTN) PcdGet64 (PcdTpmBaseAddress),\r
            InputParameterBlock,\r
            InputParameterBlockSize,\r