⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 isa.mod.c

📁 一个很简洁的linux下isa总线驱动
💻 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"))) = {	{ 0xda01d437, "struct_module" },	{ 0x1a1a4f09, "__request_region" },	{ 0xf1d0cdab, "__check_region" },	{ 0x986c1c3b, "register_chrdev" },	{ 0xd49501d4, "__release_region" },	{ 0x9efed5af, "iomem_resource" },	{ 0xc192d491, "unregister_chrdev" },	{ 0x1b7d4074, "printk" },	{ 0xa03d6a57, "__get_user_4" },	{ 0x2f287f0d, "copy_to_user" },	{ 0xd6c963c, "copy_from_user" },};static const char __module_depends[]__attribute_used____attribute__((section(".modinfo"))) ="depends=";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -