]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Per PI spec, StatusCode related structure is not required to be defined as packed...
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Feb 2011 01:25:56 +0000 (01:25 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Feb 2011 01:25:56 +0000 (01:25 +0000)
Notes:
1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source.
2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11316 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Guid/StatusCodeDataTypeId.h

index 556128dee150ffa76fe2b558a85a4e08de0fdf72..dbe7662faff414eb160da63bbbf983f7e87be348 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   GUID used to identify id for the caller who is initiating the Status Code.\r
 \r
-  Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2011, 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
@@ -27,9 +27,7 @@
 ///\r
 #define EFI_STATUS_CODE_DATA_TYPE_STRING_GUID \\r
   { 0x92D11080, 0x496F, 0x4D95, { 0xBE, 0x7E, 0x03, 0x74, 0x88, 0x38, 0x2B, 0x0A } }\r
\r
-#pragma pack(1)\r
\r
+\r
 typedef enum {\r
   ///\r
   /// A NULL-terminated ASCII string.\r
@@ -104,8 +102,6 @@ typedef struct {
   EFI_STATUS_CODE_STRING         String;\r
 } EFI_STATUS_CODE_STRING_DATA;\r
 \r
-#pragma pack()\r
-\r
 extern EFI_GUID gEfiStatusCodeDataTypeStringGuid;\r
 \r
 ///\r
@@ -126,8 +122,6 @@ extern EFI_GUID gEfiStatusCodeDataTypeStringGuid;
 #define EFI_STATUS_CODE_SPECIFIC_DATA_GUID \\r
   { 0x335984bd, 0xe805, 0x409a, { 0xb8, 0xf8, 0xd2, 0x7e, 0xce, 0x5f, 0xf7, 0xa6 } }\r
 \r
-#pragma pack(1)\r
-\r
 ///\r
 /// Extended data about the device path, which is used for many errors and \r
 /// progress codes to point to the device.\r
@@ -778,8 +772,6 @@ typedef struct {
   EFI_PHYSICAL_ADDRESS  RomImageBase;\r
 } EFI_LEGACY_OPROM_EXTENDED_DATA;\r
 \r
-#pragma pack()\r
-\r
 extern EFI_GUID gEfiStatusCodeSpecificDataGuid;\r
 \r
 #endif\r