summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/ich9gen
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 16:41:04 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-29 16:41:04 (EST)
commit5a62702ae370a125997634f91a60dcb75204afc2 (patch)
treed0ca8f206c7968c96f7f062ab658d0b502e936f4 /resources/utilities/ich9deblob/src/ich9gen
parent4b98a46ddc3f590d5e11a19359811d552aa9d08b (diff)
downloadlibreboot-5a62702ae370a125997634f91a60dcb75204afc2.zip
libreboot-5a62702ae370a125997634f91a60dcb75204afc2.tar.gz
libreboot-5a62702ae370a125997634f91a60dcb75204afc2.tar.bz2
ich9gen: show original flReg1.LIMIT, but commented out
Diffstat (limited to 'resources/utilities/ich9deblob/src/ich9gen')
-rw-r--r--resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
index 91f4ed4..fce6543 100644
--- a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
+++ b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
@@ -78,6 +78,7 @@ struct DESCRIPTORREGIONRECORD generatedDescriptorStruct(unsigned int romSize)
/* FLREG1 (BIOS) */
descriptorStruct.regionSection.flReg1.BASE = 0x0003; /* see ../descriptor/descriptor.c */
descriptorStruct.regionSection.flReg1.reserved1 = 0x0;
+ /* descriptorStruct.regionSection.flReg1.LIMIT = 0x07ff; */
descriptorStruct.regionSection.flReg1.LIMIT = ((romSize >> FLREGIONBITSHIFT) - 1); /* see ../descriptor/descriptor.c */
descriptorStruct.regionSection.flReg1.reserved2 = 0x0;
/* FLREG2 (ME) */