[英]What part of the kernel loads the framebuffer module of PS3?
我试图弄清楚PS3如何启动其视频驱动程序。
linux内核源代码中对static int __init ps3fb_init(void)
调用是什么?
insmod
在这个模块上? ps3fb_init由module_init调用。
static int __init ps3fb_init(void)
{
if (!ps3fb_videomemory.address || ps3fb_setup())
return -ENXIO;
return ps3_system_bus_driver_register(&ps3fb_driver);
}
[..]
module_init(ps3fb_init);
udev在引导期间加载所需的模块。 从udev文档中,
- All kernel events are matched against a set of specified rules in
/etc/udev/rules.d/ which make it possible to hook into the event
processing to load required kernel modules and setup devices. For all
devices the kernel exports a major/minor number, udev will create a
device node with the default kernel name or the one specified by a
matching udev rule.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.