]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg : Tpm2DeviceLibDTpm : Rename TisTpmCommand to avoid name collision
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Fri, 8 Jan 2016 01:36:45 +0000 (01:36 +0000)
committerczhang46 <czhang46@Edk2>
Fri, 8 Jan 2016 01:36:45 +0000 (01:36 +0000)
Change TisTpmCommand to Tpm2TisTpmCommand. Makes function name more clear.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19622 6f19259b-4bc3-4df7-8a09-765794883524

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