From 62d1e08bd1df645467fa34e972bc2f3cc9321222 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 6 Jul 2007 02:53:00 +0000 Subject: [PATCH] Add pack(1) for section header structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3091 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Pi/PiFirmwareFile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdePkg/Include/Pi/PiFirmwareFile.h b/MdePkg/Include/Pi/PiFirmwareFile.h index 1e8eba50c4..6487ae943d 100644 --- a/MdePkg/Include/Pi/PiFirmwareFile.h +++ b/MdePkg/Include/Pi/PiFirmwareFile.h @@ -18,6 +18,7 @@ #ifndef __PI_FIRMWARE_FILE_H__ #define __PI_FIRMWARE_FILE_H__ +#pragma pack(1) // // Used to verify the integrity of the file. // @@ -224,6 +225,7 @@ typedef struct { #define SECTION_SIZE(SectionHeaderPtr) \ ((UINT32) (*((UINT32 *) ((EFI_COMMON_SECTION_HEADER *) SectionHeaderPtr)->Size) & 0x00ffffff)) +#pragma pack() #endif