ReactOS 0.4.15-dev-7712-gbbbcd8e
vmx_regs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SVGA_MAGIC   0x900000
 
#define SVGA_VERSION_2   2
 
#define SVGA_VERSION_1   1
 
#define SVGA_VERSION_0   0
 
#define SVGA_MAKE_ID(x)   (SVGA_MAGIC << 8 | (x))
 
#define SVGA_ID_2   SVGA_MAKE_ID(SVGA_VERSION_2)
 
#define SVGA_ID_1   SVGA_MAKE_ID(SVGA_VERSION_1)
 
#define SVGA_ID_0   SVGA_MAKE_ID(SVGA_VERSION_0)
 
#define SVGA_ID_INVALID   0xFFFFFFFF
 
#define SVGA_CAP_NONE   0x00000000
 
#define SVGA_CAP_RECT_FILL   0x00000001
 
#define SVGA_CAP_RECT_COPY   0x00000002
 
#define SVGA_CAP_RECT_PAT_FILL   0x00000004
 
#define SVGA_CAP_LEGACY_OFFSCREEN   0x00000008
 
#define SVGA_CAP_RASTER_OP   0x00000010
 
#define SVGA_CAP_CURSOR   0x00000020
 
#define SVGA_CAP_CURSOR_BYPASS   0x00000040
 
#define SVGA_CAP_CURSOR_BYPASS_2   0x00000080
 
#define SVGA_CAP_8BIT_EMULATION   0x00000100
 
#define SVGA_CAP_ALPHA_CURSOR   0x00000200
 
#define SVGA_CAP_GLYPH   0x00000400
 
#define SVGA_CAP_GLYPH_CLIPPING   0x00000800
 
#define SVGA_CAP_OFFSCREEN_1   0x00001000
 
#define SVGA_CAP_ALPHA_BLEND   0x00002000
 
#define SVGA_CAP_3D   0x00004000
 
#define SVGA_CAP_EXTENDED_FIFO   0x00008000
 
#define SVGA_CAP_MULTIMON   0x00010000
 
#define SVGA_CAP_PITCHLOCK   0x00020000
 
#define SVGA_CAP_IRQMASK   0x00040000
 
#define SVGA_CAP_DISPLAY_TOPOLOGY   0x00080000
 
#define SVGA_LEGACY_BASE_PORT   0x4560
 
#define SVGA_INDEX_PORT   0x0
 
#define SVGA_VALUE_PORT   0x1
 
#define SVGA_BIOS_PORT   0x2
 
#define SVGA_NUM_PORTS   0x3
 
#define SVGA_IRQSTATUS_PORT   0x8
 
#define SVGA_INVALID_DISPLAY_ID   0xFFFFFFFF
 
#define SVGA_MAX_BITS_PER_PIXEL   32
 
#define SVGA_MAX_DEPTH   24
 
#define SVGA_MAX_DISPLAYS   10
 
#define SVGA_MAX_PSEUDOCOLOR_DEPTH   8
 
#define SVGA_MAX_PSEUDOCOLORS   (1 << SVGA_MAX_PSEUDOCOLOR_DEPTH)
 
#define SVGA_NUM_PALETTE_REGS   (3 * SVGA_MAX_PSEUDOCOLORS)
 
#define SVGA_FB_MAX_SIZE
 

Typedefs

typedef enum _VMX_SVGA_REGISTERS VMX_SVGA_REGISTERS
 

Enumerations

enum  _VMX_SVGA_REGISTERS {
  SVGA_REG_ID , SVGA_REG_ENABLE , SVGA_REG_WIDTH , SVGA_REG_HEIGHT ,
  SVGA_REG_MAX_WIDTH , SVGA_REG_MAX_HEIGHT , SVGA_REG_DEPTH , SVGA_REG_BITS_PER_PIXEL ,
  SVGA_REG_PSEUDOCOLOR , SVGA_REG_RED_MASK , SVGA_REG_GREEN_MASK , SVGA_REG_BLUE_MASK ,
  SVGA_REG_BYTES_PER_LINE , SVGA_REG_FB_START , SVGA_REG_FB_OFFSET , SVGA_REG_VRAM_SIZE ,
  SVGA_REG_FB_SIZE , SVGA_REG_CAPABILITIES , SVGA_REG_MEM_START , SVGA_REG_MEM_SIZE ,
  SVGA_REG_CONFIG_DONE , SVGA_REG_SYNC , SVGA_REG_BUSY , SVGA_REG_GUEST_ID ,
  SVGA_REG_CURSOR_ID , SVGA_REG_CURSOR_X , SVGA_REG_CURSOR_Y , SVGA_REG_CURSOR_ON ,
  SVGA_REG_HOST_BITS_PER_PIXEL , SVGA_REG_SCRATCH_SIZE , SVGA_REG_MEM_REGS , SVGA_REG_NUM_DISPLAYS ,
  SVGA_REG_PITCHLOCK , SVGA_REG_IRQMASK , SVGA_REG_NUM_GUEST_DISPLAYS , SVGA_REG_DISPLAY_ID ,
  SVGA_REG_DISPLAY_IS_PRIMARY , SVGA_REG_DISPLAY_POSITION_X , SVGA_REG_DISPLAY_POSITION_Y , SVGA_REG_DISPLAY_WIDTH ,
  SVGA_REG_DISPLAY_HEIGHT , SVGA_REG_TOP
}
 

Macro Definition Documentation

◆ SVGA_BIOS_PORT

#define SVGA_BIOS_PORT   0x2

Definition at line 61 of file vmx_regs.h.

◆ SVGA_CAP_3D

#define SVGA_CAP_3D   0x00004000

Definition at line 48 of file vmx_regs.h.

◆ SVGA_CAP_8BIT_EMULATION

#define SVGA_CAP_8BIT_EMULATION   0x00000100

Definition at line 42 of file vmx_regs.h.

◆ SVGA_CAP_ALPHA_BLEND

#define SVGA_CAP_ALPHA_BLEND   0x00002000

Definition at line 47 of file vmx_regs.h.

◆ SVGA_CAP_ALPHA_CURSOR

#define SVGA_CAP_ALPHA_CURSOR   0x00000200

Definition at line 43 of file vmx_regs.h.

◆ SVGA_CAP_CURSOR

#define SVGA_CAP_CURSOR   0x00000020

Definition at line 39 of file vmx_regs.h.

◆ SVGA_CAP_CURSOR_BYPASS

#define SVGA_CAP_CURSOR_BYPASS   0x00000040

Definition at line 40 of file vmx_regs.h.

◆ SVGA_CAP_CURSOR_BYPASS_2

#define SVGA_CAP_CURSOR_BYPASS_2   0x00000080

Definition at line 41 of file vmx_regs.h.

◆ SVGA_CAP_DISPLAY_TOPOLOGY

#define SVGA_CAP_DISPLAY_TOPOLOGY   0x00080000

Definition at line 53 of file vmx_regs.h.

◆ SVGA_CAP_EXTENDED_FIFO

#define SVGA_CAP_EXTENDED_FIFO   0x00008000

Definition at line 49 of file vmx_regs.h.

◆ SVGA_CAP_GLYPH

#define SVGA_CAP_GLYPH   0x00000400

Definition at line 44 of file vmx_regs.h.

◆ SVGA_CAP_GLYPH_CLIPPING

#define SVGA_CAP_GLYPH_CLIPPING   0x00000800

Definition at line 45 of file vmx_regs.h.

◆ SVGA_CAP_IRQMASK

#define SVGA_CAP_IRQMASK   0x00040000

Definition at line 52 of file vmx_regs.h.

◆ SVGA_CAP_LEGACY_OFFSCREEN

#define SVGA_CAP_LEGACY_OFFSCREEN   0x00000008

Definition at line 37 of file vmx_regs.h.

◆ SVGA_CAP_MULTIMON

#define SVGA_CAP_MULTIMON   0x00010000

Definition at line 50 of file vmx_regs.h.

◆ SVGA_CAP_NONE

#define SVGA_CAP_NONE   0x00000000

Definition at line 33 of file vmx_regs.h.

◆ SVGA_CAP_OFFSCREEN_1

#define SVGA_CAP_OFFSCREEN_1   0x00001000

Definition at line 46 of file vmx_regs.h.

◆ SVGA_CAP_PITCHLOCK

#define SVGA_CAP_PITCHLOCK   0x00020000

Definition at line 51 of file vmx_regs.h.

◆ SVGA_CAP_RASTER_OP

#define SVGA_CAP_RASTER_OP   0x00000010

Definition at line 38 of file vmx_regs.h.

◆ SVGA_CAP_RECT_COPY

#define SVGA_CAP_RECT_COPY   0x00000002

Definition at line 35 of file vmx_regs.h.

◆ SVGA_CAP_RECT_FILL

#define SVGA_CAP_RECT_FILL   0x00000001

Definition at line 34 of file vmx_regs.h.

◆ SVGA_CAP_RECT_PAT_FILL

#define SVGA_CAP_RECT_PAT_FILL   0x00000004

Definition at line 36 of file vmx_regs.h.

◆ SVGA_FB_MAX_SIZE

