summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/ich9deblob.h
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 16:01:17 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 16:01:17 (EST)
commit655ac91c5db8818c7cef7e9e44febaf36459d394 (patch)
tree556efed4b89f3d7cfa94b75680249e80fdb7fd33 /resources/utilities/ich9deblob/ich9deblob.h
parent0d688600303180bc06368de5ce0b1bd63c4603b5 (diff)
downloadlibreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.zip
libreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.tar.gz
libreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.tar.bz2
ich9deblob: add ich9deblob.h for ich9deblob.c
Diffstat (limited to 'resources/utilities/ich9deblob/ich9deblob.h')
-rw-r--r--resources/utilities/ich9deblob/ich9deblob.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/resources/utilities/ich9deblob/ich9deblob.h b/resources/utilities/ich9deblob/ich9deblob.h
new file mode 100644
index 0000000..a765bb5
--- /dev/null
+++ b/resources/utilities/ich9deblob/ich9deblob.h
@@ -0,0 +1,37 @@
+/*
+ * ich9deblob.h
+ * This file is part of the ich9deblob utility from the libreboot project
+ *
+ * Purpose: header file for ich9deblob.c
+ *
+ * Copyright (C) 2014 Steve Shenton <sgsit@libreboot.org>
+ * 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/>.
+ */
+
+#ifndef ICH9DEBLOB_H
+#define ICH9DEBLOB_H
+
+#include <stdio.h>
+#include <string.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(int argc, char *argv[]);
+
+#endif