]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmCpuState/CpuSaveState.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Protocol / SmmCpuState / CpuSaveState.h
index 05cc98334745adf4723f89cacd14b7c8c4c45aa8..d541ad67a5ca609ee09e5cad9cc773ce1fd4e2d6 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2005, 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
@@ -33,11 +33,13 @@ typedef unsigned long               ASM_UINT32;
 #ifdef _H2INC\r
 typedef double                      ASM_UINT64;\r
 #else\r
-typedef unsigned __int64            ASM_UINT64;\r
+typedef UINT64                      ASM_UINT64;\r
 #endif\r
 \r
+#ifndef __GNUC__\r
 #pragma pack (push)\r
 #pragma pack (1)\r
+#endif\r
 \r
 typedef struct _EFI_SMM_CPU_STATE32 {\r
   ASM_UINT8                         Reserved1[0xf8];        // fe00h\r
@@ -132,8 +134,12 @@ typedef struct _EFI_SMM_CPU_STATE64 {
   ASM_UINT64                        _CR0;                   // fff8h\r
 } EFI_SMM_CPU_STATE64;\r
 \r
+#ifndef __GNUC__\r
 #pragma warning (push)\r
 #pragma warning (disable: 4201)\r
+#endif\r
+\r
+\r
 typedef union _EFI_SMM_CPU_STATE {\r
   struct {\r
     ASM_UINT8                       Reserved[0x200];\r
@@ -141,9 +147,11 @@ typedef union _EFI_SMM_CPU_STATE {
   };\r
   EFI_SMM_CPU_STATE64               x64;\r
 } EFI_SMM_CPU_STATE;\r
-#pragma warning (pop)\r
 \r
+#ifndef __GNUC__\r
+#pragma warning (pop)\r
 #pragma pack (pop)\r
+#endif\r
 \r
 #define EFI_SMM_MIN_REV_ID_x64      0x30006\r
 \r