#define SVGA_FB_MAX_SIZE
Value:
((((SVGA_MAX_WIDTH * SVGA_MAX_HEIGHT * \
#define PAGE_SHIFT
Definition: env_spec_w32.h:45
#define SVGA_MAX_BITS_PER_PIXEL
Definition: vmx_regs.h:73

Definition at line 79 of file vmx_regs.h.

◆ SVGA_ID_0

Definition at line 27 of file vmx_regs.h.

◆ SVGA_ID_1

Definition at line 26 of file vmx_regs.h.

◆ SVGA_ID_2

Definition at line 25 of file vmx_regs.h.

◆ SVGA_ID_INVALID

#define SVGA_ID_INVALID   0xFFFFFFFF

Definition at line 28 of file vmx_regs.h.

◆ SVGA_INDEX_PORT

#define SVGA_INDEX_PORT   0x0

Definition at line 59 of file vmx_regs.h.

◆ SVGA_INVALID_DISPLAY_ID

#define SVGA_INVALID_DISPLAY_ID   0xFFFFFFFF

Definition at line 68 of file vmx_regs.h.

◆ SVGA_IRQSTATUS_PORT

#define SVGA_IRQSTATUS_PORT   0x8

Definition at line 63 of file vmx_regs.h.

◆ SVGA_LEGACY_BASE_PORT

#define SVGA_LEGACY_BASE_PORT   0x4560

Definition at line 58 of file vmx_regs.h.

◆ SVGA_MAGIC

#define SVGA_MAGIC   0x900000

Definition at line 12 of file vmx_regs.h.

◆ SVGA_MAKE_ID

#define SVGA_MAKE_ID (   x)    (SVGA_MAGIC << 8 | (x))

Definition at line 24 of file vmx_regs.h.

◆ SVGA_MAX_BITS_PER_PIXEL

#define SVGA_MAX_BITS_PER_PIXEL   32

Definition at line 73 of file vmx_regs.h.

◆ SVGA_MAX_DEPTH

#define SVGA_MAX_DEPTH   24

Definition at line 74 of file vmx_regs.h.

◆ SVGA_MAX_DISPLAYS

#define SVGA_MAX_DISPLAYS   10

Definition at line 75 of file vmx_regs.h.

◆ SVGA_MAX_PSEUDOCOLOR_DEPTH

#define SVGA_MAX_PSEUDOCOLOR_DEPTH   8

Definition at line 76 of file vmx_regs.h.

◆ SVGA_MAX_PSEUDOCOLORS

#define SVGA_MAX_PSEUDOCOLORS   (1 << SVGA_MAX_PSEUDOCOLOR_DEPTH)

Definition at line 77 of file vmx_regs.h.

◆ SVGA_NUM_PALETTE_REGS

#define SVGA_NUM_PALETTE_REGS   (3 * SVGA_MAX_PSEUDOCOLORS)

Definition at line 78 of file vmx_regs.h.

◆ SVGA_NUM_PORTS

#define SVGA_NUM_PORTS   0x3

Definition at line 62 of file vmx_regs.h.

◆ SVGA_VALUE_PORT

#define SVGA_VALUE_PORT   0x1

Definition at line 60 of file vmx_regs.h.

◆ SVGA_VERSION_0

#define SVGA_VERSION_0   0

Definition at line 19 of file vmx_regs.h.

◆ SVGA_VERSION_1

#define SVGA_VERSION_1   1

Definition at line 18 of file vmx_regs.h.

◆ SVGA_VERSION_2

#define SVGA_VERSION_2   2

Definition at line 17 of file vmx_regs.h.

Typedef Documentation

◆ VMX_SVGA_REGISTERS

Enumeration Type Documentation

◆ _VMX_SVGA_REGISTERS

Enumerator
SVGA_REG_ID 
SVGA_REG_ENABLE 
SVGA_REG_WIDTH 
SVGA_REG_HEIGHT 
SVGA_REG_MAX_WIDTH 
SVGA_REG_MAX_HEIGHT 
SVGA_REG_DEPTH 
SVGA_REG_BITS_PER_PIXEL 
SVGA_REG_PSEUDOCOLOR 
SVGA_REG_RED_MASK 
SVGA_REG_GREEN_MASK 
SVGA_REG_BLUE_MASK 
SVGA_REG_BYTES_PER_LINE 
SVGA_REG_FB_START 
SVGA_REG_FB_OFFSET 
SVGA_REG_VRAM_SIZE 
SVGA_REG_FB_SIZE 
SVGA_REG_CAPABILITIES 
SVGA_REG_MEM_START 
SVGA_REG_MEM_SIZE 
SVGA_REG_CONFIG_DONE 
SVGA_REG_SYNC 
SVGA_REG_BUSY 
SVGA_REG_GUEST_ID 
SVGA_REG_CURSOR_ID 
SVGA_REG_CURSOR_X 
SVGA_REG_CURSOR_Y 
SVGA_REG_CURSOR_ON 
SVGA_REG_HOST_BITS_PER_PIXEL 
SVGA_REG_SCRATCH_SIZE 
SVGA_REG_MEM_REGS 
SVGA_REG_NUM_DISPLAYS 
SVGA_REG_PITCHLOCK 
SVGA_REG_IRQMASK 
SVGA_REG_NUM_GUEST_DISPLAYS 
SVGA_REG_DISPLAY_ID 
SVGA_REG_DISPLAY_IS_PRIMARY 
SVGA_REG_DISPLAY_POSITION_X 
SVGA_REG_DISPLAY_POSITION_Y 
SVGA_REG_DISPLAY_WIDTH 
SVGA_REG_DISPLAY_HEIGHT 
SVGA_REG_TOP 

Definition at line 86 of file vmx_regs.h.

87{
@ SVGA_REG_MEM_REGS
Definition: vmx_regs.h:118
@ SVGA_REG_FB_OFFSET
Definition: vmx_regs.h:102
@ SVGA_REG_NUM_DISPLAYS
Definition: vmx_regs.h:119
@ SVGA_REG_ID
Definition: vmx_regs.h:88
@ SVGA_REG_NUM_GUEST_DISPLAYS
Definition: vmx_regs.h:122
@ SVGA_REG_BYTES_PER_LINE
Definition: vmx_regs.h:100
@ SVGA_REG_CURSOR_ID
Definition: vmx_regs.h:112
@ SVGA_REG_PSEUDOCOLOR
Definition: vmx_regs.h:96
@ SVGA_REG_SYNC
Definition: vmx_regs.h:109
@ SVGA_REG_DISPLAY_WIDTH
Definition: vmx_regs.h:127
@ SVGA_REG_HEIGHT
Definition: vmx_regs.h:91
@ SVGA_REG_TOP
Definition: vmx_regs.h:129
@ SVGA_REG_DISPLAY_HEIGHT
Definition: vmx_regs.h:128
@ SVGA_REG_BLUE_MASK
Definition: vmx_regs.h:99
@ SVGA_REG_MAX_HEIGHT
Definition: vmx_regs.h:93
@ SVGA_REG_CURSOR_X
Definition: vmx_regs.h:113
@ SVGA_REG_DISPLAY_IS_PRIMARY
Definition: vmx_regs.h:124
@ SVGA_REG_CAPABILITIES
Definition: vmx_regs.h:105
@ SVGA_REG_FB_SIZE
Definition: vmx_regs.h:104
@ SVGA_REG_CONFIG_DONE
Definition: vmx_regs.h:108
@ SVGA_REG_MEM_SIZE
Definition: vmx_regs.h:107
@ SVGA_REG_CURSOR_ON
Definition: vmx_regs.h:115
@ SVGA_REG_CURSOR_Y
Definition: vmx_regs.h:114
@ SVGA_REG_DISPLAY_ID
Definition: vmx_regs.h:123
@ SVGA_REG_MEM_START
Definition: vmx_regs.h:106
@ SVGA_REG_HOST_BITS_PER_PIXEL
Definition: vmx_regs.h:116
@ SVGA_REG_FB_START
Definition: vmx_regs.h:101
@ SVGA_REG_DISPLAY_POSITION_X
Definition: vmx_regs.h:125
@ SVGA_REG_IRQMASK
Definition: vmx_regs.h:121
@ SVGA_REG_SCRATCH_SIZE
Definition: vmx_regs.h:117
@ SVGA_REG_RED_MASK
Definition: vmx_regs.h:97
@ SVGA_REG_BITS_PER_PIXEL
Definition: vmx_regs.h:95
@ SVGA_REG_MAX_WIDTH
Definition: vmx_regs.h:92
@ SVGA_REG_GREEN_MASK
Definition: vmx_regs.h:98
@ SVGA_REG_PITCHLOCK
Definition: vmx_regs.h:120
@ SVGA_REG_DEPTH
Definition: vmx_regs.h:94
@ SVGA_REG_DISPLAY_POSITION_Y
Definition: vmx_regs.h:126
@ SVGA_REG_ENABLE
Definition: vmx_regs.h:89
@ SVGA_REG_BUSY
Definition: vmx_regs.h:110
@ SVGA_REG_VRAM_SIZE
Definition: vmx_regs.h:103
@ SVGA_REG_WIDTH
Definition: vmx_regs.h:90
@ SVGA_REG_GUEST_ID
Definition: vmx_regs.h:111
enum _VMX_SVGA_REGISTERS VMX_SVGA_REGISTERS