diff --git a/study/test/Module.symvers b/study/test/Module.symvers deleted file mode 100644 index e69de29..0000000 diff --git a/study/test/hello_proc.c b/study/test/hello_proc.c index 97dcb6e..0a868a8 100644 --- a/study/test/hello_proc.c +++ b/study/test/hello_proc.c @@ -10,6 +10,8 @@ char global_buffer[STRINGLEN]; struct proc_dir_entry *example_dir, *proc_hello_file; + + int proc_read_hello(char *page, char **start, off_t off, int count, int *eof, void *data) { diff --git a/study/test/hello_proc.mod.c b/study/test/hello_proc.mod.c deleted file mode 100644 index 4f121e8..0000000 --- a/study/test/hello_proc.mod.c +++ /dev/null @@ -1,34 +0,0 @@ -#include -#include -#include - -MODULE_INFO(vermagic, VERMAGIC_STRING); - -__visible struct module __this_module -__attribute__((section(".gnu.linkonce.this_module"))) = { - .name = KBUILD_MODNAME, - .init = init_module, -#ifdef CONFIG_MODULE_UNLOAD - .exit = cleanup_module, -#endif - .arch = MODULE_ARCH_INIT, -}; - -static const struct modversion_info ____versions[] -__used -__attribute__((section("__versions"))) = { - { 0x146be775, __VMLINUX_SYMBOL_STR(module_layout) }, - { 0xcb6fa3da, __VMLINUX_SYMBOL_STR(remove_proc_entry) }, - { 0xb35b1c13, __VMLINUX_SYMBOL_STR(proc_create_data) }, - { 0x53027231, __VMLINUX_SYMBOL_STR(proc_mkdir) }, - { 0xfbc74f64, __VMLINUX_SYMBOL_STR(__copy_from_user) }, - { 0xdcb764ad, __VMLINUX_SYMBOL_STR(memset) }, - { 0x27e1a049, __VMLINUX_SYMBOL_STR(printk) }, - { 0x91715312, __VMLINUX_SYMBOL_STR(sprintf) }, -}; - -static const char __module_depends[] -__used -__attribute__((section(".modinfo"))) = -"depends="; - diff --git a/study/test/modules.order b/study/test/modules.order deleted file mode 100644 index 18a5a09..0000000 --- a/study/test/modules.order +++ /dev/null @@ -1 +0,0 @@ -kernel//home/gatieme/Work/GitHub/LDD-LinuxDeviceDrivers/study/test/hello_proc.ko diff --git a/study/test/test b/study/test/test deleted file mode 100755 index bc7a1cc..0000000 Binary files a/study/test/test and /dev/null differ