函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vmware_select_hypercall

函数原型:static u8 vmware_select_hypercall(void)

返回类型:u8

参数:

220  cpuid(CPUID_VMWARE_FEATURES_LEAF, & eax, & ebx, & ecx, & edx)
221  返回:ecx按位与CPUID_VMWARE_FEATURES_ECX_VMMCALL按位或CPUID_VMWARE_FEATURES_ECX_VMCALL的值
调用者
名称描述
vmware_platformWhile checking the dmi string information, just checking the product* serial key should be enough, as this will always have a VMware* specific string when running under VMware hypervisor.* If !boot_cpu_has(X86_FEATURE_HYPERVISOR), vmware_hypercall_mode