You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hyperv.h 874B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef _HYPERV_H
  2. #define _HYPERV_H
  3. /** @file
  4. *
  5. * Hyper-V driver
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. /** Get vendor identification */
  10. #define HV_CPUID_VENDOR_ID 0x40000000UL
  11. /** Get interface identification */
  12. #define HV_CPUID_INTERFACE_ID 0x40000001UL
  13. /** Get hypervisor identification */
  14. #define HV_CPUID_HYPERVISOR_ID 0x40000002UL
  15. /** Guest OS identity MSR */
  16. #define HV_X64_MSR_GUEST_OS_ID 0x40000000UL
  17. /** Hypercall page MSR */
  18. #define HV_X64_MSR_HYPERCALL 0x40000001UL
  19. /** SynIC control MSR */
  20. #define HV_X64_MSR_SCONTROL 0x40000080UL
  21. /** SynIC event flags page MSR */
  22. #define HV_X64_MSR_SIEFP 0x40000082UL
  23. /** SynIC message page MSR */
  24. #define HV_X64_MSR_SIMP 0x40000083UL
  25. /** SynIC end of message MSR */
  26. #define HV_X64_MSR_EOM 0x40000084UL
  27. /** SynIC interrupt source MSRs */
  28. #define HV_X64_MSR_SINT(x) ( 0x40000090UL + (x) )
  29. #endif /* _HYPERV_H */