Add pack(1) for boot scipt structure.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Nov 2006 05:49:22 +0000 (05:49 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Nov 2006 05:49:22 +0000 (05:49 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1960 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Common/BootScript.h

index 59d71c1..8e2ddb9 100644 (file)
@@ -40,6 +40,8 @@
 #define EFI_BOOT_SCRIPT_TABLE_OPCODE                  0xAA\r
 #define EFI_BOOT_SCRIPT_TERMINATE_OPCODE              0xFF\r
 \r
+#pragma pack(1)\r
+\r
 //\r
 // EFI Boot Script Width\r
 //\r
@@ -204,4 +206,6 @@ typedef union {
   UINT8                                 *Raw;\r
 } BOOT_SCRIPT_POINTERS;\r
 \r
+#pragma pack()\r
+\r
 #endif\r