kernel に組み込む - i8253 PIT をアクセスするデバイスドライバ
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* kernel に組み込む [#z58435ff]
i8253 PIT をアクセスするドライバのうち、i8253 の channel ...
* kernel source にパッチを当てる [#j8497ca2]
添付ファイル &ref(i8253_ref_setup.diff); は kernel source...
#pre(soft){{
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){git c...
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){git p...
}}
続けて新しく追加した configuration 項目 (Kconfig の内容) ...
#pre(soft){{
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){make ...
}}
menuconfig の中で &span(ConsoleOut){Processor type and fe...
#pre(soft){{
&span(ConsoleOut){ .config - Linux/x86 4.1.27 Kernel Conf...
&span(ConsoleOut){ ──────────────────────────────────────...
&span(ConsoleOut){ ┌───────────────── Linux/x86 4.1.27 K...
&span(ConsoleOut){ │ Arrow keys navigate the menu. <...
&span(ConsoleOut){ │ submenus ----). Highlighted lette...
&span(ConsoleOut){ │ includes, <N> excludes, <...
&span(ConsoleOut){ │ exit, <?> for Help, </>...
&span(ConsoleOut){ │ ┌──────────────────────────────────...
&span(ConsoleOut){ │ │ [*] 64-bit kernel ...
&span(ConsoleOut){ │ │ General setup ---> ...
&span(ConsoleOut){ │ │ [*] Enable loadable module sup...
&span(ConsoleOut){ │ │ [*] Enable the block layer --...
&span(ConsoleOut){ │ │ };&span(ConsoleOut,Focus){...
&span(ConsoleOut){ │ │ Power management and ACPI ...
&span(ConsoleOut){ │ │ Bus options (PCI etc.) --...
&span(ConsoleOut){ │ │ Executable file formats / ...
&span(ConsoleOut){ │ │ [*] Networking support --->...
&span(ConsoleOut){ │ │ Device Drivers ---> ...
&span(ConsoleOut){ │ │ Firmware Drivers ---> ...
&span(ConsoleOut){ │ │ File systems ---> ...
&span(ConsoleOut){ │ │ Kernel hacking ---> ...
&span(ConsoleOut){ │ │ Security options ---> ...
&span(ConsoleOut){ │ │ -*- Cryptographic API --->...
&span(ConsoleOut){ │ │ -*- Virtualization ---> ...
&span(ConsoleOut){ │ └────┴(+)──────────────────────────...
&span(ConsoleOut){ ├────────────────────────────────────...
&span(ConsoleOut){ │ <Select> < Exit > < He...
&span(ConsoleOut){ └────────────────────────────────────...
}}
項目 &span(ConsoleOut){I8253 PIT Refresh timer driver}; ...
#pre(soft){{
&span(ConsoleOut){ .config - Linux/x86 4.1.27 Kernel Conf...
&span(ConsoleOut){ };&span(ConsoleOut,Focus){> Process...
&span(ConsoleOut){ ┌────────────────────── Processor typ...
&span(ConsoleOut){ │ Arrow keys navigate the menu. <...
&span(ConsoleOut){ │ submenus ----). Highlighted lette...
&span(ConsoleOut){ │ includes, <N> excludes, <...
&span(ConsoleOut){ │ exit, <?> for Help, </>...
&span(ConsoleOut){ │ ┌────^(-)──────────────────────────...
&span(ConsoleOut){ │ │ [*] Enable IOSF sideband acc...
&span(ConsoleOut){ │ │ [*] Single-depth WCHAN output ...
&span(ConsoleOut){ │ │ [*] Linux guest support ---&g...
&span(ConsoleOut){ │ │ Processor family (Generic-...
&span(ConsoleOut){ │ │ [*] Supported processor vendor...
&span(ConsoleOut){ │ │ };&span(ConsoleOut,Focus){[*] ...
&span(ConsoleOut){ │ │ [*] Enable DMI scanning ...
&span(ConsoleOut){ │ │ [*] Old AMD GART IOMMU support...
&span(ConsoleOut){ │ │ [*] IBM Calgary IOMMU support ...
&span(ConsoleOut){ │ │ [*] Should Calgary be enable...
&span(ConsoleOut){ │ │ [ ] Enable Maximum number of S...
&span(ConsoleOut){ │ │ (256) Maximum number of CPUs ...
&span(ConsoleOut){ │ │ [*] SMT (Hyperthreading) sched...
&span(ConsoleOut){ │ │ [*] Multi-core scheduler suppo...
&span(ConsoleOut){ │ │ Preemption Model (Voluntar...
&span(ConsoleOut){ │ │ [*] Reroute for broken boot IR...
&span(ConsoleOut){ │ └────┴(+)──────────────────────────...
&span(ConsoleOut){ ├────────────────────────────────────...
&span(ConsoleOut){ │ <Select> < Exit ...
&span(ConsoleOut){ └────────────────────────────────────...
}}
#textbox(thought,I8253 PIT Refresh timer driver の階層が...
"&span(ConsoleOut){I8253 PIT Refresh timer driver};" のメ...
Kconfig ファイルの位置関係もなるべく近くにしつつ menucon...
}}
* 構築 と install [#z5732a47]
構築と install は [[チュートリアルページの構築編>Tutorial...
* 動作確認 [#a61a3c7a]
kernel に組み込んだ i8253_ref_setup.c で platform device ...
** /proc/ioports [#z1a6ac00]
[[i8253_ref_setup.c]] の中で &ogdefs(resource,resource,io...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){~ $ };&span(ConsoleIn){cd /proc};
&span(ConsoleOut){/proc $ };&span(ConsoleIn){cat ioports};
&span(ConsoleOut){0000-0cf7 : PCI Bus 0000:00};
&span(ConsoleOut){ 0000-001f : dma1};
&span(ConsoleOut){ 0020-0021 : pic1};
&span(ConsoleOut){ 0040-0043 : timer0};
&span(ConsoleOut){ };&span(ConsoleOut,Focus){0041-0041...
&span(ConsoleOut){ };&span(ConsoleOut,Focus){0043-0043...
&span(ConsoleOut){ 0050-0053 : timer1};
&span(ConsoleOut){ 0060-0060 : keyboard};
&span(ConsoleOut){ 0061-0061 : PNP0800:00};
&span(ConsoleOut){ 0064-0064 : keyboard};
&span(ConsoleOut){ 0070-0071 : rtc0};
&span(ConsoleOut){ 0080-008f : dma page reg};
&span(ConsoleOut){ 00a0-00a1 : pic2};
&span(ConsoleOut){ 00c0-00df : dma2};
&span(ConsoleOut){ 00f0-00ff : PNP0C04:00};
&span(ConsoleOut){ 00f0-00ff : fpu};
&span(ConsoleOut){ 0170-0177 : 0000:00:06.0};
&span(ConsoleOut){ 0170-0177 : pata_amd};
-- snip --
}}
** /sys/devices/platform/i8253_ref.0.auto [#q18ecde1]
i8253_ref_setup.c の中で &ogdefs(platform_device_register...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){/proc $ };&span(ConsoleIn){cd /sys/devi...
&span(ConsoleOut){/sys/devices/platform $ };&span(Console...
&span(ConsoleOut){total 0};
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 12 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 9 10:4...
&span(ConsoleOut){/sys/devices/platform $ };&span(Console...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){ 0};
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 9 10:4...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 9 10:4...
}}
ドライバ [[i8253_ref.c]] を組み込むと /sys/devices/platfo...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){total 0};
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){32768};
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){16752};
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){8201};
}}
* kernel に静的にソースを結合する方法 [#patch_in_detail]
パッチ &ref(i8253_ref_setup.diff); の中で、新しくソースフ...
platform device として I8253 PIT を kernel に登録する処理...
- ソースを配置したディレクトリまたは root に辿る経路で近...
- ソースファイルを配置したディレクトリまたは root に辿る...
&span(ConsoleIn){make menuconfig}; で新しく加えたソース・...
** Makefile [#q2da03c6]
/arch/x86/kernel/Makefile の変更箇所は次の通りです。
#code(diff,i8253_ref-kernel-Makefile/Makefile.diff);
&span(Code){obj-$(CONFIG_I8253_REFRESH) += i8253_ref_setu...
|obj-* += file.o |構築結果|h
|obj- += file.o |file.c はコンパイルされない|
|obj-y += file.o |file.c は kernel に静的に結合(スタティ...
|obj-m += file.o |file.c はモジュールとして構築され file....
** Kconfig [#m2a019a5]
arch/x86/Kconfig の変更箇所は次の通りです。この Kconfig ...
#code(diff,i8253_ref-kernel-kconfig/Kconfig.diff);
config I8253_REFRESH で選択項目を宣言します。ここでは接頭...
#textbox(note,追加した config 項目は make menuconfig のど...
&span(ConsoleIn){make menuconfig}; を実行して追加した項目...
}}
#textbox(note,他の architecture や platform の場合、どこ...
開発ターゲットの基板に実装されたテバイスを追加するために ...
}}
終了行:
* kernel に組み込む [#z58435ff]
i8253 PIT をアクセスするドライバのうち、i8253 の channel ...
* kernel source にパッチを当てる [#j8497ca2]
添付ファイル &ref(i8253_ref_setup.diff); は kernel source...
#pre(soft){{
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){git c...
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){git p...
}}
続けて新しく追加した configuration 項目 (Kconfig の内容) ...
#pre(soft){{
&span(ConsoleOut){linux-stable $ };&span(ConsoleIn){make ...
}}
menuconfig の中で &span(ConsoleOut){Processor type and fe...
#pre(soft){{
&span(ConsoleOut){ .config - Linux/x86 4.1.27 Kernel Conf...
&span(ConsoleOut){ ──────────────────────────────────────...
&span(ConsoleOut){ ┌───────────────── Linux/x86 4.1.27 K...
&span(ConsoleOut){ │ Arrow keys navigate the menu. <...
&span(ConsoleOut){ │ submenus ----). Highlighted lette...
&span(ConsoleOut){ │ includes, <N> excludes, <...
&span(ConsoleOut){ │ exit, <?> for Help, </>...
&span(ConsoleOut){ │ ┌──────────────────────────────────...
&span(ConsoleOut){ │ │ [*] 64-bit kernel ...
&span(ConsoleOut){ │ │ General setup ---> ...
&span(ConsoleOut){ │ │ [*] Enable loadable module sup...
&span(ConsoleOut){ │ │ [*] Enable the block layer --...
&span(ConsoleOut){ │ │ };&span(ConsoleOut,Focus){...
&span(ConsoleOut){ │ │ Power management and ACPI ...
&span(ConsoleOut){ │ │ Bus options (PCI etc.) --...
&span(ConsoleOut){ │ │ Executable file formats / ...
&span(ConsoleOut){ │ │ [*] Networking support --->...
&span(ConsoleOut){ │ │ Device Drivers ---> ...
&span(ConsoleOut){ │ │ Firmware Drivers ---> ...
&span(ConsoleOut){ │ │ File systems ---> ...
&span(ConsoleOut){ │ │ Kernel hacking ---> ...
&span(ConsoleOut){ │ │ Security options ---> ...
&span(ConsoleOut){ │ │ -*- Cryptographic API --->...
&span(ConsoleOut){ │ │ -*- Virtualization ---> ...
&span(ConsoleOut){ │ └────┴(+)──────────────────────────...
&span(ConsoleOut){ ├────────────────────────────────────...
&span(ConsoleOut){ │ <Select> < Exit > < He...
&span(ConsoleOut){ └────────────────────────────────────...
}}
項目 &span(ConsoleOut){I8253 PIT Refresh timer driver}; ...
#pre(soft){{
&span(ConsoleOut){ .config - Linux/x86 4.1.27 Kernel Conf...
&span(ConsoleOut){ };&span(ConsoleOut,Focus){> Process...
&span(ConsoleOut){ ┌────────────────────── Processor typ...
&span(ConsoleOut){ │ Arrow keys navigate the menu. <...
&span(ConsoleOut){ │ submenus ----). Highlighted lette...
&span(ConsoleOut){ │ includes, <N> excludes, <...
&span(ConsoleOut){ │ exit, <?> for Help, </>...
&span(ConsoleOut){ │ ┌────^(-)──────────────────────────...
&span(ConsoleOut){ │ │ [*] Enable IOSF sideband acc...
&span(ConsoleOut){ │ │ [*] Single-depth WCHAN output ...
&span(ConsoleOut){ │ │ [*] Linux guest support ---&g...
&span(ConsoleOut){ │ │ Processor family (Generic-...
&span(ConsoleOut){ │ │ [*] Supported processor vendor...
&span(ConsoleOut){ │ │ };&span(ConsoleOut,Focus){[*] ...
&span(ConsoleOut){ │ │ [*] Enable DMI scanning ...
&span(ConsoleOut){ │ │ [*] Old AMD GART IOMMU support...
&span(ConsoleOut){ │ │ [*] IBM Calgary IOMMU support ...
&span(ConsoleOut){ │ │ [*] Should Calgary be enable...
&span(ConsoleOut){ │ │ [ ] Enable Maximum number of S...
&span(ConsoleOut){ │ │ (256) Maximum number of CPUs ...
&span(ConsoleOut){ │ │ [*] SMT (Hyperthreading) sched...
&span(ConsoleOut){ │ │ [*] Multi-core scheduler suppo...
&span(ConsoleOut){ │ │ Preemption Model (Voluntar...
&span(ConsoleOut){ │ │ [*] Reroute for broken boot IR...
&span(ConsoleOut){ │ └────┴(+)──────────────────────────...
&span(ConsoleOut){ ├────────────────────────────────────...
&span(ConsoleOut){ │ <Select> < Exit ...
&span(ConsoleOut){ └────────────────────────────────────...
}}
#textbox(thought,I8253 PIT Refresh timer driver の階層が...
"&span(ConsoleOut){I8253 PIT Refresh timer driver};" のメ...
Kconfig ファイルの位置関係もなるべく近くにしつつ menucon...
}}
* 構築 と install [#z5732a47]
構築と install は [[チュートリアルページの構築編>Tutorial...
* 動作確認 [#a61a3c7a]
kernel に組み込んだ i8253_ref_setup.c で platform device ...
** /proc/ioports [#z1a6ac00]
[[i8253_ref_setup.c]] の中で &ogdefs(resource,resource,io...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){~ $ };&span(ConsoleIn){cd /proc};
&span(ConsoleOut){/proc $ };&span(ConsoleIn){cat ioports};
&span(ConsoleOut){0000-0cf7 : PCI Bus 0000:00};
&span(ConsoleOut){ 0000-001f : dma1};
&span(ConsoleOut){ 0020-0021 : pic1};
&span(ConsoleOut){ 0040-0043 : timer0};
&span(ConsoleOut){ };&span(ConsoleOut,Focus){0041-0041...
&span(ConsoleOut){ };&span(ConsoleOut,Focus){0043-0043...
&span(ConsoleOut){ 0050-0053 : timer1};
&span(ConsoleOut){ 0060-0060 : keyboard};
&span(ConsoleOut){ 0061-0061 : PNP0800:00};
&span(ConsoleOut){ 0064-0064 : keyboard};
&span(ConsoleOut){ 0070-0071 : rtc0};
&span(ConsoleOut){ 0080-008f : dma page reg};
&span(ConsoleOut){ 00a0-00a1 : pic2};
&span(ConsoleOut){ 00c0-00df : dma2};
&span(ConsoleOut){ 00f0-00ff : PNP0C04:00};
&span(ConsoleOut){ 00f0-00ff : fpu};
&span(ConsoleOut){ 0170-0177 : 0000:00:06.0};
&span(ConsoleOut){ 0170-0177 : pata_amd};
-- snip --
}}
** /sys/devices/platform/i8253_ref.0.auto [#q18ecde1]
i8253_ref_setup.c の中で &ogdefs(platform_device_register...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){/proc $ };&span(ConsoleIn){cd /sys/devi...
&span(ConsoleOut){/sys/devices/platform $ };&span(Console...
&span(ConsoleOut){total 0};
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 12 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){drwxr-xr-x 4 root root 0 9 9 10:4...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 9 10:4...
&span(ConsoleOut){/sys/devices/platform $ };&span(Console...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){ 0};
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 9 10:4...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 9 10:4...
}}
ドライバ [[i8253_ref.c]] を組み込むと /sys/devices/platfo...
#pre(soft,overflow:auto, max-width:960px){{
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){total 0};
&span(ConsoleOut){drwxr-xr-x 3 root root 0 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 13 root root 0 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){-r--r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){drwxr-xr-x 2 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){lrwxrwxrwx 1 root root 0 9 10 16:1...
&span(ConsoleOut){-rw-r--r-- 1 root root 4096 9 10 16:1...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){32768};
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){16752};
&span(ConsoleOut){/sys/devices/platform/i8253_ref.0.auto ...
&span(ConsoleOut){8201};
}}
* kernel に静的にソースを結合する方法 [#patch_in_detail]
パッチ &ref(i8253_ref_setup.diff); の中で、新しくソースフ...
platform device として I8253 PIT を kernel に登録する処理...
- ソースを配置したディレクトリまたは root に辿る経路で近...
- ソースファイルを配置したディレクトリまたは root に辿る...
&span(ConsoleIn){make menuconfig}; で新しく加えたソース・...
** Makefile [#q2da03c6]
/arch/x86/kernel/Makefile の変更箇所は次の通りです。
#code(diff,i8253_ref-kernel-Makefile/Makefile.diff);
&span(Code){obj-$(CONFIG_I8253_REFRESH) += i8253_ref_setu...
|obj-* += file.o |構築結果|h
|obj- += file.o |file.c はコンパイルされない|
|obj-y += file.o |file.c は kernel に静的に結合(スタティ...
|obj-m += file.o |file.c はモジュールとして構築され file....
** Kconfig [#m2a019a5]
arch/x86/Kconfig の変更箇所は次の通りです。この Kconfig ...
#code(diff,i8253_ref-kernel-kconfig/Kconfig.diff);
config I8253_REFRESH で選択項目を宣言します。ここでは接頭...
#textbox(note,追加した config 項目は make menuconfig のど...
&span(ConsoleIn){make menuconfig}; を実行して追加した項目...
}}
#textbox(note,他の architecture や platform の場合、どこ...
開発ターゲットの基板に実装されたテバイスを追加するために ...
}}
ページ名: