HyperDbg Debugger
Loading...
Searching...
No Matches
HypervTlfs.h File Reference

Go to the source code of this file.

Classes

struct  hv_gpa_range_for_visibility
 
union  hv_x64_msr_hypercall_contents
 
union  hv_vp_assist_msr_contents
 
struct  hv_reenlightenment_control
 
struct  hv_tsc_emulation_control
 
struct  hv_tsc_emulation_status
 
struct  hv_nested_enlightenments_control
 
struct  hv_vp_assist_page
 
struct  hv_enlightened_vmcs
 
struct  hv_partition_assist_pg
 
union  hv_msi_address_register
 
union  hv_msi_data_register
 
union  hv_msi_entry
 

Macros

#define HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS   0x40000000
 
#define HYPERV_CPUID_INTERFACE   0x40000001
 
#define HYPERV_CPUID_VERSION   0x40000002
 
#define HYPERV_CPUID_FEATURES   0x40000003
 
#define HYPERV_CPUID_ENLIGHTMENT_INFO   0x40000004
 
#define HYPERV_CPUID_IMPLEMENT_LIMITS   0x40000005
 
#define HYPERV_CPUID_CPU_MANAGEMENT_FEATURES   0x40000007
 
#define HYPERV_CPUID_NESTED_FEATURES   0x4000000A
 
#define HYPERV_CPUID_ISOLATION_CONFIG   0x4000000C
 
#define HYPERV_CPUID_VIRT_STACK_INTERFACE   0x40000081
 
#define HYPERV_VS_INTERFACE_EAX_SIGNATURE   0x31235356 /* "VS#1" */
 
#define HYPERV_CPUID_VIRT_STACK_PROPERTIES   0x40000082
 
#define HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE   BIT(2)
 
#define HYPERV_HYPERVISOR_PRESENT_BIT   0x80000000
 
#define HYPERV_CPUID_MIN   0x40000005
 
#define HYPERV_CPUID_MAX   0x4000ffff
 
#define HV_X64_MWAIT_AVAILABLE   BIT(0)
 
#define HV_X64_GUEST_DEBUGGING_AVAILABLE   BIT(1)
 
#define HV_X64_PERF_MONITOR_AVAILABLE   BIT(2)
 
#define HV_X64_CPU_DYNAMIC_PARTITIONING_AVAILABLE   BIT(3)
 
#define HV_X64_HYPERCALL_XMM_INPUT_AVAILABLE   BIT(4)
 
#define HV_X64_GUEST_IDLE_STATE_AVAILABLE   BIT(5)
 
#define HV_FEATURE_FREQUENCY_MSRS_AVAILABLE   BIT(8)
 
#define HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE   BIT(10)
 
#define HV_FEATURE_DEBUG_MSRS_AVAILABLE   BIT(11)
 
#define HV_X64_HYPERCALL_XMM_OUTPUT_AVAILABLE   BIT(15)
 
#define HV_STIMER_DIRECT_MODE_AVAILABLE   BIT(19)
 
#define HV_X64_AS_SWITCH_RECOMMENDED   BIT(0)
 
#define HV_X64_LOCAL_TLB_FLUSH_RECOMMENDED   BIT(1)
 
#define HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED   BIT(2)
 
#define HV_X64_APIC_ACCESS_RECOMMENDED   BIT(3)
 
#define HV_X64_SYSTEM_RESET_RECOMMENDED   BIT(4)
 
#define HV_X64_RELAXED_TIMING_RECOMMENDED   BIT(5)
 
#define HV_DEPRECATING_AEOI_RECOMMENDED   BIT(9)
 
#define HV_X64_CLUSTER_IPI_RECOMMENDED   BIT(10)
 
#define HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED   BIT(11)
 
#define HV_X64_ENLIGHTENED_VMCS_RECOMMENDED   BIT(14)
 
#define HV_X64_START_LOGICAL_PROCESSOR   BIT(0)
 
#define HV_X64_CREATE_ROOT_VIRTUAL_PROCESSOR   BIT(1)
 
#define HV_X64_PERFORMANCE_COUNTER_SYNC   BIT(2)
 
#define HV_X64_RESERVED_IDENTITY_BIT   BIT(31)
 
#define HV_X64_NO_NONARCH_CORESHARING   BIT(18)
 
#define HV_X64_NESTED_DIRECT_FLUSH   BIT(17)
 
#define HV_X64_NESTED_GUEST_MAPPING_FLUSH   BIT(18)
 
#define HV_X64_NESTED_MSR_BITMAP   BIT(19)
 
#define HV_X64_NESTED_ENLIGHTENED_TLB   BIT(22)
 
#define HV_PARAVISOR_PRESENT   BIT(0)
 
#define HV_ISOLATION_TYPE   GENMASK(3, 0)
 
#define HV_SHARED_GPA_BOUNDARY_ACTIVE   BIT(5)
 
#define HV_SHARED_GPA_BOUNDARY_BITS   GENMASK(11, 6)
 
#define HV_X64_MSR_GUEST_OS_ID   0x40000000
 
#define HV_X64_MSR_HYPERCALL   0x40000001
 
#define HV_REGISTER_VP_INDEX   0x40000002
 
#define HV_X64_MSR_RESET   0x40000003
 
#define HV_X64_MSR_VP_RUNTIME   0x40000010
 
#define HV_REGISTER_TIME_REF_COUNT   0x40000020
 
#define HV_REGISTER_REFERENCE_TSC   0x40000021
 
#define HV_X64_MSR_TSC_FREQUENCY   0x40000022
 
#define HV_X64_MSR_APIC_FREQUENCY   0x40000023
 
#define HV_X64_MSR_EOI   0x40000070
 
#define HV_X64_MSR_ICR   0x40000071
 
#define HV_X64_MSR_TPR   0x40000072
 
#define HV_X64_MSR_VP_ASSIST_PAGE   0x40000073
 
#define HV_REGISTER_SCONTROL   0x40000080
 
#define HV_REGISTER_SVERSION   0x40000081
 
#define HV_REGISTER_SIEFP   0x40000082
 
#define HV_REGISTER_SIMP   0x40000083
 
#define HV_REGISTER_EOM   0x40000084
 
#define HV_REGISTER_SINT0   0x40000090
 
#define HV_REGISTER_SINT1   0x40000091
 
#define HV_REGISTER_SINT2   0x40000092
 
#define HV_REGISTER_SINT3   0x40000093
 
#define HV_REGISTER_SINT4   0x40000094
 
#define HV_REGISTER_SINT5   0x40000095
 
#define HV_REGISTER_SINT6   0x40000096
 
#define HV_REGISTER_SINT7   0x40000097
 
#define HV_REGISTER_SINT8   0x40000098
 
#define HV_REGISTER_SINT9   0x40000099
 
#define HV_REGISTER_SINT10   0x4000009A
 
#define HV_REGISTER_SINT11   0x4000009B
 
#define HV_REGISTER_SINT12   0x4000009C
 
#define HV_REGISTER_SINT13   0x4000009D
 
#define HV_REGISTER_SINT14   0x4000009E
 
#define HV_REGISTER_SINT15   0x4000009F
 
#define HV_REGISTER_STIMER0_CONFIG   0x400000B0
 
#define HV_REGISTER_STIMER0_COUNT   0x400000B1
 
#define HV_REGISTER_STIMER1_CONFIG   0x400000B2
 
#define HV_REGISTER_STIMER1_COUNT   0x400000B3
 
#define HV_REGISTER_STIMER2_CONFIG   0x400000B4
 
#define HV_REGISTER_STIMER2_COUNT   0x400000B5
 
#define HV_REGISTER_STIMER3_CONFIG   0x400000B6
 
#define HV_REGISTER_STIMER3_COUNT   0x400000B7
 
#define HV_X64_MSR_GUEST_IDLE   0x400000F0
 
#define HV_REGISTER_CRASH_P0   0x40000100
 
#define HV_REGISTER_CRASH_P1   0x40000101
 
#define HV_REGISTER_CRASH_P2   0x40000102
 
#define HV_REGISTER_CRASH_P3   0x40000103
 
#define HV_REGISTER_CRASH_P4   0x40000104
 
#define HV_REGISTER_CRASH_CTL   0x40000105
 
#define HV_X64_MSR_REENLIGHTENMENT_CONTROL   0x40000106
 
#define HV_X64_MSR_TSC_EMULATION_CONTROL   0x40000107
 
#define HV_X64_MSR_TSC_EMULATION_STATUS   0x40000108
 
#define HV_X64_MSR_TSC_INVARIANT_CONTROL   0x40000118
 
#define HV_X64_MSR_STIMER0_COUNT   HV_REGISTER_STIMER0_COUNT
 
#define HV_X64_MSR_STIMER0_CONFIG   HV_REGISTER_STIMER0_CONFIG
 
#define HV_X64_MSR_STIMER1_COUNT   HV_REGISTER_STIMER1_COUNT
 
#define HV_X64_MSR_STIMER1_CONFIG   HV_REGISTER_STIMER1_CONFIG
 
#define HV_X64_MSR_STIMER2_COUNT   HV_REGISTER_STIMER2_COUNT
 
#define HV_X64_MSR_STIMER2_CONFIG   HV_REGISTER_STIMER2_CONFIG
 
