函数逻辑报告 |
Source Code:arch\x86\kernel\msr.c |
Create Date:2022-07-27 09:18:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:msr_init
函数原型:static int __init msr_init(void)
返回类型:int
参数:无
211 | 如果__register_chrdev(MSR_MAJOR, 0, CPU数量, "cpu/msr", & File operations we support)则 |
215 | msr_class等于This is a #define to keep the compiler from merging different* instances of the __key variable (THIS_MODULE, "msr") |
216 | 如果是错误则 |
218 | 转到:out_chrdev |
220 | devnode等于msr_devnode |
226 | cpuhp_msr_state等于err |
227 | 返回:0 |
229 | out_class : |
230 | class_destroy(msr_class) |
231 | out_chrdev : |
232 | __unregister_chrdev(MSR_MAJOR, 0, CPU数量, "cpu/msr") |
233 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |