您的位置:首页 > 运维架构 > Linux

Linux Kernel设备驱动模型之驱动模型初始化

2017-03-25 13:46 381 查看
 /**
 * driver_init - initialize driver model.
 *
 * Call the driver model init functions to initialize their
 * subsystems. Called early from init/main.c.
 */
void __init driver_init(void)
{
 /* These are the core pieces */
 devtmpfs_init();
 devices_init();
 buses_init();
 classes_init();
 firmware_init();
 hypervisor_init();

 /* These are also core pieces, but must come after the
  * core core pieces.
  */
 platform_bus_init();
 cpu_dev_init();
 memory_dev_init();
 container_dev_init();
 of_core_init();
}

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: