/*++\r
\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<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
http://opensource.org/licenses/bsd-license.php \r
#include "EfiTpm.h"\r
\r
#define EFI_TCG_PROTOCOL_GUID \\r
- {0xf541796d, 0xa62e, 0x4954, 0xa7, 0x75, 0x95, 0x84, 0xf6, 0x1b, 0x9c, 0xdd}\r
+ {0xf541796d, 0xa62e, 0x4954, {0xa7, 0x75, 0x95, 0x84, 0xf6, 0x1b, 0x9c, 0xdd}}\r
\r
#define EFI_TCG_PLATFORM_PROTOCOL_GUID \\r
- { 0x8c4c9a41, 0xbf56, 0x4627, 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c }\r
+ { 0x8c4c9a41, 0xbf56, 0x4627, {0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c} }\r
\r
#define TSS_EVENT_DATA_MAX_SIZE 256\r
\r
//\r
// Set structure alignment to 1-byte\r
//\r
-#pragma pack (push, 1)\r
+#pragma pack (1)\r
\r
typedef struct {\r
UINT8 Major;\r
//\r
// Restore original structure alignment\r
//\r
-#pragma pack (pop)\r
+#pragma pack ()\r
\r
typedef\r
EFI_STATUS\r
OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry\r
);\r
\r
-typedef struct _EFI_TCG_PROTOCOL {\r
+struct _EFI_TCG_PROTOCOL {\r
EFI_TCG_STATUS_CHECK StatusCheck;\r
EFI_TCG_HASH_ALL HashAll;\r
EFI_TCG_LOG_EVENT LogEvent;\r
EFI_TCG_PASS_THROUGH_TO_TPM PassThroughToTpm;\r
EFI_TCG_HASH_LOG_EXTEND_EVENT HashLogExtendEvent;\r
-} EFI_TCG_PROTOCOL;\r
+};\r
\r
extern EFI_GUID gEfiTcgProtocolGuid;\r
\r