Expand Minimize

HV_X64_MSR_REFERENCE_TSC_CONTENTS union

The HV_X64_MSR_REFERENCE_TSC_CONTENTS union describes encoding for a time stamp counter (TSC) model-specific register (MSR).

Syntax


typedef union _HV_X64_MSR_REFERENCE_TSC_CONTENTS {
  UINT64 AsUINT64;
  struct {
    UINT64 Enable  :1;
    UINT64 ReservedP  :11;
    UINT64 GpaPageNumber  :52;
  };
} HV_X64_MSR_REFERENCE_TSC_CONTENTS, *PHV_X64_MSR_REFERENCE_TSC_CONTENTS;

Members

AsUINT64

A member in the union that can hold one 64-bit value that describes encoding for a TSC MSR.

Enable

A 64-bit value that indicates whether the TSC MSR is enabled. When set, the MSR is enabled. When clear, the MSR is disabled. Setting this member is equivalent to setting the first bit (bit 0) of the 64-bit AsUINT64 member (0x0000000000000001).

ReservedP

This member is reserved. Guest operating systems should preserve the value of the reserved bits (1 through 11) for future compatibility. This member is equivalent to the second through twelfth bits (0x0000000000000FFE) of the 64-bit AsUINT64 member.

GpaPageNumber

The base address (in GPA space) of the TSC page. Setting the base address in this member is equivalent to setting the base address in bits 12 through 63 (0xFFFFFFFFFFFFF000) of the 64-bit AsUINT64 member.

Remarks

Requirements

Header

Hvgdk.h (include Hvgdk.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.