summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Library
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>2016-01-08 01:36:45 +0000
committerczhang46 <czhang46@Edk2>2016-01-08 01:36:45 +0000
commitc2967d35d84fce6caf6691d2d892d20e8c273601 (patch)
tree97a8c22d1f8631b735eddc36df157abbe4716143 /SecurityPkg/Library
parentb7d5f6ca1348298359902443254c44a144802f34 (diff)
downloadedk2-c2967d35d84fce6caf6691d2d892d20e8c273601.tar.gz
edk2-c2967d35d84fce6caf6691d2d892d20e8c273601.tar.bz2
edk2-c2967d35d84fce6caf6691d2d892d20e8c273601.zip
SecurityPkg : Tpm2DeviceLibDTpm : Rename TisTpmCommand to avoid name collision
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
Diffstat (limited to 'SecurityPkg/Library')
-rw-r--r--SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
index b7dd57df8d..1276aea9c2 100644
--- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
+++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
@@ -370,7 +370,7 @@ TisPcRequestUseTpm (
**/
EFI_STATUS
-TisTpmCommand (
+Tpm2TisTpmCommand (
IN TIS_PC_REGISTERS_PTR TisReg,
IN UINT8 *BufferIn,
IN UINT32 SizeIn,
@@ -478,7 +478,7 @@ TisTpmCommand (
}
}
DEBUG_CODE (
- DEBUG ((EFI_D_VERBOSE, "TisTpmCommand ReceiveHeader - "));
+ DEBUG ((EFI_D_VERBOSE, "Tpm2TisTpmCommand ReceiveHeader - "));
for (Index = 0; Index < sizeof (TPM2_RESPONSE_HEADER); Index++) {
DEBUG ((EFI_D_VERBOSE, "%02x ", BufferOut[Index]));
}
@@ -553,7 +553,7 @@ DTpm2SubmitCommand (
IN UINT8 *OutputParameterBlock
)
{
- return TisTpmCommand (
+ return Tpm2TisTpmCommand (
(TIS_PC_REGISTERS_PTR) (UINTN) PcdGet64 (PcdTpmBaseAddress),
InputParameterBlock,
InputParameterBlockSize,