From 41b073e7d30e202878db875fba6ec59de776a54b Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 26 Dec 2014 05:37:28 +0000 Subject: ich9deblob: gbe struct: fix misaligned reserved word 03h bitfield --- resources/utilities/ich9deblob/src/gbe/gbe.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/utilities/ich9deblob') 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 */ -- cgit v1.2.3-70-g09d2