コード例 #1
0
ファイル: init.c プロジェクト: Antonio-Zhou/Linux-2.6.11
void __init driver_init(void)
{
	/* These are the core pieces */
	devices_init();
	buses_init();
	classes_init();
	firmware_init();

	/* These are also core pieces, but must come after the
	 * core core pieces.
	 */
	platform_bus_init();
	system_bus_init();
	cpu_dev_init();
	attribute_container_init();
}
コード例 #2
0
ファイル: init.c プロジェクト: B-Rich/linux_drivers
void __init driver_init(void)
{
	/* These are the core pieces */
	devices_init();
	buses_init();
	classes_init();
#ifndef DDE_LINUX
	firmware_init();
	hypervisor_init();
#endif

	/* These are also core pieces, but must come after the
	 * core core pieces.
	 */
	platform_bus_init();
#ifndef DDE_LINUX
	system_bus_init();
	cpu_dev_init();
	memory_dev_init();
	attribute_container_init();
#endif
}