函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\umwait.c Create Date:2022-07-27 08:57:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:umwait_init

函数原型:static int __init umwait_init(void)

返回类型:int

参数:

214  如果非boot_cpu_has(UMONITOR/UMWAIT/TPAUSE Instructions )则返回:负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.)
224  ret等于puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
226  如果ret小于0则
231  返回:ret
234  register_syscore_ops( & umwait_syscore_ops)
240  dev等于dev_root
241  返回:sysfs_create_group( & kobj, & umwait_attr_group)