Chinaunix

标题: [转]write modules in 2.6 kernel [打印本页]

作者: haox2653    时间: 2009-09-25 21:04
标题: [转]write modules in 2.6 kernel
http://tldp.org/LDP/lkmpg/2.6/html/
Table of Contents
Foreword
1.
Authorship
2.
Versioning and Notes
3.
Acknowledgements
1.
Introduction
1.1.
What Is A Kernel Module?
1.2.
How Do Modules Get Into The Kernel?
2.
Hello World
2.1.
Hello, World (part 1): The Simplest Module
2.2.
Compiling Kernel Modules
2.3.
Hello World (part 2)
2.4.
Hello World (part 3): The __init and __exit Macros
2.5.
Hello World (part 4): Licensing and Module Documentation
2.6.
Passing Command Line Arguments to a Module
2.7.
Modules Spanning Multiple Files
2.8.
Building modules for a precompiled kernel
3.
Preliminaries
3.1.
Modules vs Programs
4.
Character Device Files
4.1.
Character Device Drivers
5.
The /proc File System
5.1.
The /proc File System
5.2.
Read and Write a /proc File
5.3.
Manage /proc file with standard filesystem
5.4.
Manage /proc file with seq_file
6.
Using /proc For Input
6.1.
TODO: Write a chapter about sysfs
7.
Talking To Device Files
7.1.
Talking to Device Files (writes and IOCTLs)
8.
System Calls
8.1.
System Calls
9.
Blocking Processes
9.1.
Blocking Processes
10.
Replacing Printks
10.1.
Replacing printk
10.2.
Flashing keyboard LEDs
11.
Scheduling Tasks
11.1.
Scheduling Tasks
12.
Interrupt Handlers
12.1.
Interrupt Handlers
13.
Symmetric Multi Processing
13.1.
Symmetrical Multi-Processing
14.
Common Pitfalls
14.1.
Common Pitfalls
A.
Changes: 2.0 To 2.2
A.1.
Changes between 2.4 and 2.6
B.
Where To Go From Here
B.1.
Where From Here?
Index
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/102399/showart_2060198.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2