summaryrefslogtreecommitdiff
path: root/cbfs_poc/module_lol.c
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@avencall.com>2012-10-16 11:58:45 +0200
committerNoe Rubinstein <nrubinstein@avencall.com>2012-10-16 11:58:45 +0200
commit653984d89294e3bd5c20458fbe44c8c208f85d31 (patch)
tree4a62908ae9be128666da3513582be66cfb6e1b68 /cbfs_poc/module_lol.c
parentd6e325c1f591f4334c7ce45f3937e2008e6c81fe (diff)
Dump xioh_data info
Diffstat (limited to 'cbfs_poc/module_lol.c')
-rw-r--r--cbfs_poc/module_lol.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/cbfs_poc/module_lol.c b/cbfs_poc/module_lol.c
deleted file mode 100644
index 80dc000..0000000
--- a/cbfs_poc/module_lol.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <linux/module.h>
-#include <linux/types.h>
-#include <linux/module.h>
-#include <cbfs.h>
-
-#define DRIVER_NAME "cbfs_poc"
-
-static int init_cbfs_poc(void)
-{
- struct cbfs_header* header;
- setup_cbfs_from_flash();
- header = get_cbfs_header();
- if (header == (void*)0xffffffff)
- printk("Header not found!\n");
- else
- printk("Header found at address %p\n", header);
- return 0;
-}
-module_init(init_cbfs_poc);
-
-static void exit_cbfs_poc(void)
-{
-}
-module_exit(exit_cbfs_poc);
-