#define HV_X64_MSR_STIMER3_COUNT   HV_REGISTER_STIMER3_COUNT
 
#define HV_X64_MSR_STIMER3_CONFIG   HV_REGISTER_STIMER3_CONFIG
 
#define HV_X64_MSR_SCONTROL   HV_REGISTER_SCONTROL
 
#define HV_X64_MSR_SVERSION   HV_REGISTER_SVERSION
 
#define HV_X64_MSR_SIMP   HV_REGISTER_SIMP
 
#define HV_X64_MSR_SIEFP   HV_REGISTER_SIEFP
 
#define HV_X64_MSR_VP_INDEX   HV_REGISTER_VP_INDEX
 
#define HV_X64_MSR_EOM   HV_REGISTER_EOM
 
#define HV_X64_MSR_SINT0   HV_REGISTER_SINT0
 
#define HV_X64_MSR_SINT15   HV_REGISTER_SINT15
 
#define HV_X64_MSR_CRASH_P0   HV_REGISTER_CRASH_P0
 
#define HV_X64_MSR_CRASH_P1   HV_REGISTER_CRASH_P1
 
#define HV_X64_MSR_CRASH_P2   HV_REGISTER_CRASH_P2
 
#define HV_X64_MSR_CRASH_P3   HV_REGISTER_CRASH_P3
 
#define HV_X64_MSR_CRASH_P4   HV_REGISTER_CRASH_P4
 
#define HV_X64_MSR_CRASH_CTL   HV_REGISTER_CRASH_CTL
 
#define HV_X64_MSR_TIME_REF_COUNT   HV_REGISTER_TIME_REF_COUNT
 
#define HV_X64_MSR_REFERENCE_TSC   HV_REGISTER_REFERENCE_TSC
 
#define HV_MAX_MODIFY_GPA_REP_COUNT   ((PAGE_SIZE / sizeof(UINT64)) - 2)
 
#define HV_X64_MSR_HYPERCALL_ENABLE   0x00000001
 
#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT   12
 
#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK    (~((1ull << HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT) - 1))
 
#define HV_X64_MSR_CRASH_PARAMS    (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0))
 
#define HV_IPI_LOW_VECTOR   0x10
 
#define HV_IPI_HIGH_VECTOR   0xff
 
#define HV_X64_MSR_VP_ASSIST_PAGE_ENABLE   0x00000001
 
#define HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT   12
 
#define HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_MASK    (~((1ull << HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT) - 1))
 
#define HV_X64_ENLIGHTENED_VMCS_VERSION   0xff
 
#define HV_X64_MSR_TSC_REFERENCE_ENABLE   0x00000001
 
#define HV_X64_MSR_TSC_REFERENCE_ADDRESS_SHIFT   12
 
#define HV_HYPERCALL_MAX_XMM_REGISTERS   6
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_NONE   0
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_IO_BITMAP   BIT(0)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP   BIT(1)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP2   BIT(2)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP1   BIT(3)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_PROC   BIT(4)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EVENT   BIT(5)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_ENTRY   BIT(6)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EXCPN   BIT(7)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CRDR   BIT(8)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_XLAT   BIT(9)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_BASIC   BIT(10)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP1   BIT(11)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP2   BIT(12)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_POINTER   BIT(13)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_GRP1   BIT(14)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_ENLIGHTENMENTSCONTROL   BIT(15)
 
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_ALL   0xFFFF
 

Enumerations

enum  hv_isolation_type { HV_ISOLATION_TYPE_NONE = 0 , HV_ISOLATION_TYPE_VBS = 1 , HV_ISOLATION_TYPE_SNP = 2 }
 
enum  hv_mem_host_visibility { VMBUS_PAGE_NOT_VISIBLE = 0 , VMBUS_PAGE_VISIBLE_READ_ONLY = 1 , VMBUS_PAGE_VISIBLE_READ_WRITE = 3 }
 
enum  hv_interrupt_type {
  HV_X64_INTERRUPT_TYPE_FIXED = 0x0000 , HV_X64_INTERRUPT_TYPE_LOWESTPRIORITY = 0x0001 , HV_X64_INTERRUPT_TYPE_SMI = 0x0002 , HV_X64_INTERRUPT_TYPE_REMOTEREAD = 0x0003 ,
  HV_X64_INTERRUPT_TYPE_NMI = 0x0004 , HV_X64_INTERRUPT_TYPE_INIT = 0x0005 , HV_X64_INTERRUPT_TYPE_SIPI = 0x0006 , HV_X64_INTERRUPT_TYPE_EXTINT = 0x0007 ,
  HV_X64_INTERRUPT_TYPE_LOCALINT0 = 0x0008 , HV_X64_INTERRUPT_TYPE_LOCALINT1 = 0x0009 , HV_X64_INTERRUPT_TYPE_MAXIMUM = 0x000A
}
 

