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
This commit is contained in:
lgao4 2007-07-06 02:53:00 +00:00
parent ab7136ad81
commit 62d1e08bd1
1 changed files with 2 additions and 0 deletions

View File

@ -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