Expand Minimize

HV_X64_IO_PORT_ACCESS_INFO union

The HV_X64_IO_PORT_ACCESS_INFO union describes flags that provide information about memory access.

Syntax


typedef union _HV_X64_IO_PORT_ACCESS_INFO {
  UINT8  AsUINT8;
  struct {
    UINT8 AccessSize  :3;
    UINT8 StringOp  :1;
    UINT8 RepPrefix  :1;
    UINT8 Reserved  :3;
  };
} HV_X64_IO_PORT_ACCESS_INFO, *PHV_X64_IO_PORT_ACCESS_INFO;

Members

AsUINT8

A member in the union that can hold one 8-bit value that describes information about memory access.

AccessSize

A UINT8 value that indicates the size of the memory access. The following encodings are used:

  • 001b = 8 bits

  • 010b = 16 bits

  • 100b = 32 bits

All other combinations are reserved.

The memory-access size is set in the first through third bits of the 8-bit AsUINT8 member (0x07).

StringOp

A UINT8 value that indicates whether the instruction is a string form (INS or OUTS). Setting this member is equivalent to setting the fourth bit of the 8-bit AsUINT8 member (0x08).

RepPrefix

A UINT8 value that indicates whether the instruction has a "rep" prefix. This flag is used only for string operations. Setting this member is equivalent to setting the fifth bit of the 8-bit AsUINT8 member (0x10).

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining three bits (0xE0) of the 8-bit AsUINT8 member to zeros.

Remarks

Requirements

Header

HvImApi.h (include Hvgdk.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.