Function report |
Source Code:arch\x86\kernel\msr.c |
Create Date:2022-07-28 08:18:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:msr_init
Proto:static int __init msr_init(void)
Type:int
Parameter:Nothing
211 | If __register_chrdev(MSR_MAJOR, 0, Places which use this should consider cpumask_var_t. , "cpu/msr", & File operations we support) Then |
215 | msr_class = This is a #define to keep the compiler from merging different* instances of the __key variable (THIS_MODULE, "msr") |
218 | Go to out_chrdev |
220 | devnode = msr_devnode |
226 | cpuhp_msr_state = err |
227 | Return 0 |
229 | out_class : |
230 | class_destroy(msr_class) |
231 | out_chrdev : |
232 | __unregister_chrdev(MSR_MAJOR, 0, Places which use this should consider cpumask_var_t. , "cpu/msr") |
233 | Return err |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |