aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/ich9deblob/ich9deblob.c
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-24 04:10:23 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-24 04:10:23 +0000
commitd993e696d62fba8a3ca3a2e27d9c0d527256ca58 (patch)
tree7529ddb4abcb3dc36ca850909ff3e7ed043b77a3 /resources/utilities/ich9deblob/ich9deblob.c
parent4286a86d77844026de788fe9283f710c7a7ec8ad (diff)
downloadlibrebootfr-d993e696d62fba8a3ca3a2e27d9c0d527256ca58.tar.gz
librebootfr-d993e696d62fba8a3ca3a2e27d9c0d527256ca58.zip
ich9deblob: debug in descriptor deblob moved to separate function
Diffstat (limited to 'resources/utilities/ich9deblob/ich9deblob.c')
-rw-r--r--resources/utilities/ich9deblob/ich9deblob.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/ich9deblob.c b/resources/utilities/ich9deblob/ich9deblob.c
index b6ad9cdf..f8ed5a4f 100644
--- a/resources/utilities/ich9deblob/ich9deblob.c
+++ b/resources/utilities/ich9deblob/ich9deblob.c
@@ -195,6 +195,12 @@ int main(int argc, char *argv[])
* Also, extend the BIOS region to fill the ROM image (after descriptor+gbe).
*/
deblobbedDescriptorStruct = deblobbedDescriptorStructFromFactory(factoryDescriptorStruct, factoryRomSize);
+ /*
+ * Debugging: show region locations in the
+ * original descriptor and the modified one
+ */
+ printDescriptorRegionLocations(factoryDescriptorStruct, "Original");
+ printDescriptorRegionLocations(deblobbedDescriptorStruct, "Modified");
/*
* Modify the Gbe region (see function for details)