函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ms_hyperv_platform

函数原型:static uint32_t __init ms_hyperv_platform(void)

返回类型:uint32_t

参数:

154  如果非boot_cpu_has(Running on a hypervisor )则返回:0
157  cpuid(The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent* is set by CPUID(HvCpuIdFunctionVersionAndFeatures)., & eax, & hyp_signature[0], & hyp_signature[1], & hyp_signature[2])
160  如果eax大于等于HYPERV_CPUID_MINeax小于等于HYPERV_CPUID_MAX且非内存比较则返回:The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent* is set by CPUID(HvCpuIdFunctionVersionAndFeatures).
165  返回:0