diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 03:10:15 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 03:10:15 +0000 |
commit | 0d0ca4a112b5f6ed54d966e43880b0df8b669d6b (patch) | |
tree | 39b4427ee7212af51f3e9188938773c2f0d96c58 /resources/utilities/ich9deblob/src | |
parent | 963c68ee8b8e0669cb91a3c68f5cce04cc222c5d (diff) | |
download | librebootfr-0d0ca4a112b5f6ed54d966e43880b0df8b669d6b.tar.gz librebootfr-0d0ca4a112b5f6ed54d966e43880b0df8b669d6b.zip |
ich9deblob: gbe struct: info about word 0B (subsystem ID)
Diffstat (limited to 'resources/utilities/ich9deblob/src')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h index 513e5d0e..567efc86 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.h +++ b/resources/utilities/ich9deblob/src/gbe/gbe.h @@ -109,13 +109,22 @@ struct GBEREGIONRECORD_4K { * * 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 pbaLow; /* Word 08. Set it to 0x1008. */ + unsigned short pbaHigh; /* Word 09. Set it to 0xFFFF. */ /* Word 0A */ struct PCI_INITIALIZATION_CONTROL_WORD pciInitializationControlWord; - unsigned short subsystemId; + /* + * Word 0B; subsystem ID + * + * If load subsystem ID bit of word 0A (pci init control word) is + * set to 1 (read: it is. in my deblobbed_descriptor.bin), store + * the subsystem id here. Datasheet says that the default value is + * 0000h, but you should set this to 20EEh (little endian: EE 20) + */ + unsigned short subsystemId; /* Set this to 0x20EE */ + unsigned short subsystemVendorId; unsigned short deviceId; unsigned short vendorId; |