iPXE
Defines | Functions
hyperv.h File Reference

Hyper-V driver. More...

Go to the source code of this file.

Defines

#define HV_CPUID_VENDOR_ID   0x40000000UL
 Get vendor identification.
#define HV_CPUID_INTERFACE_ID   0x40000001UL
 Get interface identification.
#define HV_CPUID_HYPERVISOR_ID   0x40000002UL
 Get hypervisor identification.
#define HV_CPUID_FEATURES   0x40000003UL
 Get hypervisor features.
#define HV_FEATURES_AVAIL_TIME_REF_COUNT_MSR   0x00000002UL
 Time reference counter MSR is available.
#define HV_FEATURES_AVAIL_SYNIC_MSR   0x00000004UL
 SynIC MSRs are available.
#define HV_FEATURES_AVAIL_HYPERCALL_MSR   0x00000020UL
 Hypercall MSRs are available.
#define HV_FEATURES_PERM_POST_MESSAGES   0x00000010UL
 Guest may post messages.
#define HV_FEATURES_PERM_SIGNAL_EVENTS   0x00000020UL
 Guest may signal events.
#define HV_X64_MSR_GUEST_OS_ID   0x40000000UL
 Guest OS identity MSR.
#define HV_X64_MSR_HYPERCALL   0x40000001UL
 Hypercall page MSR.
#define HV_X64_MSR_TIME_REF_COUNT   0x40000020UL
 Time reference MSR.
#define HV_X64_MSR_SCONTROL   0x40000080UL
 SynIC control MSR.
#define HV_X64_MSR_SIEFP   0x40000082UL
 SynIC event flags page MSR.
#define HV_X64_MSR_SIMP   0x40000083UL
 SynIC message page MSR.
#define HV_X64_MSR_EOM   0x40000084UL
 SynIC end of message MSR.
#define HV_X64_MSR_SINT(x)   ( 0x40000090UL + (x) )
 SynIC interrupt source MSRs.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

Hyper-V driver.

Definition in file hyperv.h.


Define Documentation

#define HV_CPUID_VENDOR_ID   0x40000000UL

Get vendor identification.

Definition at line 13 of file hyperv.h.

Referenced by hv_map_hypercall().

#define HV_CPUID_INTERFACE_ID   0x40000001UL

Get interface identification.

Definition at line 16 of file hyperv.h.

Referenced by hv_check_hv().

#define HV_CPUID_HYPERVISOR_ID   0x40000002UL

Get hypervisor identification.

Definition at line 19 of file hyperv.h.

Referenced by hv_map_hypercall().

#define HV_CPUID_FEATURES   0x40000003UL

Get hypervisor features.

Definition at line 22 of file hyperv.h.

Referenced by hv_check_features(), and hv_timer_probe().

#define HV_FEATURES_AVAIL_TIME_REF_COUNT_MSR   0x00000002UL

Time reference counter MSR is available.

Definition at line 25 of file hyperv.h.

Referenced by hv_timer_probe().

#define HV_FEATURES_AVAIL_SYNIC_MSR   0x00000004UL

SynIC MSRs are available.

Definition at line 28 of file hyperv.h.

Referenced by hv_check_features().

#define HV_FEATURES_AVAIL_HYPERCALL_MSR   0x00000020UL

Hypercall MSRs are available.

Definition at line 31 of file hyperv.h.

Referenced by hv_check_features().

#define HV_FEATURES_PERM_POST_MESSAGES   0x00000010UL

Guest may post messages.

Definition at line 34 of file hyperv.h.

Referenced by hv_check_features().

#define HV_FEATURES_PERM_SIGNAL_EVENTS   0x00000020UL

Guest may signal events.

Definition at line 37 of file hyperv.h.

Referenced by hv_check_features().

#define HV_X64_MSR_GUEST_OS_ID   0x40000000UL

Guest OS identity MSR.

Definition at line 40 of file hyperv.h.

Referenced by hv_check_uefi(), hv_map_hypercall(), and hv_unmap_hypercall().

#define HV_X64_MSR_HYPERCALL   0x40000001UL

Hypercall page MSR.

Definition at line 43 of file hyperv.h.

Referenced by hv_map_hypercall(), and hv_unmap_hypercall().

#define HV_X64_MSR_TIME_REF_COUNT   0x40000020UL

Time reference MSR.

Definition at line 46 of file hyperv.h.

Referenced by hv_currticks(), and hv_udelay().

#define HV_X64_MSR_SCONTROL   0x40000080UL

SynIC control MSR.

Definition at line 49 of file hyperv.h.

Referenced by hv_map_synic(), and hv_unmap_synic().

#define HV_X64_MSR_SIEFP   0x40000082UL

SynIC event flags page MSR.

Definition at line 52 of file hyperv.h.

Referenced by hv_map_synic(), and hv_unmap_synic_no_scontrol().

#define HV_X64_MSR_SIMP   0x40000083UL

SynIC message page MSR.

Definition at line 55 of file hyperv.h.

Referenced by hv_map_synic(), hv_unmap_synic_no_scontrol(), and hv_unquiesce().

#define HV_X64_MSR_EOM   0x40000084UL

SynIC end of message MSR.

Definition at line 58 of file hyperv.h.

Referenced by hv_wait_for_message().

#define HV_X64_MSR_SINT (   x)    ( 0x40000090UL + (x) )

SynIC interrupt source MSRs.

Definition at line 61 of file hyperv.h.

Referenced by hv_disable_sint(), and hv_enable_sint().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )