mirror of https://github.com/acidanthera/audk.git
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:
parent
ab7136ad81
commit
62d1e08bd1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue