summaryrefslogtreecommitdiff
path: root/source/include/acbuffer.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
commit526d99544ba42a5a2155021975b3b97da425819e (patch)
treef33eb960cbd87cb5fa516e45153eb6351dc8ea2e /source/include/acbuffer.h
parent7bf0bd8c239ae7e6cb5c98382db85377146519d6 (diff)
Notes
Diffstat (limited to 'source/include/acbuffer.h')
-rw-r--r--source/include/acbuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/acbuffer.h b/source/include/acbuffer.h
index a36a980aa954..8e3cb3d831be 100644
--- a/source/include/acbuffer.h
+++ b/source/include/acbuffer.h
@@ -44,6 +44,9 @@
#ifndef __ACBUFFER_H__
#define __ACBUFFER_H__
+
+#pragma pack(push) /* Set default struct packing */
+
/*
* Contains buffer structures for these predefined names:
* _FDE, _GRT, _GTM, _PLD, _SRT
@@ -243,4 +246,6 @@ typedef struct acpi_pld_info
#define ACPI_PLD_SET_HORIZ_OFFSET(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) /* Offset 128+16=144, Len 16 */
+#pragma pack(pop) /* Restore original struct packing */
+
#endif /* ACBUFFER_H */