函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hypervisor_cpuid_base

函数原型:static inline uint32_t hypervisor_cpuid_base(const char *sig, uint32_t leaves)

返回类型:uint32_t

参数:

类型参数名称
const char *sig
uint32_tleaves
976 base小于0x40010000循环
977  Generic CPUID function* clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx* resulting in stale register contents being returned.
979  如果非memcmp(sig, signature, 12)且leaves恒等于0或eaxbase大于等于leaves的值则返回:base
984  返回:0
调用者
名称描述
acrn_detect
__kvm_cpuid_base
jailhouse_cpuid_base