函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__vmware_platform

函数原型:static inline int __vmware_platform(void)

返回类型:int

参数:

95  VMWARE_CMD(GETVERSION, eax, ebx, ecx, edx)
96  返回:eax != (uint32_t) - 1 && ebx == VMWARE_HYPERVISOR_MAGIC
调用者
名称描述
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