Virtual Interrupt Data Types

The hypervisor defines the following data types to control virtual interrupts.

Interrupt Types

The virtual interrupt types that the hypervisor supports are defined in the HV_INTERRUPT_TYPE enumeration.

Interrupt Control

Software uses the HV_INTERRUPT_CONTROL union in a call to the HvAssertVirtualInterrupt hypercall function for virtual interrupt control. Software sets members of HV_INTERRUPT_CONTROL to specify the type of the virtual interrupt, the virtual interrupt's destination mode, and whether the virtual interrupt is edge or level triggered.

Interrupt Vectors

The hypervisor defines the HV_INTERRUPT_VECTOR data type to represent interrupt vectors as 32-bit values. The hypervisor defines the special HV_INTERRUPT_VECTOR_NONE value to indicate "no interrupt vector." Software uses this value in calls to indicate whether a previous interrupt was acknowledged.


typedef UINT32 HV_INTERRUPT_VECTOR;
typedef HV_INTERRUPT_VECTOR *PHV_INTERRUPT_VECTOR;

#define HV_INTERRUPT_VECTOR_NONE 0xFFFFFFFF

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.