aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/ich9deblob/src/demefactory.h
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-03 16:48:20 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-05-03 16:48:20 +0100
commit438cc1fe58f4b65099d778596b93e8094594cb69 (patch)
tree64f15e7b5e970341799fae6f3de103301dfde452 /resources/utilities/ich9deblob/src/demefactory.h
parent2350f55533902f9f67b50a920fad2044daec03ac (diff)
downloadlibrebootfr-438cc1fe58f4b65099d778596b93e8094594cb69.tar.gz
librebootfr-438cc1fe58f4b65099d778596b93e8094594cb69.zip
demefactory (new utility): create GM45 factory.rom without the ME
Diffstat (limited to 'resources/utilities/ich9deblob/src/demefactory.h')
-rw-r--r--resources/utilities/ich9deblob/src/demefactory.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/src/demefactory.h b/resources/utilities/ich9deblob/src/demefactory.h
new file mode 100644
index 00000000..767c5478
--- /dev/null
+++ b/resources/utilities/ich9deblob/src/demefactory.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2015 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/>.
+ */
+
+/* Header file for demefactory.c */
+
+#ifndef DEMEFACTORY_H
+#define DEMEFACTORY_H
+
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
+
+#include "common/descriptor_gbe.h" /* common descriptor/gbe functions used by ich9deblob */
+#include "common/x86compatibility.h" /* system/compiler compatibility checks. This code is not portable. */
+#include "descriptor/descriptor.h" /* structs describing what's in the descriptor region */
+#include "gbe/gbe.h" /* structs describing what's in the gbe region */
+
+int main();
+
+#endif