fpga_driver.mod.c

来自「这是嵌入式中的FPGA的驱动」· C语言 代码 · 共 43 行

C
43
字号
#include <linux/module.h>#include <linux/vermagic.h>#include <linux/compiler.h>MODULE_INFO(vermagic, VERMAGIC_STRING);struct module __this_module__attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module,#ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module,#endif};static const struct modversion_info ____versions[]__attribute_used____attribute__((section("__versions"))) = {	{ 0x30c5d25f, "struct_module" },	{ 0xac795081, "class_device_create" },	{ 0xa00f0fa6, "class_create" },	{ 0x796deb, "cdev_add" },	{ 0x1b8b046b, "cdev_init" },	{ 0x29537c9e, "alloc_chrdev_region" },	{ 0xd8e484f0, "register_chrdev_region" },	{ 0x3ac13c46, "cdev_alloc" },	{ 0xf3abe6d1, "remap_pfn_range" },	{ 0xc4d65887, "boot_cpu_data" },	{ 0xdb4fb7fa, "class_destroy" },	{ 0x9c4a0495, "class_device_destroy" },	{ 0x94ebe896, "cdev_del" },	{ 0x7485e15e, "unregister_chrdev_region" },	{ 0x1b7d4074, "printk" },};static const char __module_depends[]__attribute_used____attribute__((section(".modinfo"))) ="depends=";MODULE_INFO(srcversion, "7D514381C13A8A422807843");

⌨️ 快捷键说明

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