上一页 1 ··· 342 343 344 345 346 347 348 349 350 ··· 621 下一页

2021年3月29日

摘要: EXTRA_CFLAGS = -Wall -g -DTEST_KERNEL $(INCLUDE) 假如定义一个宏CONFIG_DEBUG在.c里面定义为:#define CONFIG_DEBUG在makefile里定义为: CONFIG_DEBUG=y假如说我们想在makefile里为.c文件进入一 阅读全文
posted @ 2021-03-29 15:14 lydstory 阅读(513) 评论(0) 推荐(0)
摘要: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:33:26: error: dereferencing pointer to incomplete type ‘struct task_struct’ #defi 阅读全文
posted @ 2021-03-29 10:30 lydstory 阅读(794) 评论(0) 推荐(0)
摘要: typedef __kernel_loff_t loff_t;那么这个__kernel_loff_t 又是在哪儿定义的呢? __kernel_loff_t 阅读全文
posted @ 2021-03-29 09:56 lydstory 阅读(112) 评论(0) 推荐(0)
摘要: 驱动操作命令: insmod / modprobe 加载驱动 rmmod 卸载驱动 lsmod 查看系统中所有已经被加载了的所有的模块以及模块间的依赖关系 modinfo 获得模块的信息 查看已经加载的驱动模块的信息: lsmod 能够显示驱动的大小以及被谁使用 cat /proc/modules 阅读全文
posted @ 2021-03-29 08:47 lydstory 阅读(199) 评论(0) 推荐(0)

2021年3月26日

摘要: CURRENT = $(shell uname -r ) KERNEL_TARGET=hello_kernel MODULE_NAME :=$(KERNEL_TARGET) MODULE_SUF=.ko PWD:=$(shell pwd) OUTPUT=$(PWD)/ KDIR=/lib/modul 阅读全文
posted @ 2021-03-26 00:14 lydstory 阅读(50) 评论(0) 推荐(0)
摘要: #include <linux/list.h> list_head 内核链表 阅读全文
posted @ 2021-03-26 00:00 lydstory 阅读(133) 评论(0) 推荐(0)

2021年3月25日

摘要: 天融信 股东 vc编程 从代码中看人物 阅读全文
posted @ 2021-03-25 17:52 lydstory 阅读(45) 评论(0) 推荐(0)
摘要: VPP的一些用例包括交换机、路由器、网关、防火墙和负载平衡器等等。 阅读全文
posted @ 2021-03-25 17:26 lydstory 阅读(1022) 评论(0) 推荐(0)
摘要: 无锡亚天广电 周界安全 阅读全文
posted @ 2021-03-25 15:25 lydstory 阅读(21) 评论(0) 推荐(0)

2021年3月24日

摘要: #include <linux/init.h> #include <linux/module.h> static int hello_init(void) { printk("Hello,world Insmod\n"); } static void hello_exit(void) { print 阅读全文
posted @ 2021-03-24 23:46 lydstory 阅读(51) 评论(0) 推荐(0)
上一页 1 ··· 342 343 344 345 346 347 348 349 350 ··· 621 下一页

导航