summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-26 00:37:28 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-26 08:59:29 (EST)
commit41b073e7d30e202878db875fba6ec59de776a54b (patch)
treea6c45f0ce045609885f2adfde46d24e68969d4a7 /resources
parent8f71f88028558ef356a7fb2804dfd75e32ff18e0 (diff)
downloadlibreboot-41b073e7d30e202878db875fba6ec59de776a54b.zip
libreboot-41b073e7d30e202878db875fba6ec59de776a54b.tar.gz
libreboot-41b073e7d30e202878db875fba6ec59de776a54b.tar.bz2
ich9deblob: gbe struct: fix misaligned reserved word 03h bitfield
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h
index 689846f..92ce40a 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -68,7 +68,8 @@
struct GBE_RESERVED_WORD_03H {
/* least significant bits */
- unsigned short reserved1 : 11; /* bits should all be set to zero */
+ unsigned char reserved1_0 : 8; /* bits should all be set to zero */
+ unsigned char reserved1_1 : 3; /* ^ part of above. Separated so that the bitfields align */
unsigned char ibaLom : 1; /* set to 1 for intel boot agent to work (i.e. set it to 0) */
unsigned char reserved2 : 4; /* bits should all be set to zero */
/* most significant bits */