搜索资源列表
imp1.tar
- Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用户使用的网络设备的操作系统是从标准 Linux 改进而来的,这也说明了有越来越多的人正在加入到 Linux 内核开发团体中。 一个或多个内核模块的实现并不能满足一般 Linux 系统软件的需要,因为内核的局限性太大,如不能在终端上打印,不能做大延时的处理等等。当我们需要做这些的时候,就需要将在内核态采集到的数据传送到用户态的一个
imp2.tar
- Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用户使用的网络设备的操作系统是从标准 Linux 改进而来的,这也说明了有越来越多的人正在加入到 Linux 内核开发团体中。 一个或多个内核模块的实现并不能满足一般 Linux 系统软件的需要,因为内核的局限性太大,如不能在终端上打印,不能做大延时的处理等等。当我们需要做这些的时候,就需要将在内核态采集到的数据传送到用户态的一个
pstree
- linux 下的打印进程树的代码,两种方法,一种是基于内核模块的,一种是用proc实现的-linux printing process under the tree code, the two methods, one is based on the kernel module, and one is achieved by proc
Linux_project1
- linux project1 三个简单模块的编程,可传参数进入模块,打印内核信息等-linux project1 programming three simple modules can be mass parameters into the module, print the kernel information. .
device_loadcodes
- 这是Linux下的一个驱动加载测试程序,虽说是测试,但是,代码可并不像简单的打印一个helloworld一样简单。该程序先用gcc把它编译生成目标文件,然后再用insmod codename.o命令进行模块加载。加载以后,本驱动程序将永久保存,直到用卸载命令把它卸除才会消失。-This is a Linux driver to load under the test procedures, although it is tested, but the code is not as simple
linux-proc-
- • 内核模块创建在proc文件系统上建立_ps文件.遍例进程内核链表task_struct.将遍例结果存入缓冲区.影射到/proc/_ps文件中.用户态的程序去读取 这个文件.打印显示 当前进程的的pid,ppid 和进程名.-Display the current process pid,ppid and processname.
hello_printk
- linux下hello world简单驱动程序。在装载和卸载该模块时,打印输出。 使用make编译,sudo insmod hello_prink.ko装载模块,sudo rmmod hello_prink卸载模块,dmesg查看打印信息。-A simple hello world driver program under linux. Loading and unloading the module, the print output. Use make to compile, sudo