📄 scull.mod.c
字号:
#include <linux/module.h>#include <linux/vermagic.h>#include <linux/compiler.h>MODULE_INFO(vermagic, VERMAGIC_STRING);#undef unixstruct module __this_module__attribute__((section(".gnu.linkonce.this_module"))) = { .name = __stringify(KBUILD_MODNAME), .init = init_module,#ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module,#endif};static const struct modversion_info ____versions[]__attribute_used____attribute__((section("__versions"))) = { { 0xf5172763, "struct_module" }, { 0xf4f6025c, "devfs_remove" }, { 0xf3011e72, "class_simple_destroy" }, { 0xe2f1e52c, "class_simple_device_remove" }, { 0xc192d491, "unregister_chrdev" }, { 0xf13a5402, "devfs_mk_cdev" }, { 0x8755ff95, "devfs_mk_dir" }, { 0x1cf250d2, "class_simple_device_add" }, { 0x70279767, "class_simple_create" }, { 0xc171f0a7, "register_chrdev" }, { 0x1b7d4074, "printk" }, { 0xd6c963c, "copy_from_user" }, { 0x7da8156e, "__kmalloc" }, { 0x2f287f0d, "copy_to_user" }, { 0x60a4461c, "__up_wakeup" }, { 0x625acc81, "__down_failed_interruptible" }, { 0x6a6f0027, "kmem_cache_alloc" }, { 0x3de88ff0, "malloc_sizes" }, { 0x37a0cba, "kfree" },};static const char __module_depends[]__attribute_used____attribute__((section(".modinfo"))) ="depends=";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -