UINT16 Data16;\r
UINT32 Data32;\r
\r
- DEBUG_CODE (\r
+ DEBUG_CODE_BEGIN ();\r
UINTN DebugSize;\r
\r
DEBUG ((DEBUG_VERBOSE, "Tpm2TisTpmCommand Send - "));\r
}\r
}\r
DEBUG ((DEBUG_VERBOSE, "\n"));\r
- );\r
+ DEBUG_CODE_END ();\r
TpmOutSize = 0;\r
\r
Status = TisPcPrepareCommand (TisReg);\r
if (Index == sizeof (TPM2_RESPONSE_HEADER)) break;\r
}\r
}\r
- DEBUG_CODE (\r
+ DEBUG_CODE_BEGIN ();\r
DEBUG ((DEBUG_VERBOSE, "Tpm2TisTpmCommand ReceiveHeader - "));\r
for (Index = 0; Index < sizeof (TPM2_RESPONSE_HEADER); Index++) {\r
DEBUG ((DEBUG_VERBOSE, "%02x ", BufferOut[Index]));\r
}\r
DEBUG ((DEBUG_VERBOSE, "\n"));\r
- );\r
+ DEBUG_CODE_END ();\r
//\r
// Check the response data header (tag,parasize and returncode )\r
//\r
}\r
}\r
Exit:\r
- DEBUG_CODE (\r
+ DEBUG_CODE_BEGIN ();\r
DEBUG ((DEBUG_VERBOSE, "Tpm2TisTpmCommand Receive - "));\r
for (Index = 0; Index < TpmOutSize; Index++) {\r
DEBUG ((DEBUG_VERBOSE, "%02x ", BufferOut[Index]));\r
}\r
DEBUG ((DEBUG_VERBOSE, "\n"));\r
- );\r
+ DEBUG_CODE_END ();\r
MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY);\r
return Status;\r
}\r