8 Commits

Author SHA1 Message Date
masnagam
fe259b52b7 driver: __init__exit を指定
モジュールの初期化および終了関数にそれぞれ `__init` と `__exit` を指定
した.これらマクロを使用していなくても大きな問題は発生しないと考えられ
るが,一般的な作法として追加した.

これらマクロの説明は以下を参照:

* https://tldp.org/LDP/lkmpg/2.4/html/x281.htm
* https://fastbitlab.com/linux-device-driver-programming-lecture-18-__init-and-__exit-macros/
* https://shnoh171.github.io/linux%20kernel/2019/09/01/linux-kernel-module-basics.html
2025-07-20 08:52:02 +09:00
Chromaryu
26e8327823 driver_module: VERSION定義を追加 2025-07-06 20:34:57 +09:00
Chromaryu
62cfb11290 moduleのIBT対応 2025-06-25 14:19:35 +09:00
nns779
1d7c7c268c driver: update copyright year 2021-02-26 21:12:38 +09:00
nns779
e65d046c41 driver: driver_module: ドライバの説明を変更 2020-11-26 19:36:16 +09:00
nns779
e2053eada5 driver: driver_module: ドライバの説明を変更 2020-11-03 19:10:20 +09:00
nns779
7e50c5da70 driver: driver_module: 不要なincludeを削除 2020-11-01 22:03:01 +09:00
nns779
73a76f15c1 driver: 内部構造を変更 2020-10-25 18:08:04 +09:00