summaryrefslogtreecommitdiff
path: root/source/include/amlcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/amlcode.h')
-rw-r--r--source/include/amlcode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/amlcode.h b/source/include/amlcode.h
index bc8c0b0d3dd02..0695185e522a6 100644
--- a/source/include/amlcode.h
+++ b/source/include/amlcode.h
@@ -46,6 +46,9 @@
#ifndef __AMLCODE_H__
#define __AMLCODE_H__
+#pragma pack(push) /* Set default struct packing */
+
+
/* primary opcodes */
#define AML_NULL_CHAR (UINT16) 0x00
@@ -509,4 +512,6 @@ typedef enum
#define AML_METHOD_SYNC_LEVEL 0xF0
+#pragma pack(pop) /* Restore original struct packing */
+
#endif /* __AMLCODE_H__ */