summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/ich9gbe.c
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-22 05:17:38 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-22 05:17:38 (EST)
commitb9bcb5c141131e955e18b67d1107db8f3a13aebf (patch)
tree58830baafd66ed4ed1f2f82ca4dd0b392991148f /resources/utilities/ich9deblob/ich9gbe.c
parent69851cca105176263aa310ca7b80d6b16effae90 (diff)
downloadlibreboot-b9bcb5c141131e955e18b67d1107db8f3a13aebf.zip
libreboot-b9bcb5c141131e955e18b67d1107db8f3a13aebf.tar.gz
libreboot-b9bcb5c141131e955e18b67d1107db8f3a13aebf.tar.bz2
ich9deblob: separate gbe struct into new file ich9gbe.c
Diffstat (limited to 'resources/utilities/ich9deblob/ich9gbe.c')
-rw-r--r--resources/utilities/ich9deblob/ich9gbe.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/ich9gbe.c b/resources/utilities/ich9deblob/ich9gbe.c
new file mode 100644
index 0000000..69eb9ca
--- /dev/null
+++ b/resources/utilities/ich9deblob/ich9gbe.c
@@ -0,0 +1,29 @@
+/*
+ * ich9gbe.c
+ *
+ * Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+struct GBEREGIONRECORD {
+ unsigned char macAddress[6];
+ unsigned char otherStuff[120];
+ unsigned short checkSum;
+ unsigned char padding1[3968];
+ unsigned char macAddress2[6];
+ unsigned char otherStuff2[120];
+ unsigned short checkSum2;
+ unsigned char padding2[3968];
+};