linux内核模块编程(标记版)
linux 内核
Foreword...........................................................................................................................................3
作者声明...........................................................................................................................3
版本和注意.......................................................................................................................3
感谢...................................................................................................................................3
译者注...............................................................................................................................3
Chapter1.Introduction.....................................................................................................................4
什么是内核模块?...........................................................................................................4
内核模块是如何被调入内核工作的?...........................................................................4
Chapter2.HelloWorld.....................................................................................................................7
Hello,World(part1):最简单的内核模块......................................................................7
HelloWorld(part2)..........................................................................................................9
HelloWorld(part3):关于__init和__exit宏................................................................10
HelloWorld(part4):内核模块证书和内核模块文档说明..........................................11
从命令行传递参数给内核模块.....................................................................................13
由多个文件构成的内核模块.........................................................................................16
为已编译的内核编译模块.............................................................................................18
Chapter3.Preliminaries..................................................................................................................20
内核模块和用户程序的比较.................................................................................................20
内核模块是如何开始和结束的.....................................................................................20
模块可调用的函数.........................................................................................................20
用户空间和内核空间.....................................................................................................21
命名空间.........................................................................................................................21
代码空间.........................................................................................................................22
DeviceDrivers.................................................................................................................22
Chapter4.CharacterDeviceFiles...................................................................................................24
字符设备文件.........................................................................................................................24
关于file_operations结构体.....................................................................................24
Chapter5.The/procFileSystem....................................................................................................32
关于/proc文件系统...................................................................................................32
Chapter6.Using/procForInput....................................................................................................36
使用/proc作为输入...................................................................................................36
Chapter7.TalkingToDeviceFiles.................................................................................................43
与设备文件对话(writesandIOCTLs)..........................................................................43
Chapter8.SystemCalls..................................................................................................................56
系统调用.........................................................................................................................56
Chapter9.BlockingProcesses........................................................................................................62
阻塞进程.........................................................................................................................62
Chapter10.ReplacingPrintks.........................................................................................................70
替换printk......................................................................................................................70
让你的键盘指示灯闪起来.............................................................................................72
Chapter11.SchedulingTasks.........................................................................................................76
任务调度.........................................................................................................................76
Chapter12.InterruptHandlers........................................................................................................81
InterruptHandlers...........................................................................................................81
Chapter13.SymmetricMultiProcessing........................................................................................86
对称多线程处理.............................................................................................................86
你可能喜欢
- linux内核启动分析
- Linux编程
- Linux系统命令使用详解
- Linux内核配置
- linux内核实验
- 语言分析
- linux内核编译
- ARM linux内核启动分析16页
- linux2.6内核启动分析--李枝果(不看是你的损失^_^)22页
- 这是一篇对armlinux内核启动的分析24页
- joyfire的linux-2内核分析—1启动61页
- arm linux内核启动过程(自解压后)的启动分析10页
- linux启动流程分析---内核解压缩过程2页
- Linux编程白皮书 (2)14页
- Linux编程实验内容7页
- Linux Shell编程 [兼容模式]47页
- Linux开源编程期末考试13页
- Linux的shell编程11页
- Linux系统编程第2章64页
- 史上最全Linux系统命令及使用方法详解(程序员)39页
- Linux基本系统命令及其使用详解手册39页
- Linux系统命令及其使用详解39页
- Linux 系统命令及其使用详解26页
- 最新Linux系统命令及其使用详解119页
- Linux系统命令及其使用详解34页
- Linux 2.6.19.x 内核编译配置选项简介53页
- Linux内核配置系统浅析84页
- Linux内核配置系统浅析10页
- Linux内核配置文件之解读Makefile32页
- Linux内核配置文件之解读Makefile6页
- Linux内核升级配置实验报告7页


