函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\mwait.h Create Date:2022-07-27 08:23:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:MWAITX allows for a timer expiration to get the core out a wait state in* addition to the default MWAIT exit condition of a store appearing at a* monitored virtual address.* Registers:* MWAITX ECX[1]: enable timer if set

函数原型:static inline void __mwaitx(unsigned long eax, unsigned long ebx, unsigned long ecx)

返回类型:void

参数:

类型参数名称
unsigned longeax
unsigned longebx
unsigned longecx
83  asm volatile
调用者
名称描述
delay_mwaitxOn some AMD platforms, MWAITX has a configurable 32-bit timer, that* counts with TSC frequency. The input value is the loop of the* counter, it will exit when the timer expires.