Variables

struct hv_gpa_range_for_visibility __packed
 

Macro Definition Documentation

◆ HV_DEPRECATING_AEOI_RECOMMENDED

#define HV_DEPRECATING_AEOI_RECOMMENDED   BIT(9)

◆ HV_FEATURE_DEBUG_MSRS_AVAILABLE

#define HV_FEATURE_DEBUG_MSRS_AVAILABLE   BIT(11)

◆ HV_FEATURE_FREQUENCY_MSRS_AVAILABLE

#define HV_FEATURE_FREQUENCY_MSRS_AVAILABLE   BIT(8)

◆ HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE

#define HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE   BIT(10)

◆ HV_HYPERCALL_MAX_XMM_REGISTERS

#define HV_HYPERCALL_MAX_XMM_REGISTERS   6

◆ HV_IPI_HIGH_VECTOR

#define HV_IPI_HIGH_VECTOR   0xff

◆ HV_IPI_LOW_VECTOR

#define HV_IPI_LOW_VECTOR   0x10

◆ HV_ISOLATION_TYPE

#define HV_ISOLATION_TYPE   GENMASK(3, 0)

◆ HV_MAX_MODIFY_GPA_REP_COUNT

#define HV_MAX_MODIFY_GPA_REP_COUNT   ((PAGE_SIZE / sizeof(UINT64)) - 2)

◆ HV_PARAVISOR_PRESENT

#define HV_PARAVISOR_PRESENT   BIT(0)

◆ HV_REGISTER_CRASH_CTL

#define HV_REGISTER_CRASH_CTL   0x40000105

◆ HV_REGISTER_CRASH_P0

#define HV_REGISTER_CRASH_P0   0x40000100

◆ HV_REGISTER_CRASH_P1

#define HV_REGISTER_CRASH_P1   0x40000101

◆ HV_REGISTER_CRASH_P2

#define HV_REGISTER_CRASH_P2   0x40000102

◆ HV_REGISTER_CRASH_P3

#define HV_REGISTER_CRASH_P3   0x40000103

◆ HV_REGISTER_CRASH_P4

#define HV_REGISTER_CRASH_P4   0x40000104

◆ HV_REGISTER_EOM

#define HV_REGISTER_EOM   0x40000084

◆ HV_REGISTER_REFERENCE_TSC

#define HV_REGISTER_REFERENCE_TSC   0x40000021

◆ HV_REGISTER_SCONTROL

#define HV_REGISTER_SCONTROL   0x40000080

◆ HV_REGISTER_SIEFP

#define HV_REGISTER_SIEFP   0x40000082

◆ HV_REGISTER_SIMP

#define HV_REGISTER_SIMP   0x40000083

◆ HV_REGISTER_SINT0

#define HV_REGISTER_SINT0   0x40000090

◆ HV_REGISTER_SINT1

#define HV_REGISTER_SINT1   0x40000091

◆ HV_REGISTER_SINT10

#define HV_REGISTER_SINT10   0x4000009A

◆ HV_REGISTER_SINT11

#define HV_REGISTER_SINT11   0x4000009B

◆ HV_REGISTER_SINT12

#define HV_REGISTER_SINT12   0x4000009C

◆ HV_REGISTER_SINT13

#define HV_REGISTER_SINT13   0x4000009D

◆ HV_REGISTER_SINT14

#define HV_REGISTER_SINT14   0x4000009E

◆ HV_REGISTER_SINT15

#define HV_REGISTER_SINT15   0x4000009F

◆ HV_REGISTER_SINT2

#define HV_REGISTER_SINT2   0x40000092

◆ HV_REGISTER_SINT3

#define HV_REGISTER_SINT3   0x40000093

◆ HV_REGISTER_SINT4

#define HV_REGISTER_SINT4   0x40000094

◆ HV_REGISTER_SINT5

#define HV_REGISTER_SINT5   0x40000095

◆ HV_REGISTER_SINT6

#define HV_REGISTER_SINT6   0x40000096

◆ HV_REGISTER_SINT7

#define HV_REGISTER_SINT7   0x40000097

◆ HV_REGISTER_SINT8

#define HV_REGISTER_SINT8   0x40000098

◆ HV_REGISTER_SINT9

#define HV_REGISTER_SINT9   0x40000099

◆ HV_REGISTER_STIMER0_CONFIG

#define HV_REGISTER_STIMER0_CONFIG   0x400000B0

◆ HV_REGISTER_STIMER0_COUNT

#define HV_REGISTER_STIMER0_COUNT   0x400000B1

◆ HV_REGISTER_STIMER1_CONFIG

