
The Linux Kernel Module Programming Guide
Linuxカーネル・モジュール・プログラミング・ガイド
Peter Jay Salzman
ピーター・ジェイ・ソルツマン
Ori Pomerantz
Ori Pomerantz
Copyright ©
2001 Peter Jay Salzman
著作権 2001年のピーター・ジェイ・ソルツマン
2003-04-04 ver 2.4.0
2003-04-04 ver 2.4.0
- Table of Contents
目次
- Foreword
序文
- 1. Acknowledgements
1. 謝辞
- 2. Nota Bene
2. 注意
- 1. Introduction
1. はじめに
- 1.1. What Is A Kernel Module?
1.1. カーネル・モジュールって何
?
- 1.2. How Do Modules Get Into
The Kernel?
1.2. モジュールは、どのようにカーネルに取り込まれますか
?
- 2. Hello World
2. Hello World
- 2.1. Hello, World (part 1):
The Simplest Module
2.1.
Hello World (パート1):
最も単純なモジュール
- 2.2. Compiling Kernel Modules
2.2. カーネル・モジュールのコンパイル
- 2.3. Hello World (part 2)
2.3.
Hello World (パート2)
- 2.4. Hello World (part 3):
The __init and __exit Macros
2.4.
Hello World (パート3): __init および __exit マクロ
- 2.5. Hello World (part 4):
Licensing and Module Documentation
2.5.
Hello World (パート4):
許可およびモジュール・ドキュメンテーション
- 2.6. Passing Command Line
Arguments to a Module
2.6. コマンドライン引き数をモジュールへ渡すには
- 2.7. Modules Spanning
Multiple Files
2.7. 複数ファイルにまたがるモジュール
- 3. Preliminaries
3. 準備
- 3.1. Modules vs Programs
3.1. モジュールとプログラムの比較
- 4. Character Device Files
4. キャラクタ・デバイス・ファイル
- 4.1. Character Device Drivers
4.1. キャラクタ・デバイス・ドライバ
- 5. The /proc File System
5. /procファイル・システム
- 5.1. The /proc File System
5.1.
/procファイル・システム
- 6. Using /proc For Input
6. /proc を入力に使用する
- 6.1. Using /proc For Input
6.1.
/proc を入力に使用する
- 7. Talking To Device Files
7. デバイスファイルへのアクセス
- 7.1. Talking to Device Files
7.1. デバイスファイルへのアクセス
- 8. System Calls
8. システムコール
- 8.1. System Calls
8.1. システムコール
- 9. Blocking Processes
9. ブロッキング・プロセス
- 9.1. Blocking Processes
9.1. ブロッキング・プロセス
- 10. Replacing Printks
10. Printk の置換
- 10.1. Replacing printk
10.1.
printk
の置換
- 11. Scheduling Tasks
11. タスクのスケジューリング
- 11.1. Scheduling Tasks
11.1.
タスクのスケジューリング
- 12. Interrupt Handlers
12. 割り込みハンドラー
- 12.1. Interrupt Handlers
12.1.
割り込みハンドラー
- 13. Symmetric Multi Processing
13. 対称マルチ・プロセッシング
- 13.1. Symmetrical
Multi-Processing
13.1.
対称マルチ・プロセッシング
- 14. Common Pitfalls
14. 共通落とし穴
- 14.1. Common Pitfalls
14.1.
共通落とし穴
- A. Changes: 2.0 To 2.2
A. 変更:2.0 2.2まで
- A.1. Changes between 2.0 and
2.2
A.1.
2.0と2.2の間の変更
- B. Where To Go From Here
B. ここから行くべき場所
- B.1. Where From Here?
B.1. どこで、ここから?
- Index
インデックス
- List of Examples
例のリスト
- 2-1. hello-1.c
2-1.
hello-1.c
- 2-2. Makefile for a basic
kernel module
2-2. 基礎的なカーネル・モジュール用
Makefile
- 2-3. hello-2.c
2-3.
hello-2.c
- 2-4. Makefile for both our
modules
2-4. 私たちの両方のモジュール用
Makefile
- 2-5. hello-3.c
2-5.
hello-3.c
- 2-6. hello-4.c
2-6.
hello-4.c
- 2-7. hello-5.c
2-7.
hello-5.c
- 2-8. start.c
2-8. start.c
- 2-9. stop.c
2-9. stop.c
- 2-10. Makefile for a
multi-filed module
2-10. 複数ファイルによるモジュール用
Makefile
- 4-1. chardev.c
4-1.
chardev.c
- 4-2. some title
4-2. あるタイトル
- 5-1. procfs.c
5-1. procfs.c
- 6-1. procfs.c
6-1. procfs.c
- 7-1. chardev.c
7-1.
chardev.c
- 7-2. chardev.h
7-2.
chardev.h
- 7-3. ioctl.c
7-3. ioctl.c
- 8-1. procfs.c
8-1. procfs.c
- 9-1. sleep.c
9-1. sleep.c
- 10-1. print_string.c
10-1.
print_string.c
- 11-1. sched.c
11-1. sched.c
- 12-1. intrpt.c
12-1.
intrpt.c