summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-29 17:58:28 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-29 17:58:28 (EST)
commit4806ec8129986d6a608c1deb10413b4ff17315d0 (patch)
treed7d2fc6c1db42e3911da5dd65404aa9e9e9e35cd /resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
parent3a667ea44008dcb1958456d6c23ee978f0536eae (diff)
downloadlibreboot-4806ec8129986d6a608c1deb10413b4ff17315d0.zip
libreboot-4806ec8129986d6a608c1deb10413b4ff17315d0.tar.gz
libreboot-4806ec8129986d6a608c1deb10413b4ff17315d0.tar.bz2
ich9deblob/ich9gen: Host/CPU read/write access to all regions.
The ME is also disabled from reading/writing any regions (though the ME is already removed in libreboot).
Diffstat (limited to 'resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c')
-rw-r--r--resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
index c566afb..e166c55 100644
--- a/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
+++ b/resources/utilities/ich9deblob/src/ich9gen/mkdescriptor.c
@@ -107,31 +107,31 @@ struct DESCRIPTORREGIONRECORD generatedDescriptorStruct(unsigned int romSize)
/* Master Access Section */
/* FLMSTR1 (Host CPU / BIOS) */
descriptorStruct.masterAccessSection.flMstr1.requesterId = 0x0000;
- descriptorStruct.masterAccessSection.flMstr1.fdRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr1.biosRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr1.meRegionReadAccess = 0x0;
- descriptorStruct.masterAccessSection.flMstr1.gbeRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr1.pdRegionReadAccess = 0x1;
+ descriptorStruct.masterAccessSection.flMstr1.fdRegionReadAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.biosRegionReadAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.meRegionReadAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.gbeRegionReadAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.pdRegionReadAccess = 0x1; /* see ../descriptor/descriptor.c */
descriptorStruct.masterAccessSection.flMstr1.reserved1 = 0x0;
descriptorStruct.masterAccessSection.flMstr1.fdRegionWriteAccess = 0x1; /* see ../descriptor/descriptor.c */
- descriptorStruct.masterAccessSection.flMstr1.biosRegionWriteAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr1.meRegionWriteAccess = 0x0;
- descriptorStruct.masterAccessSection.flMstr1.gbeRegionWriteAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr1.pdRegionWriteAccess = 0x1;
+ descriptorStruct.masterAccessSection.flMstr1.biosRegionWriteAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.meRegionWriteAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.gbeRegionWriteAccess = 0x1; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr1.pdRegionWriteAccess = 0x1; /* see ../descriptor/descriptor.c */
descriptorStruct.masterAccessSection.flMstr1.reserved2 = 0x0;
/* FLMSTR2 (ME) */
descriptorStruct.masterAccessSection.flMstr2.requesterId = 0x0000;
- descriptorStruct.masterAccessSection.flMstr2.fdRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr2.biosRegionReadAccess = 0x0;
- descriptorStruct.masterAccessSection.flMstr2.meRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr2.gbeRegionReadAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr2.pdRegionReadAccess = 0x0;
+ descriptorStruct.masterAccessSection.flMstr2.fdRegionReadAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.biosRegionReadAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.meRegionReadAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.gbeRegionReadAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.pdRegionReadAccess = 0x0; /* see ../descriptor/descriptor.c */
descriptorStruct.masterAccessSection.flMstr2.reserved1 = 0x0;
- descriptorStruct.masterAccessSection.flMstr2.fdRegionWriteAccess = 0x0;
- descriptorStruct.masterAccessSection.flMstr2.biosRegionWriteAccess = 0x0;
- descriptorStruct.masterAccessSection.flMstr2.meRegionWriteAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr2.gbeRegionWriteAccess = 0x1;
- descriptorStruct.masterAccessSection.flMstr2.pdRegionWriteAccess = 0x0;
+ descriptorStruct.masterAccessSection.flMstr2.fdRegionWriteAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.biosRegionWriteAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.meRegionWriteAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.gbeRegionWriteAccess = 0x0; /* see ../descriptor/descriptor.c */
+ descriptorStruct.masterAccessSection.flMstr2.pdRegionWriteAccess = 0x0; /* see ../descriptor/descriptor.c */
descriptorStruct.masterAccessSection.flMstr2.reserved2 = 0x0;
/* FLMSTR3 (Gbe) */
descriptorStruct.masterAccessSection.flMstr3.requesterId = 0x0218;