#define HV_REGISTER_STIMER1_CONFIG   0x400000B2

◆ HV_REGISTER_STIMER1_COUNT

#define HV_REGISTER_STIMER1_COUNT   0x400000B3

◆ HV_REGISTER_STIMER2_CONFIG

#define HV_REGISTER_STIMER2_CONFIG   0x400000B4

◆ HV_REGISTER_STIMER2_COUNT

#define HV_REGISTER_STIMER2_COUNT   0x400000B5

◆ HV_REGISTER_STIMER3_CONFIG

#define HV_REGISTER_STIMER3_CONFIG   0x400000B6

◆ HV_REGISTER_STIMER3_COUNT

#define HV_REGISTER_STIMER3_COUNT   0x400000B7

◆ HV_REGISTER_SVERSION

#define HV_REGISTER_SVERSION   0x40000081

◆ HV_REGISTER_TIME_REF_COUNT

#define HV_REGISTER_TIME_REF_COUNT   0x40000020

◆ HV_REGISTER_VP_INDEX

#define HV_REGISTER_VP_INDEX   0x40000002

◆ HV_SHARED_GPA_BOUNDARY_ACTIVE

#define HV_SHARED_GPA_BOUNDARY_ACTIVE   BIT(5)

◆ HV_SHARED_GPA_BOUNDARY_BITS

#define HV_SHARED_GPA_BOUNDARY_BITS   GENMASK(11, 6)

◆ HV_STIMER_DIRECT_MODE_AVAILABLE

#define HV_STIMER_DIRECT_MODE_AVAILABLE   BIT(19)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_ALL

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_ALL   0xFFFF

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_ENTRY

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_ENTRY   BIT(6)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EVENT

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EVENT   BIT(5)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EXCPN

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_EXCPN   BIT(7)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP1

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP1   BIT(3)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP2

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP2   BIT(2)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_PROC

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_PROC   BIT(4)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_XLAT

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_XLAT   BIT(9)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_CRDR

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_CRDR   BIT(8)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_ENLIGHTENMENTSCONTROL

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_ENLIGHTENMENTSCONTROL   BIT(15)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_BASIC

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_BASIC   BIT(10)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP1

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP1   BIT(11)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP2

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_GUEST_GRP2   BIT(12)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_GRP1

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_GRP1   BIT(14)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_POINTER

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_HOST_POINTER   BIT(13)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_IO_BITMAP

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_IO_BITMAP   BIT(0)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_MSR_BITMAP   BIT(1)

◆ HV_VMX_ENLIGHTENED_CLEAN_FIELD_NONE

#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_NONE   0

◆ HV_X64_APIC_ACCESS_RECOMMENDED

#define HV_X64_APIC_ACCESS_RECOMMENDED   BIT(3)

◆ HV_X64_AS_SWITCH_RECOMMENDED

#define HV_X64_AS_SWITCH_RECOMMENDED   BIT(0)

◆ HV_X64_CLUSTER_IPI_RECOMMENDED

#define HV_X64_CLUSTER_IPI_RECOMMENDED   BIT(10)

◆ HV_X64_CPU_DYNAMIC_PARTITIONING_AVAILABLE

#define HV_X64_CPU_DYNAMIC_PARTITIONING_AVAILABLE   BIT(3)

◆ HV_X64_CREATE_ROOT_VIRTUAL_PROCESSOR

#define HV_X64_CREATE_ROOT_VIRTUAL_PROCESSOR   BIT(1)

◆ HV_X64_ENLIGHTENED_VMCS_RECOMMENDED

#define HV_X64_ENLIGHTENED_VMCS_RECOMMENDED   BIT(14)

◆ HV_X64_ENLIGHTENED_VMCS_VERSION

#define HV_X64_ENLIGHTENED_VMCS_VERSION   0xff

◆ HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED

#define HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED   BIT(11)

◆ HV_X64_GUEST_DEBUGGING_AVAILABLE

#define HV_X64_GUEST_DEBUGGING_AVAILABLE   BIT(1)

◆ HV_X64_GUEST_IDLE_STATE_AVAILABLE

#define HV_X64_GUEST_IDLE_STATE_AVAILABLE   BIT(5)

◆ HV_X64_HYPERCALL_XMM_INPUT_AVAILABLE

#define HV_X64_HYPERCALL_XMM_INPUT_AVAILABLE   BIT(4)

◆ HV_X64_HYPERCALL_XMM_OUTPUT_AVAILABLE

#define HV_X64_HYPERCALL_XMM_OUTPUT_AVAILABLE   BIT(15)

◆ HV_X64_LOCAL_TLB_FLUSH_RECOMMENDED

#define HV_X64_LOCAL_TLB_FLUSH_RECOMMENDED   BIT(1)

