#pragma pack(1)\r
\r
typedef struct {\r
- TPM_RQU_COMMAND_HDR Hdr;\r
- TPM_PHYSICAL_PRESENCE PhysicalPresence;\r
+ TPM_RQU_COMMAND_HDR Hdr;\r
+ TPM_PHYSICAL_PRESENCE PhysicalPresence;\r
} TPM_CMD_PHYSICAL_PRESENCE;\r
\r
#pragma pack()\r
Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));\r
Command.Hdr.ordinal = SwapBytes32 (TSC_ORD_PhysicalPresence);\r
Command.PhysicalPresence = SwapBytes16 (PhysicalPresence);\r
- Length = sizeof (Response);\r
+ Length = sizeof (Response);\r
\r
Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response);\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
\r
- if (SwapBytes32(Response.returnCode) != TPM_SUCCESS) {\r
- DEBUG ((DEBUG_ERROR, "Tpm12PhysicalPresence: Response Code error! 0x%08x\r\n", SwapBytes32(Response.returnCode)));\r
+ if (SwapBytes32 (Response.returnCode) != TPM_SUCCESS) {\r
+ DEBUG ((DEBUG_ERROR, "Tpm12PhysicalPresence: Response Code error! 0x%08x\r\n", SwapBytes32 (Response.returnCode)));\r
return EFI_DEVICE_ERROR;\r
}\r
\r