Expand Minimize

HV_TRANSLATE_GVA_RESULT union

The HV_TRANSLATE_GVA_RESULT union describes results of a translation from a guest virtual address (GVA) to a guest physical address (GPA).

Syntax


typedef union _HV_TRANSLATE_GVA_RESULT {
  UINT64 AsUINT64;
  struct {
    HV_TRANSLATE_GVA_RESULT_CODE ResultCode;
    UINT32                       CacheType  :8;
    UINT32                       OverlayPage  :1;
    UINT32                       Reserved  :23;
  };
} HV_TRANSLATE_GVA_RESULT, *PHV_TRANSLATE_GVA_RESULT;

Members

AsUINT64

A member in the union that can hold one 64-bit value that describes results of the translation.

ResultCode

A HV_TRANSLATE_GVA_RESULT_CODE value that identifies the result code for the translation. The result-code value is set in the first group of 32 bits of the 64-bit AsUINT64 member (0x00000000FFFFFFFF).

CacheType

A 32-bit HV_CACHE_TYPE value that identifies the type of cache. The value is set in the first through eighth bits of the second group of 32 bits of the 64-bit AsUINT64 member (0x000000FF00000000).

OverlayPage

A UINT32 value that indicates whether the page is an overlay. Setting this member is equivalent to setting the ninth bit of the second group of 32 bits of the 64-bit AsUINT64 member (0x0000010000000000).

Reserved

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

Remarks

The HV_TRANSLATE_GVA_RESULT union is returned from a call to the HvTranslateVirtualAddress function.

Requirements

Header

HvAmApi.h (include Hvgdk.h)

See also

HV_CACHE_TYPE
HV_TRANSLATE_GVA_RESULT_CODE
HvTranslateVirtualAddress

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.