◆ HV_X64_MSR_APIC_FREQUENCY

#define HV_X64_MSR_APIC_FREQUENCY   0x40000023

◆ HV_X64_MSR_CRASH_CTL

#define HV_X64_MSR_CRASH_CTL   HV_REGISTER_CRASH_CTL

◆ HV_X64_MSR_CRASH_P0

#define HV_X64_MSR_CRASH_P0   HV_REGISTER_CRASH_P0

◆ HV_X64_MSR_CRASH_P1

#define HV_X64_MSR_CRASH_P1   HV_REGISTER_CRASH_P1

◆ HV_X64_MSR_CRASH_P2

#define HV_X64_MSR_CRASH_P2   HV_REGISTER_CRASH_P2

◆ HV_X64_MSR_CRASH_P3

#define HV_X64_MSR_CRASH_P3   HV_REGISTER_CRASH_P3

◆ HV_X64_MSR_CRASH_P4

#define HV_X64_MSR_CRASH_P4   HV_REGISTER_CRASH_P4

◆ HV_X64_MSR_CRASH_PARAMS

#define HV_X64_MSR_CRASH_PARAMS    (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0))
346#define HV_X64_MSR_CRASH_PARAMS \
347 (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0))

◆ HV_X64_MSR_EOI

#define HV_X64_MSR_EOI   0x40000070

◆ HV_X64_MSR_EOM

#define HV_X64_MSR_EOM   HV_REGISTER_EOM

◆ HV_X64_MSR_GUEST_IDLE

#define HV_X64_MSR_GUEST_IDLE   0x400000F0

◆ HV_X64_MSR_GUEST_OS_ID

#define HV_X64_MSR_GUEST_OS_ID   0x40000000

◆ HV_X64_MSR_HYPERCALL

#define HV_X64_MSR_HYPERCALL   0x40000001

◆ HV_X64_MSR_HYPERCALL_ENABLE

#define HV_X64_MSR_HYPERCALL_ENABLE   0x00000001

◆ HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK

#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK    (~((1ull << HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT) - 1))
343#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \
344 (~((1ull << HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT) - 1))

◆ HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT

#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT   12

◆ HV_X64_MSR_ICR

#define HV_X64_MSR_ICR   0x40000071

◆ HV_X64_MSR_REENLIGHTENMENT_CONTROL

#define HV_X64_MSR_REENLIGHTENMENT_CONTROL   0x40000106

◆ HV_X64_MSR_REFERENCE_TSC

#define HV_X64_MSR_REFERENCE_TSC   HV_REGISTER_REFERENCE_TSC

◆ HV_X64_MSR_RESET

#define HV_X64_MSR_RESET   0x40000003

◆ HV_X64_MSR_SCONTROL

#define HV_X64_MSR_SCONTROL   HV_REGISTER_SCONTROL

◆ HV_X64_MSR_SIEFP

#define HV_X64_MSR_SIEFP   HV_REGISTER_SIEFP

◆ HV_X64_MSR_SIMP

#define HV_X64_MSR_SIMP   HV_REGISTER_SIMP

◆ HV_X64_MSR_SINT0

#define HV_X64_MSR_SINT0   HV_REGISTER_SINT0

◆ HV_X64_MSR_SINT15

#define HV_X64_MSR_SINT15   HV_REGISTER_SINT15

◆ HV_X64_MSR_STIMER0_CONFIG

#define HV_X64_MSR_STIMER0_CONFIG   HV_REGISTER_STIMER0_CONFIG

◆ HV_X64_MSR_STIMER0_COUNT

#define HV_X64_MSR_STIMER0_COUNT   HV_REGISTER_STIMER0_COUNT

◆ HV_X64_MSR_STIMER1_CONFIG

#define HV_X64_MSR_STIMER1_CONFIG   HV_REGISTER_STIMER1_CONFIG

◆ HV_X64_MSR_STIMER1_COUNT

#define HV_X64_MSR_STIMER1_COUNT   HV_REGISTER_STIMER1_COUNT

◆ HV_X64_MSR_STIMER2_CONFIG

#define HV_X64_MSR_STIMER2_CONFIG   HV_REGISTER_STIMER2_CONFIG

◆ HV_X64_MSR_STIMER2_COUNT

#define HV_X64_MSR_STIMER2_COUNT   HV_REGISTER_STIMER2_COUNT

◆ HV_X64_MSR_STIMER3_CONFIG

#define HV_X64_MSR_STIMER3_CONFIG   HV_REGISTER_STIMER3_CONFIG

◆ HV_X64_MSR_STIMER3_COUNT

#define HV_X64_MSR_STIMER3_COUNT   HV_REGISTER_STIMER3_COUNT

◆ HV_X64_MSR_SVERSION

