/*++\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
#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
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
};\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