diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 05:37:28 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 13:59:29 +0000 |
commit | 41b073e7d30e202878db875fba6ec59de776a54b (patch) | |
tree | a6c45f0ce045609885f2adfde46d24e68969d4a7 /resources/utilities/ich9deblob | |
parent | 8f71f88028558ef356a7fb2804dfd75e32ff18e0 (diff) | |
download | librebootfr-41b073e7d30e202878db875fba6ec59de776a54b.tar.gz librebootfr-41b073e7d30e202878db875fba6ec59de776a54b.zip |
ich9deblob: gbe struct: fix misaligned reserved word 03h bitfield
Diffstat (limited to 'resources/utilities/ich9deblob')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.h | 3 |
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 */ |