summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/Mbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Mbr.h')
-rw-r--r--MdePkg/Include/IndustryStandard/Mbr.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/MdePkg/Include/IndustryStandard/Mbr.h b/MdePkg/Include/IndustryStandard/Mbr.h
index 39120c7a21..8dd9d59f26 100644
--- a/MdePkg/Include/IndustryStandard/Mbr.h
+++ b/MdePkg/Include/IndustryStandard/Mbr.h
@@ -27,9 +27,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define MBR_SIZE 512
-///
-/// MBR Partition Entry
-///
+#pragma pack(1)
+//
+// MBR Partition Entry
+//
typedef struct {
UINT8 BootIndicator;
UINT8 StartHead;
@@ -54,4 +55,6 @@ typedef struct {
UINT16 Signature;
} MASTER_BOOT_RECORD;
+#pragma pack()
+
#endif