diff options
author | Francis 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) |
commit | 655ac91c5db8818c7cef7e9e44febaf36459d394 (patch) | |
tree | 556efed4b89f3d7cfa94b75680249e80fdb7fd33 /resources/utilities/ich9deblob | |
parent | 0d688600303180bc06368de5ce0b1bd63c4603b5 (diff) | |
download | libreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.zip libreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.tar.gz libreboot-655ac91c5db8818c7cef7e9e44febaf36459d394.tar.bz2 |
ich9deblob: add ich9deblob.h for ich9deblob.c
Diffstat (limited to 'resources/utilities/ich9deblob')
-rw-r--r-- | resources/utilities/ich9deblob/ich9deblob.c | 8 | ||||
-rw-r--r-- | resources/utilities/ich9deblob/ich9deblob.h | 37 |
2 files changed, 38 insertions, 7 deletions
diff --git a/resources/utilities/ich9deblob/ich9deblob.c b/resources/utilities/ich9deblob/ich9deblob.c index c8b74c4..ee549d2 100644 --- a/resources/utilities/ich9deblob/ich9deblob.c +++ b/resources/utilities/ich9deblob/ich9deblob.c @@ -44,13 +44,7 @@ * https://communities.intel.com/community/wired/blog/2010/10/14/how-to-basic-eeprom-checksums */ -#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 */ +#include "ich9deblob.h" int main(int argc, char *argv[]) { 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 |