Function report |
Source Code:arch\x86\kernel\cpu\umwait.c |
Create Date:2022-07-28 07:56:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:umwait_init
Proto:static int __init umwait_init(void)
Type:int
Parameter:Nothing
214 | If Not boot_cpu_has(UMONITOR/UMWAIT/TPAUSE Instructions ) Then Return -ENODEV |
222 | rdmsrl(MSR_IA32_UMWAIT_CONTROL, Cache the original IA32_UMWAIT_CONTROL MSR value which is configured by* hardware or BIOS before kernel boot.) |
226 | If ret < 0 Then |
231 | Return ret |
241 | Return sysfs_create_group( & kobj, & umwait_attr_group) |
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 |