aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/ich9deblob/descriptor
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-24 04:13:49 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-24 04:25:30 +0000
commitff02272f5d5a1d94de95bfb9ec8061b7f519a4a8 (patch)
tree93eb963dc5de0234f404f55a9ae915762fae6582 /resources/utilities/ich9deblob/descriptor
parentb0fd691b848acdd974689804a06ba22f308861df (diff)
downloadlibrebootfr-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.tar.gz
librebootfr-ff02272f5d5a1d94de95bfb9ec8061b7f519a4a8.zip
ich9deblob: add platform region to descriptor debug function
Diffstat (limited to 'resources/utilities/ich9deblob/descriptor')
-rw-r--r--resources/utilities/ich9deblob/descriptor/descriptor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/descriptor/descriptor.c b/resources/utilities/ich9deblob/descriptor/descriptor.c
index 6eba50b0..256c60af 100644
--- a/resources/utilities/ich9deblob/descriptor/descriptor.c
+++ b/resources/utilities/ich9deblob/descriptor/descriptor.c
@@ -161,5 +161,13 @@ void printDescriptorRegionLocations(struct DESCRIPTORREGIONRECORD descriptorStru
descriptorStruct.regionSection.flReg3.LIMIT << FLREGIONBITSHIFT
);
+ /* Platform region */
+ printf(
+ "%s: Platform start block: %08x ; GBe end block: %08x\n",
+ romName,
+ descriptorStruct.regionSection.flReg4.BASE << FLREGIONBITSHIFT,
+ descriptorStruct.regionSection.flReg4.LIMIT << FLREGIONBITSHIFT
+ );
+
return;
}