当前位置:去问问>百科知识>__init_or_module是什么意思?

__init_or_module是什么意思?

2024-07-25 09:00:56 编辑:zane 浏览量:598

__init_or_module是什么意思?

的有关信息介绍如下:

__init_or_module是什么意思?

看一下include/linux/init.h中的注释:1)对 __init的:* These macros are used to mark some functions or * initialized data (doesn't apply to uninitialized data)* as `initialization' functions. The kernel can take this* as hint that the function is used only during the initialization* phase and free up used memory resources after2)对module_init的:* module_init() - driver initialization entry point* @x: function to be run at kernel boot time or module insertion* * module_init() will either be called during do_initcalls (if* builtin) or at module insertion time (if a module). There can only* be one per module.

版权声明:文章由 去问问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.qwenw.com/article/342448.html
热门文章