Expand Minimize

HV_INTERRUPT_CONTROL union

The HV_INTERRUPT_CONTROL union describes a type of virtual interrupt.

Syntax


typedef union _HV_INTERRUPT_CONTROL {
  UINT64 AsUINT64;
  struct {
    HV_INTERRUPT_TYPE InterruptType;
    UINT32            LevelTriggered  :1;
    UINT32            LogicalDestinationMode  :1;
    UINT32            Reserved  :30;
  };
} HV_INTERRUPT_CONTROL, *PHV_INTERRUPT_CONTROL;

Members

AsUINT64

A member in the union that can hold one 64-bit value that describes a type of virtual interrupt.

InterruptType

An HV_INTERRUPT_TYPE value that identifies the interrupt type. The type is set in the first group of 32 bits of the 64-bit AsUINT64 member (0x00000000FFFFFFFF).

LevelTriggered

A UINT32 value that indicates whether the virtual interrupt is edge- or level-triggered. If set (1), the virtual interrupt is level-triggered. Setting this member is equivalent to setting the first bit of the second group of 32 bits of the 64-bit AsUINT64 member (0x0000000100000000).

LogicalDestinationMode

A UINT32 value that indicates whether the virtual interrupt is a logical destination mode. Setting this member is equivalent to setting the second bit of the second group of 32 bits of the 64-bit AsUINT64 member (0x0000000200000000).

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 30 bits (0xFFFFFFFC00000000) of the second group of 32 bits of the 64-bit AsUINT64 member to zeros.

Remarks

The HV_INTERRUPT_CONTROL union is passed to the HvAssertVirtualInterrupt function.

Requirements

Header

HvSynicApi.h (include Hvgdk.h)

See also

HV_INTERRUPT_TYPE
HvAssertVirtualInterrupt

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.