#define HV_X64_MSR_SVERSION   HV_REGISTER_SVERSION

◆ HV_X64_MSR_TIME_REF_COUNT

#define HV_X64_MSR_TIME_REF_COUNT   HV_REGISTER_TIME_REF_COUNT

◆ HV_X64_MSR_TPR

#define HV_X64_MSR_TPR   0x40000072

◆ HV_X64_MSR_TSC_EMULATION_CONTROL

#define HV_X64_MSR_TSC_EMULATION_CONTROL   0x40000107

◆ HV_X64_MSR_TSC_EMULATION_STATUS

#define HV_X64_MSR_TSC_EMULATION_STATUS   0x40000108

◆ HV_X64_MSR_TSC_FREQUENCY

#define HV_X64_MSR_TSC_FREQUENCY   0x40000022

◆ HV_X64_MSR_TSC_INVARIANT_CONTROL

#define HV_X64_MSR_TSC_INVARIANT_CONTROL   0x40000118

◆ HV_X64_MSR_TSC_REFERENCE_ADDRESS_SHIFT

#define HV_X64_MSR_TSC_REFERENCE_ADDRESS_SHIFT   12

◆ HV_X64_MSR_TSC_REFERENCE_ENABLE

#define HV_X64_MSR_TSC_REFERENCE_ENABLE   0x00000001

◆ HV_X64_MSR_VP_ASSIST_PAGE

#define HV_X64_MSR_VP_ASSIST_PAGE   0x40000073

◆ HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_MASK

#define HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_MASK    (~((1ull << HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT) - 1))
354#define HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_MASK \
355 (~((1ull << HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT) - 1))

◆ HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT

#define HV_X64_MSR_VP_ASSIST_PAGE_ADDRESS_SHIFT   12

◆ HV_X64_MSR_VP_ASSIST_PAGE_ENABLE

#define HV_X64_MSR_VP_ASSIST_PAGE_ENABLE   0x00000001

◆ HV_X64_MSR_VP_INDEX

#define HV_X64_MSR_VP_INDEX   HV_REGISTER_VP_INDEX

◆ HV_X64_MSR_VP_RUNTIME

#define HV_X64_MSR_VP_RUNTIME   0x40000010

◆ HV_X64_MWAIT_AVAILABLE

#define HV_X64_MWAIT_AVAILABLE   BIT(0)

◆ HV_X64_NESTED_DIRECT_FLUSH

#define HV_X64_NESTED_DIRECT_FLUSH   BIT(17)

◆ HV_X64_NESTED_ENLIGHTENED_TLB

#define HV_X64_NESTED_ENLIGHTENED_TLB   BIT(22)

◆ HV_X64_NESTED_GUEST_MAPPING_FLUSH

#define HV_X64_NESTED_GUEST_MAPPING_FLUSH   BIT(18)

◆ HV_X64_NESTED_MSR_BITMAP

#define HV_X64_NESTED_MSR_BITMAP   BIT(19)

◆ HV_X64_NO_NONARCH_CORESHARING

#define HV_X64_NO_NONARCH_CORESHARING   BIT(18)

◆ HV_X64_PERF_MONITOR_AVAILABLE

#define HV_X64_PERF_MONITOR_AVAILABLE   BIT(2)

◆ HV_X64_PERFORMANCE_COUNTER_SYNC

#define HV_X64_PERFORMANCE_COUNTER_SYNC   BIT(2)

◆ HV_X64_RELAXED_TIMING_RECOMMENDED

#define HV_X64_RELAXED_TIMING_RECOMMENDED   BIT(5)

◆ HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED

#define HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED   BIT(2)

◆ HV_X64_RESERVED_IDENTITY_BIT

#define HV_X64_RESERVED_IDENTITY_BIT   BIT(31)

◆ HV_X64_START_LOGICAL_PROCESSOR

#define HV_X64_START_LOGICAL_PROCESSOR   BIT(0)

◆ HV_X64_SYSTEM_RESET_RECOMMENDED

#define HV_X64_SYSTEM_RESET_RECOMMENDED   BIT(4)

◆ HYPERV_CPUID_CPU_MANAGEMENT_FEATURES

#define HYPERV_CPUID_CPU_MANAGEMENT_FEATURES   0x40000007

◆ HYPERV_CPUID_ENLIGHTMENT_INFO

#define HYPERV_CPUID_ENLIGHTMENT_INFO   0x40000004

◆ HYPERV_CPUID_FEATURES

#define HYPERV_CPUID_FEATURES   0x40000003

◆ HYPERV_CPUID_IMPLEMENT_LIMITS

#define HYPERV_CPUID_IMPLEMENT_LIMITS   0x40000005

◆ HYPERV_CPUID_INTERFACE

