]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Protocol / TcgService / TcgService.h
index d461e959174f3d2dfa208fa0a40827a33889237c..84d244555e4b3d440e512b2bcee6a7eed495277a 100644 (file)
@@ -1,7 +1,7 @@
 /*++\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
@@ -27,10 +27,10 @@ Abstract:
 #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
@@ -50,7 +50,7 @@ EFI_FORWARD_DECLARATION (EFI_TCG_PROTOCOL);
 //\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
@@ -74,7 +74,7 @@ typedef UINT32   TCG_ALGORITHM_ID;
 //\r
 // Restore original structure alignment\r
 //\r
-#pragma pack (pop)\r
+#pragma pack ()\r
 \r
 typedef\r
 EFI_STATUS\r
@@ -129,13 +129,13 @@ EFI_STATUS
      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