From: lgao4 Date: Thu, 16 Nov 2006 05:49:22 +0000 (+0000) Subject: Add pack(1) for boot scipt structure. X-Git-Tag: edk2-stable201903~23917 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4a0b6afe5ac480f672e5c2d9afb67eaf51bd8b40 Add pack(1) for boot scipt structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1960 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Common/BootScript.h b/MdePkg/Include/Common/BootScript.h index 59d71c1f79..8e2ddb9d1a 100644 --- a/MdePkg/Include/Common/BootScript.h +++ b/MdePkg/Include/Common/BootScript.h @@ -40,6 +40,8 @@ #define EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA #define EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF +#pragma pack(1) + // // EFI Boot Script Width // @@ -204,4 +206,6 @@ typedef union { UINT8 *Raw; } BOOT_SCRIPT_POINTERS; +#pragma pack() + #endif