summaryrefslogtreecommitdiff
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
committerHao Wu <hao.a.wu@intel.com>2016-02-24 09:32:35 +0800
commit25c18d5a964b2419748fe56c7f51f337be467cb8 (patch)
tree429636977a591149667164048a156d6f4c087976 /SecurityPkg/Library
parent0246cee85adaa62413bd784eb07c4e59760b7d1a (diff)
downloadedk2-platforms-25c18d5a964b2419748fe56c7f51f337be467cb8.tar.xz
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 (cherry picked from commit c2967d35d84fce6caf6691d2d892d20e8c273601)
Diffstat (limited to 'SecurityPkg/Library')
-rw-r--r--SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
index a1862796a5..4eab72f811 100644
--- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
+++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
@@ -2,6 +2,7 @@
TIS (TPM Interface Specification) functions used by dTPM2.0 library.
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -369,7 +370,7 @@ TisPcRequestUseTpm (
**/
EFI_STATUS
-TisTpmCommand (
+Tpm2TisTpmCommand (
IN TIS_PC_REGISTERS_PTR TisReg,
IN UINT8 *BufferIn,
IN UINT32 SizeIn,
@@ -477,7 +478,7 @@ TisTpmCommand (
}
}
DEBUG_CODE (
- DEBUG ((EFI_D_INFO, "TisTpmCommand ReceiveHeader - "));
+ DEBUG ((EFI_D_INFO, "Tpm2TisTpmCommand ReceiveHeader - "));
for (Index = 0; Index < sizeof (TPM2_RESPONSE_HEADER); Index++) {
DEBUG ((EFI_D_INFO, "%02x ", BufferOut[Index]));
}
@@ -552,7 +553,7 @@ DTpm2SubmitCommand (
IN UINT8 *OutputParameterBlock
)
{
- return TisTpmCommand (
+ return Tpm2TisTpmCommand (
(TIS_PC_REGISTERS_PTR) (UINTN) PcdGet64 (PcdTpmBaseAddress),
InputParameterBlock,
InputParameterBlockSize,