TIS (TPM Interface Specification) functions used by dTPM2.0 library.\r
\r
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
DEBUG_CODE (\r
UINTN DebugSize;\r
\r
- DEBUG ((EFI_D_INFO, "Tpm2TisTpmCommand Send - "));\r
+ DEBUG ((EFI_D_VERBOSE, "Tpm2TisTpmCommand Send - "));\r
if (SizeIn > 0x100) {\r
DebugSize = 0x40;\r
} else {\r
DebugSize = SizeIn;\r
}\r
for (Index = 0; Index < DebugSize; Index++) {\r
- DEBUG ((EFI_D_INFO, "%02x ", BufferIn[Index]));\r
+ DEBUG ((EFI_D_VERBOSE, "%02x ", BufferIn[Index]));\r
}\r
if (DebugSize != SizeIn) {\r
- DEBUG ((EFI_D_INFO, "...... "));\r
+ DEBUG ((EFI_D_VERBOSE, "...... "));\r
for (Index = SizeIn - 0x20; Index < SizeIn; Index++) {\r
- DEBUG ((EFI_D_INFO, "%02x ", BufferIn[Index]));\r
+ DEBUG ((EFI_D_VERBOSE, "%02x ", BufferIn[Index]));\r
}\r
}\r
- DEBUG ((EFI_D_INFO, "\n"));\r
+ DEBUG ((EFI_D_VERBOSE, "\n"));\r
);\r
TpmOutSize = 0;\r
\r
}\r
}\r
DEBUG_CODE (\r
- DEBUG ((EFI_D_INFO, "TisTpmCommand ReceiveHeader - "));\r
+ DEBUG ((EFI_D_VERBOSE, "TisTpmCommand ReceiveHeader - "));\r
for (Index = 0; Index < sizeof (TPM2_RESPONSE_HEADER); Index++) {\r
- DEBUG ((EFI_D_INFO, "%02x ", BufferOut[Index]));\r
+ DEBUG ((EFI_D_VERBOSE, "%02x ", BufferOut[Index]));\r
}\r
- DEBUG ((EFI_D_INFO, "\n"));\r
+ DEBUG ((EFI_D_VERBOSE, "\n"));\r
);\r
//\r
// Check the reponse data header (tag,parasize and returncode )\r
}\r
Exit:\r
DEBUG_CODE (\r
- DEBUG ((EFI_D_INFO, "Tpm2TisTpmCommand Receive - "));\r
+ DEBUG ((EFI_D_VERBOSE, "Tpm2TisTpmCommand Receive - "));\r
for (Index = 0; Index < TpmOutSize; Index++) {\r
- DEBUG ((EFI_D_INFO, "%02x ", BufferOut[Index]));\r
+ DEBUG ((EFI_D_VERBOSE, "%02x ", BufferOut[Index]));\r
}\r
- DEBUG ((EFI_D_INFO, "\n"));\r
+ DEBUG ((EFI_D_VERBOSE, "\n"));\r
);\r
MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY);\r
return Status;\r