#define HYPERV_CPUID_INTERFACE   0x40000001

◆ HYPERV_CPUID_ISOLATION_CONFIG

#define HYPERV_CPUID_ISOLATION_CONFIG   0x4000000C

◆ HYPERV_CPUID_MAX

#define HYPERV_CPUID_MAX   0x4000ffff

◆ HYPERV_CPUID_MIN

#define HYPERV_CPUID_MIN   0x40000005

◆ HYPERV_CPUID_NESTED_FEATURES

#define HYPERV_CPUID_NESTED_FEATURES   0x4000000A

◆ HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS

#define HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS   0x40000000

◆ HYPERV_CPUID_VERSION

#define HYPERV_CPUID_VERSION   0x40000002

◆ HYPERV_CPUID_VIRT_STACK_INTERFACE

#define HYPERV_CPUID_VIRT_STACK_INTERFACE   0x40000081

◆ HYPERV_CPUID_VIRT_STACK_PROPERTIES

#define HYPERV_CPUID_VIRT_STACK_PROPERTIES   0x40000082

◆ HYPERV_HYPERVISOR_PRESENT_BIT

#define HYPERV_HYPERVISOR_PRESENT_BIT   0x80000000

◆ HYPERV_VS_INTERFACE_EAX_SIGNATURE

#define HYPERV_VS_INTERFACE_EAX_SIGNATURE   0x31235356 /* "VS#1" */

◆ HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE

#define HYPERV_VS_PROPERTIES_EAX_EXTENDED_IOAPIC_RTE   BIT(2)

Enumeration Type Documentation

◆ hv_interrupt_type

Enumerator
HV_X64_INTERRUPT_TYPE_FIXED 
HV_X64_INTERRUPT_TYPE_LOWESTPRIORITY 
HV_X64_INTERRUPT_TYPE_SMI 
HV_X64_INTERRUPT_TYPE_REMOTEREAD 
HV_X64_INTERRUPT_TYPE_NMI 
HV_X64_INTERRUPT_TYPE_INIT 
HV_X64_INTERRUPT_TYPE_SIPI 
HV_X64_INTERRUPT_TYPE_EXTINT 
HV_X64_INTERRUPT_TYPE_LOCALINT0 
HV_X64_INTERRUPT_TYPE_LOCALINT1 
HV_X64_INTERRUPT_TYPE_MAXIMUM 
605{
617};
@ HV_X64_INTERRUPT_TYPE_SMI
Definition HypervTlfs.h:608
@ HV_X64_INTERRUPT_TYPE_NMI
Definition HypervTlfs.h:610
@ HV_X64_INTERRUPT_TYPE_LOCALINT0
Definition HypervTlfs.h:614
@ HV_X64_INTERRUPT_TYPE_SIPI
Definition HypervTlfs.h:612
@ HV_X64_INTERRUPT_TYPE_EXTINT
Definition HypervTlfs.h:613
@ HV_X64_INTERRUPT_TYPE_MAXIMUM
Definition HypervTlfs.h:616
@ HV_X64_INTERRUPT_TYPE_FIXED
Definition HypervTlfs.h:606
@ HV_X64_INTERRUPT_TYPE_REMOTEREAD
Definition HypervTlfs.h:609
@ HV_X64_INTERRUPT_TYPE_INIT
Definition HypervTlfs.h:611
@ HV_X64_INTERRUPT_TYPE_LOWESTPRIORITY
Definition HypervTlfs.h:607
@ HV_X64_INTERRUPT_TYPE_LOCALINT1
Definition HypervTlfs.h:615

◆ hv_isolation_type

Enumerator
HV_ISOLATION_TYPE_NONE 
HV_ISOLATION_TYPE_VBS 
HV_ISOLATION_TYPE_SNP 
155{
159};
@ HV_ISOLATION_TYPE_NONE
Definition HypervTlfs.h:156
@ HV_ISOLATION_TYPE_VBS
Definition HypervTlfs.h:157
@ HV_ISOLATION_TYPE_SNP
Definition HypervTlfs.h:158

◆ hv_mem_host_visibility

Enumerator
VMBUS_PAGE_NOT_VISIBLE 
VMBUS_PAGE_VISIBLE_READ_ONLY 
VMBUS_PAGE_VISIBLE_READ_WRITE 
278{
282};
@ VMBUS_PAGE_VISIBLE_READ_ONLY
Definition HypervTlfs.h:280
@ VMBUS_PAGE_VISIBLE_READ_WRITE
Definition HypervTlfs.h:281
@ VMBUS_PAGE_NOT_VISIBLE
Definition HypervTlfs.h:279

Variable Documentation

◆ __packed

struct hv_gpa_range_for_visibility __packed