Expand Minimize

HV_REGISTER_VALUE union

The HV_REGISTER_VALUE union describes virtual processor register values.

Syntax


typedef union _HV_REGISTER_VALUE {
  HV_UINT128                           Reg128;
  UINT64                               Reg64;
  UINT32                               Reg32;
  UINT16                               Reg16;
  UINT8                                Reg8;
  HV_X64_FP_REGISTER                   Fp;
  HV_X64_FP_CONTROL_STATUS_REGISTER    FpControlStatus;
  HV_X64_XMM_CONTROL_STATUS_REGISTER   XmmControlStatus;
  HV_X64_SEGMENT_REGISTER              Segment;
  HV_X64_TABLE_REGISTER                Table;
  HV_EXPLICIT_SUSPEND_REGISTER         ExplicitSuspend;
  HV_INTERCEPT_SUSPEND_REGISTER        InterceptSuspend;
  HV_X64_INTERRUPT_STATE_REGISTER      InterruptState;
  HV_X64_PENDING_INTERRUPTION_REGISTER PendingInterruption;
} HV_REGISTER_VALUE, *PHV_REGISTER_VALUE;

Members

Reg128

The register holds a full 128-bit value.

Reg64

The register holds a 64-bit value.

Reg32

The register holds a 32-bit value.

Reg16

The register holds a 16-bit value.

Reg8

The register holds an 8-bit value.

Fp

The register holds a floating-point value that is encoded with the HV_X64_FP_REGISTER union.

FpControlStatus

The register holds a floating-point control-status value that is encoded with the HV_X64_FP_CONTROL_STATUS_REGISTER union.

XmmControlStatus

The register holds a XMM floating-point control-status value that is encoded with the HV_X64_XMM_CONTROL_STATUS_REGISTER union.

Segment

The register holds a segment value that is encoded with the HV_X64_SEGMENT_REGISTER structure.

Table

The register holds a table value that is encoded with the HV_X64_TABLE_REGISTER structure.

ExplicitSuspend

The register holds an explicit-suspend value that is encoded with the HV_EXPLICIT_SUSPEND_REGISTER union.

InterceptSuspend

The register holds an intercept-suspend value that is encoded with the HV_INTERCEPT_SUSPEND_REGISTER union.

InterruptState

The register holds an interrupt-state value that is encoded with the HV_X64_INTERRUPT_STATE_REGISTER union.

PendingInterruption

The register holds a pending-interruption value that is encoded with the HV_X64_PENDING_INTERRUPTION_REGISTER union.

Remarks

Virtual processor register values are all 128 bits in size. Values that do not consume the full 128 bits are zero-extended to fill out the register's entire 128 bits.

The HV_REGISTER_VALUE union is passed to the HvGetVpRegisters and HvSetVpRegisters functions.

Requirements

Header

HvValApi.h (include Hvgdk.h)

See also

HV_EXPLICIT_SUSPEND_REGISTER
HV_INTERCEPT_SUSPEND_REGISTER
HV_X64_FP_CONTROL_STATUS_REGISTER
HV_X64_FP_REGISTER
HV_X64_INTERRUPT_STATE_REGISTER
HV_X64_PENDING_INTERRUPTION_REGISTER
HV_X64_SEGMENT_REGISTER
HV_X64_TABLE_REGISTER
HV_X64_XMM_CONTROL_STATUS_REGISTER
HvGetVpRegisters
HvSetVpRegisters

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.