aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-26 02:02:55 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-26 02:02:55 +0000
commitf78d26669bb8d88853a5df332bf10ff9d3734ca4 (patch)
tree27ffaabc1522234fb112f6dc5a916c46394c86da /resources
parente9221449fe1ed47fa574481a16d80609e6b9cd3a (diff)
downloadlibrebootfr-f78d26669bb8d88853a5df332bf10ff9d3734ca4.tar.gz
librebootfr-f78d26669bb8d88853a5df332bf10ff9d3734ca4.zip
ich9deblob: gbe struct: more info about word 08-09 (pba low/high)
Diffstat (limited to 'resources')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h
index 00c80945..ac2a5049 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -79,8 +79,25 @@ struct GBEREGIONRECORD_4K {
unsigned short reservedWord04h; /* Reserved word 04: set it to 0xFFFF (according to datasheet) */
unsigned short reservedWord05h; /* Reserved word 05: 83 10 (little endian) in my deblobbed_descriptor.bin. Set this to 0x1083 (in C, assuming little endian byte order). "cannot be changed" according to datasheet */
unsigned short reservedWords06h07h[2]; /* Reserved words 06-07: set both to 0xFFFF (according to datasheet) */
- unsigned short pbaLow;
- unsigned short pbaHigh;
+
+ /*
+ * Word 08 and 09 (pba low and pba high):
+ *
+ * Both of these should be set to 0xFFFF by default, according to the datasheet.
+ * "nine digit printed board assembly (PBA) number" for intel cards to be stored
+ * in a 4 byte (read: 2 word) field.
+ *
+ * Example: if pba number is 123456-003, then word 08 should be 1234h and word 09 becomes 5603.
+ * Note: 1234 and 5603 above are big endian. In the image it would actually be 34 12 and 0356
+ *
+ * Example: in mine it was (in the image): 08 10 FF FF. That becomes 1008h and FFFFh, or
+ * basically: 1008FF-0FF. The same was observed in another.
+ *
+ * Setting it to FF FF FF FF should be fine, according to the datasheet.
+ */
+ unsigned short pbaLow; /* Word 08 */
+ unsigned short pbaHigh; /* Word 09 */
+
unsigned short pciInitializationControlWord;
unsigned short subsystemId;
unsigned short subsystemVendorId;