函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mshyperv.c |
Create Date:2022-07-27 09:15:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ms_hyperv_init_platform
函数原型:static void __init ms_hyperv_init_platform(void)
返回类型:void
参数:无
236 | pr_debug("Hyper-V: max %u virtual processors, %u logical processors\n", max_vp_index, max_lp_index) |
249 | 打印信息("Hyper-V Host Build:%d-%d.%d-%d-%d.%d\n", hv_host_info_eax, hv_host_info_ebx >> 16, hv_host_info_ebx & 0xFFFF, hv_host_info_ecx, hv_host_info_edx >> 24, hv_host_info_edx & 0xFFFFFF) |
261 | 如果hints按位与Recommend using enlightened VMCS 则 |
293 | 如果features按位与AccessTscInvariantControls privilege 则 |
294 | wrmsrl(TSC invariant control , 0x1) |
296 | 否则 |
297 | mark_tsc_unstable("running on Hyper-V") |
315 | i8253_clear_counter_on_shutdown = false |
322 | hyperv_setup_mmu_ops() |
324 | alloc_intr_gate(Vector on which hypervisor callbacks will be delivered , hyperv_callback_vector) |
327 | 如果features按位与AccessReenlightenmentControls privilege 则alloc_intr_gate(HYPERV_REENLIGHTENMENT_VECTOR, hyperv_reenlightenment_vector) |
332 | 如果misc_features按位与stimer Direct Mode is available 则alloc_intr_gate(HYPERV_STIMER0_VECTOR, hv_stimer0_callback_vector) |
352 | hv_init_clocksource() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |