summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Pi
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 02:53:00 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 02:53:00 +0000
commit62d1e08bd1df645467fa34e972bc2f3cc9321222 (patch)
treef3005c219ef6975bc0b0271dd01ec0f93c79c581 /MdePkg/Include/Pi
parentab7136ad811d49a553222523e19742dcbce6736f (diff)
downloadedk2-platforms-62d1e08bd1df645467fa34e972bc2f3cc9321222.tar.xz
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
Diffstat (limited to 'MdePkg/Include/Pi')
-rw-r--r--MdePkg/Include/Pi/PiFirmwareFile.h2
1 files changed, 2 insertions, 0 deletions
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