Function report | 
Source Code:arch\x86\kernel\cpu\mce\core.c | 
Create Date:2022-07-28 08:01:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mcheck_init_device
Proto:static __init int mcheck_init_device(void)
Type:int
Parameter:Nothing
| 2491 | MAYBE_BUILD_BUG_ON(__VIRTUAL_MASK_SHIFT >= 63) | 
| 2493 | If Not mce_available( & common cpu data for all cpus ) Then | 
| 2498 | If Not zalloc_cpumask_var( & mce_device_initialized, GFP_KERNEL) Then | 
| 2503 | mce_init_banks() | 
| 2505 | err = subsys_system_register( & mce_subsys, NULL) | 
| 2506 | If err Then Go to err_out_mem | 
| 2511 | If err Then Go to err_out_mem | 
| 2516 | If err < 0 Then Go to err_out_online | 
| 2519 | register_syscore_ops( & mce_syscore_ops) | 
| 2521 | Return 0 | 
| 2523 | err_out_online : | 
| 2526 | err_out_mem : | 
| 2529 | err_out : | 
| 2532 | 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  |