aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-26 05:37:28 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-26 13:59:29 +0000
commit41b073e7d30e202878db875fba6ec59de776a54b (patch)
treea6c45f0ce045609885f2adfde46d24e68969d4a7 /resources/utilities
parent8f71f88028558ef356a7fb2804dfd75e32ff18e0 (diff)
downloadlibrebootfr-41b073e7d30e202878db875fba6ec59de776a54b.tar.gz
librebootfr-41b073e7d30e202878db875fba6ec59de776a54b.zip
ich9deblob: gbe struct: fix misaligned reserved word 03h bitfield
Diffstat (limited to 'resources/utilities')
-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 689846f2..92ce40a9 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 */