linux-4.4.1/customize_machine()(arm)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#i6432aea]
#backlinks
*説明 [#y16c9a95]
-パス: [[linux-4.4.1/arch/arm/kernel/setup.c]]
-FIXME: これは何?
--説明
**引数 [#t8698a47]
-なし
**返り値 [#aced2020]
-int
--
**参考 [#aa829eeb]
*実装 [#xf458f04]
static int __init customize_machine(void)
{
/*
* customizes platform devices, or adds new ones
* On DT based machines, we fall back to populat...
* machine from the device tree, if no callback ...
* otherwise we would always need an init_machin...
*/
of_iommu_init();
-
--[[linux-4.4.1/of_iommu_init()]]
if (machine_desc->init_machine)
machine_desc->init_machine();
-
--[[linux-4.4.1/machine_desc(global)]]
#ifdef CONFIG_OF
else
of_platform_populate(NULL, of_default_bu...
NULL, NULL);
-
--[[linux-4.4.1/of_platform_populate()]]
--[[linux-4.4.1/of_default_bus_match_table(global)]]
#endif
return 0;
}
arch_initcall(customize_machine);
-
--[[linux-4.4.1/arch_initcall()]]
*コメント [#tc2105fc]
終了行:
*参照元 [#i6432aea]
#backlinks
*説明 [#y16c9a95]
-パス: [[linux-4.4.1/arch/arm/kernel/setup.c]]
-FIXME: これは何?
--説明
**引数 [#t8698a47]
-なし
**返り値 [#aced2020]
-int
--
**参考 [#aa829eeb]
*実装 [#xf458f04]
static int __init customize_machine(void)
{
/*
* customizes platform devices, or adds new ones
* On DT based machines, we fall back to populat...
* machine from the device tree, if no callback ...
* otherwise we would always need an init_machin...
*/
of_iommu_init();
-
--[[linux-4.4.1/of_iommu_init()]]
if (machine_desc->init_machine)
machine_desc->init_machine();
-
--[[linux-4.4.1/machine_desc(global)]]
#ifdef CONFIG_OF
else
of_platform_populate(NULL, of_default_bu...
NULL, NULL);
-
--[[linux-4.4.1/of_platform_populate()]]
--[[linux-4.4.1/of_default_bus_match_table(global)]]
#endif
return 0;
}
arch_initcall(customize_machine);
-
--[[linux-4.4.1/arch_initcall()]]
*コメント [#tc2105fc]
ページ名: