Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
svga_reg.h File Reference

Go to the source code of this file.

Data Structures

struct  SVGAGuestMemDescriptor
 
struct  SVGAGuestPtr
 
struct  SVGAGMRImageFormat
 
struct  SVGAGuestImage
 
struct  SVGAColorBGRX
 
struct  SVGASignedRect
 
struct  SVGASignedPoint
 
struct  SVGAOverlayUnit
 
struct  SVGAScreenObject
 
struct  SVGAFifoCmdUpdate
 
struct  SVGAFifoCmdRectCopy
 
struct  SVGAFifoCmdDefineCursor
 
struct  SVGAFifoCmdDefineAlphaCursor
 
struct  SVGAFifoCmdUpdateVerbose
 
struct  SVGAFifoCmdFrontRopFill
 
struct  SVGAFifoCmdFence
 
struct  SVGAFifoCmdEscape
 
struct  SVGAFifoCmdDefineScreen
 
struct  SVGAFifoCmdDestroyScreen
 
struct  SVGAFifoCmdDefineGMRFB
 
struct  SVGAFifoCmdBlitGMRFBToScreen
 
struct  SVGAFifoCmdBlitScreenToGMRFB
 
struct  SVGAFifoCmdAnnotationFill
 
struct  SVGAFifoCmdAnnotationCopy
 
struct  SVGAFifoCmdDefineGMR2
 
struct  SVGAFifoCmdRemapGMR2
 

Macros

#define PCI_VENDOR_ID_VMWARE   0x15AD
 
#define PCI_DEVICE_ID_VMWARE_SVGA2   0x0405
 
#define SVGA_REG_ENABLE_DISABLE   0
 
#define SVGA_REG_ENABLE_ENABLE   1
 
#define SVGA_REG_ENABLE_HIDE   2
 
#define SVGA_REG_ENABLE_ENABLE_HIDE
 
#define SVGA_CURSOR_ON_HIDE   0x0 /* Must be 0 to maintain backward compatibility */
 
#define SVGA_CURSOR_ON_SHOW   0x1 /* Must be 1 to maintain backward compatibility */
 
#define SVGA_CURSOR_ON_REMOVE_FROM_FB   0x2 /* Remove the cursor from the framebuffer because we need to see what's under it */
 
#define SVGA_CURSOR_ON_RESTORE_TO_FB   0x3 /* Put the cursor back in the framebuffer so the user can see it */
 
#define SVGA_FB_MAX_TRACEABLE_SIZE   0x1000000
 
#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_MAGIC   0x900000UL
 
#define SVGA_MAKE_ID(ver)   (SVGA_MAGIC << 8 | (ver))
 
#define SVGA_VERSION_2   2
 
#define SVGA_ID_2   SVGA_MAKE_ID(SVGA_VERSION_2)
 
#define SVGA_VERSION_1   1
 
#define SVGA_ID_1   SVGA_MAKE_ID(SVGA_VERSION_1)
 
#define SVGA_VERSION_0   0
 
#define SVGA_ID_0   SVGA_MAKE_ID(SVGA_VERSION_0)
 
#define SVGA_ID_INVALID   0xFFFFFFFF
 
#define SVGA_INDEX_PORT   0x0
 
#define SVGA_VALUE_PORT   0x1
 
#define SVGA_BIOS_PORT   0x2
 
#define SVGA_IRQSTATUS_PORT   0x8
 
#define SVGA_IRQFLAG_ANY_FENCE   0x1 /* Any fence was passed */
 
#define SVGA_IRQFLAG_FIFO_PROGRESS   0x2 /* Made forward progress in the FIFO */
 
#define SVGA_IRQFLAG_FENCE_GOAL   0x4 /* SVGA_FIFO_FENCE_GOAL reached */
 
#define SVGA_GMR_NULL   ((uint32) -1)
 
#define SVGA_GMR_FRAMEBUFFER   ((uint32) -2) /* Guest Framebuffer (GFB) */
 
#define SVGA_CAP_NONE   0x00000000
 
#define SVGA_CAP_RECT_COPY   0x00000002
 
#define SVGA_CAP_CURSOR   0x00000020
 
#define SVGA_CAP_CURSOR_BYPASS   0x00000040 /* Legacy (Use Cursor Bypass 3 instead) */
 
#define SVGA_CAP_CURSOR_BYPASS_2   0x00000080 /* Legacy (Use Cursor Bypass 3 instead) */
 
#define SVGA_CAP_8BIT_EMULATION   0x00000100
 
#define SVGA_CAP_ALPHA_CURSOR   0x00000200
 
#define SVGA_CAP_3D   0x00004000
 
#define SVGA_CAP_EXTENDED_FIFO   0x00008000
 
#define SVGA_CAP_MULTIMON   0x00010000 /* Legacy multi-monitor support */
 
#define SVGA_CAP_PITCHLOCK   0x00020000
 
#define SVGA_CAP_IRQMASK   0x00040000
 
#define SVGA_CAP_DISPLAY_TOPOLOGY   0x00080000 /* Legacy multi-monitor support */
 
#define SVGA_CAP_GMR   0x00100000
 
#define SVGA_CAP_TRACES   0x00200000
 
#define SVGA_CAP_GMR2   0x00400000
 
#define SVGA_CAP_SCREEN_OBJECT_2   0x00800000
 
#define SVGA_FIFO_EXTENDED_MANDATORY_REGS   (SVGA_FIFO_3D_CAPS_LAST + 1)
 
#define SVGA_FIFO_CAP_NONE   0
 
#define SVGA_FIFO_CAP_FENCE   (1<<0)
 
#define SVGA_FIFO_CAP_ACCELFRONT   (1<<1)
 
#define SVGA_FIFO_CAP_PITCHLOCK   (1<<2)
 
#define SVGA_FIFO_CAP_VIDEO   (1<<3)
 
#define SVGA_FIFO_CAP_CURSOR_BYPASS_3   (1<<4)
 
#define SVGA_FIFO_CAP_ESCAPE   (1<<5)
 
#define SVGA_FIFO_CAP_RESERVE   (1<<6)
 
#define SVGA_FIFO_CAP_SCREEN_OBJECT   (1<<7)
 
#define SVGA_FIFO_CAP_GMR2   (1<<8)
 
#define SVGA_FIFO_CAP_3D_HWVERSION_REVISED   SVGA_FIFO_CAP_GMR2
 
#define SVGA_FIFO_CAP_SCREEN_OBJECT_2   (1<<9)
 
#define SVGA_FIFO_CAP_DEAD   (1<<10)
 
#define SVGA_FIFO_FLAG_NONE   0
 
#define SVGA_FIFO_FLAG_ACCELFRONT   (1<<0)
 
#define SVGA_FIFO_FLAG_RESERVED   (1<<31) /* Internal use only */
 
#define SVGA_FIFO_RESERVED_UNKNOWN   0xffffffff
 
#define SVGA_NUM_OVERLAY_UNITS   32
 
#define SVGA_VIDEO_FLAG_COLORKEY   0x0001
 
#define SVGA_SCREEN_MUST_BE_SET   (1 << 0) /* Must be set or results undefined */
 
#define SVGA_SCREEN_HAS_ROOT   SVGA_SCREEN_MUST_BE_SET /* Deprecated */
 
#define SVGA_SCREEN_IS_PRIMARY   (1 << 1) /* Guest considers this screen to be 'primary' */
 
#define SVGA_SCREEN_FULLSCREEN_HINT   (1 << 2) /* Guest is running a fullscreen app here */
 
#define SVGA_SCREEN_DEACTIVATE   (1 << 3)
 
#define SVGA_SCREEN_BLANKING   (1 << 4)
 
#define SVGA_CMD_MAX_ARGS   64
 
#define SVGA_ROP_COPY   0x03
 

Typedefs

typedef struct
SVGAGuestMemDescriptor 
SVGAGuestMemDescriptor
 
typedef struct SVGAGuestPtr SVGAGuestPtr
 
typedef struct SVGAGMRImageFormat SVGAGMRImageFormat
 
typedef struct SVGAGuestImage SVGAGuestImage
 
typedef struct SVGAColorBGRX SVGAColorBGRX
 
typedef struct SVGASignedRect SVGASignedRect
 
typedef struct SVGASignedPoint SVGASignedPoint
 
typedef struct SVGAOverlayUnit SVGAOverlayUnit
 
typedef struct SVGAScreenObject SVGAScreenObject
 
typedef struct SVGAFifoCmdUpdate SVGAFifoCmdUpdate
 
typedef struct SVGAFifoCmdRectCopy SVGAFifoCmdRectCopy
 
typedef struct
SVGAFifoCmdDefineCursor 
SVGAFifoCmdDefineCursor
 
typedef struct
SVGAFifoCmdDefineAlphaCursor 
SVGAFifoCmdDefineAlphaCursor
 
typedef struct
SVGAFifoCmdUpdateVerbose 
SVGAFifoCmdUpdateVerbose
 
typedef struct
SVGAFifoCmdFrontRopFill 
SVGAFifoCmdFrontRopFill
 
typedef struct SVGAFifoCmdEscape SVGAFifoCmdEscape
 

Enumerations

enum  {
  SVGA_REG_ID = 0, SVGA_REG_ENABLE = 1, SVGA_REG_WIDTH = 2, SVGA_REG_HEIGHT = 3,
  SVGA_REG_MAX_WIDTH = 4, SVGA_REG_MAX_HEIGHT = 5, SVGA_REG_DEPTH = 6, SVGA_REG_BITS_PER_PIXEL = 7,
  SVGA_REG_PSEUDOCOLOR = 8, SVGA_REG_RED_MASK = 9, SVGA_REG_GREEN_MASK = 10, SVGA_REG_BLUE_MASK = 11,
  SVGA_REG_BYTES_PER_LINE = 12, SVGA_REG_FB_START = 13, SVGA_REG_FB_OFFSET = 14, SVGA_REG_VRAM_SIZE = 15,
  SVGA_REG_FB_SIZE = 16, SVGA_REG_CAPABILITIES = 17, SVGA_REG_MEM_START = 18, SVGA_REG_MEM_SIZE = 19,
  SVGA_REG_CONFIG_DONE = 20, SVGA_REG_SYNC = 21, SVGA_REG_BUSY = 22, SVGA_REG_GUEST_ID = 23,
  SVGA_REG_CURSOR_ID = 24, SVGA_REG_CURSOR_X = 25, SVGA_REG_CURSOR_Y = 26, SVGA_REG_CURSOR_ON = 27,
  SVGA_REG_HOST_BITS_PER_PIXEL = 28, SVGA_REG_SCRATCH_SIZE = 29, SVGA_REG_MEM_REGS = 30, SVGA_REG_NUM_DISPLAYS = 31,
  SVGA_REG_PITCHLOCK = 32, SVGA_REG_IRQMASK = 33, SVGA_REG_NUM_GUEST_DISPLAYS = 34, SVGA_REG_DISPLAY_ID = 35,
  SVGA_REG_DISPLAY_IS_PRIMARY = 36, SVGA_REG_DISPLAY_POSITION_X = 37, SVGA_REG_DISPLAY_POSITION_Y = 38, SVGA_REG_DISPLAY_WIDTH = 39,
  SVGA_REG_DISPLAY_HEIGHT = 40, SVGA_REG_GMR_ID = 41, SVGA_REG_GMR_DESCRIPTOR = 42, SVGA_REG_GMR_MAX_IDS = 43,
  SVGA_REG_GMR_MAX_DESCRIPTOR_LENGTH = 44, SVGA_REG_TRACES = 45, SVGA_REG_GMRS_MAX_PAGES = 46, SVGA_REG_MEMORY_SIZE = 47,
  SVGA_REG_TOP = 48, SVGA_PALETTE_BASE = 1024, SVGA_SCRATCH_BASE = SVGA_PALETTE_BASE + SVGA_NUM_PALETTE_REGS
}
 
enum  {
  SVGA_FIFO_MIN = 0, SVGA_FIFO_MAX, SVGA_FIFO_NEXT_CMD, SVGA_FIFO_STOP,
  SVGA_FIFO_CAPABILITIES = 4, SVGA_FIFO_FLAGS, SVGA_FIFO_FENCE, SVGA_FIFO_3D_HWVERSION,
  SVGA_FIFO_PITCHLOCK, SVGA_FIFO_CURSOR_ON, SVGA_FIFO_CURSOR_X, SVGA_FIFO_CURSOR_Y,
  SVGA_FIFO_CURSOR_COUNT, SVGA_FIFO_CURSOR_LAST_UPDATED, SVGA_FIFO_RESERVED, SVGA_FIFO_CURSOR_SCREEN_ID,
  SVGA_FIFO_DEAD, SVGA_FIFO_3D_HWVERSION_REVISED, SVGA_FIFO_3D_CAPS = 32, SVGA_FIFO_3D_CAPS_LAST = 32 + 255,
  SVGA_FIFO_GUEST_3D_HWVERSION, SVGA_FIFO_FENCE_GOAL, SVGA_FIFO_BUSY, SVGA_FIFO_NUM_REGS
}
 
enum  {
  SVGA_VIDEO_ENABLED = 0, SVGA_VIDEO_FLAGS, SVGA_VIDEO_DATA_OFFSET, SVGA_VIDEO_FORMAT,
  SVGA_VIDEO_COLORKEY, SVGA_VIDEO_SIZE, SVGA_VIDEO_WIDTH, SVGA_VIDEO_HEIGHT,
  SVGA_VIDEO_SRC_X, SVGA_VIDEO_SRC_Y, SVGA_VIDEO_SRC_WIDTH, SVGA_VIDEO_SRC_HEIGHT,
  SVGA_VIDEO_DST_X, SVGA_VIDEO_DST_Y, SVGA_VIDEO_DST_WIDTH, SVGA_VIDEO_DST_HEIGHT,
  SVGA_VIDEO_PITCH_1, SVGA_VIDEO_PITCH_2, SVGA_VIDEO_PITCH_3, SVGA_VIDEO_DATA_GMRID,
  SVGA_VIDEO_DST_SCREEN_ID, SVGA_VIDEO_NUM_REGS
}
 
enum  SVGAFifoCmdId {
  SVGA_CMD_INVALID_CMD = 0, SVGA_CMD_UPDATE = 1, SVGA_CMD_RECT_COPY = 3, SVGA_CMD_DEFINE_CURSOR = 19,
  SVGA_CMD_DEFINE_ALPHA_CURSOR = 22, SVGA_CMD_UPDATE_VERBOSE = 25, SVGA_CMD_FRONT_ROP_FILL = 29, SVGA_CMD_FENCE = 30,
  SVGA_CMD_ESCAPE = 33, SVGA_CMD_DEFINE_SCREEN = 34, SVGA_CMD_DESTROY_SCREEN = 35, SVGA_CMD_DEFINE_GMRFB = 36,
  SVGA_CMD_BLIT_GMRFB_TO_SCREEN = 37, SVGA_CMD_BLIT_SCREEN_TO_GMRFB = 38, SVGA_CMD_ANNOTATION_FILL = 39, SVGA_CMD_ANNOTATION_COPY = 40,
  SVGA_CMD_DEFINE_GMR2 = 41, SVGA_CMD_REMAP_GMR2 = 42, SVGA_CMD_MAX
}
 
enum  SVGARemapGMR2Flags { SVGA_REMAP_GMR2_PPN32 = 0, SVGA_REMAP_GMR2_VIA_GMR = (1 << 0), SVGA_REMAP_GMR2_PPN64 = (1 << 1), SVGA_REMAP_GMR2_SINGLE_PPN = (1 << 2) }
 

Macro Definition Documentation

#define PCI_DEVICE_ID_VMWARE_SVGA2   0x0405

Definition at line 39 of file svga_reg.h.

#define PCI_VENDOR_ID_VMWARE   0x15AD

Definition at line 38 of file svga_reg.h.

#define SVGA_BIOS_PORT   0x2

Definition at line 98 of file svga_reg.h.

#define SVGA_CAP_3D   0x00004000

Definition at line 424 of file svga_reg.h.

#define SVGA_CAP_8BIT_EMULATION   0x00000100

Definition at line 422 of file svga_reg.h.

#define SVGA_CAP_ALPHA_CURSOR   0x00000200

Definition at line 423 of file svga_reg.h.

#define SVGA_CAP_CURSOR   0x00000020

Definition at line 419 of file svga_reg.h.

#define SVGA_CAP_CURSOR_BYPASS   0x00000040 /* Legacy (Use Cursor Bypass 3 instead) */

Definition at line 420 of file svga_reg.h.

#define SVGA_CAP_CURSOR_BYPASS_2   0x00000080 /* Legacy (Use Cursor Bypass 3 instead) */

Definition at line 421 of file svga_reg.h.

#define SVGA_CAP_DISPLAY_TOPOLOGY   0x00080000 /* Legacy multi-monitor support */

Definition at line 429 of file svga_reg.h.

#define SVGA_CAP_EXTENDED_FIFO   0x00008000

Definition at line 425 of file svga_reg.h.

#define SVGA_CAP_GMR   0x00100000

Definition at line 430 of file svga_reg.h.

#define SVGA_CAP_GMR2   0x00400000

Definition at line 432 of file svga_reg.h.

#define SVGA_CAP_IRQMASK   0x00040000

Definition at line 428 of file svga_reg.h.

#define SVGA_CAP_MULTIMON   0x00010000 /* Legacy multi-monitor support */

Definition at line 426 of file svga_reg.h.

#define SVGA_CAP_NONE   0x00000000

Definition at line 417 of file svga_reg.h.

#define SVGA_CAP_PITCHLOCK   0x00020000

Definition at line 427 of file svga_reg.h.

#define SVGA_CAP_RECT_COPY   0x00000002

Definition at line 418 of file svga_reg.h.

#define SVGA_CAP_SCREEN_OBJECT_2   0x00800000

Definition at line 433 of file svga_reg.h.

#define SVGA_CAP_TRACES   0x00200000

Definition at line 431 of file svga_reg.h.

#define SVGA_CMD_MAX_ARGS   64

Definition at line 1029 of file svga_reg.h.

#define SVGA_CURSOR_ON_HIDE   0x0 /* Must be 0 to maintain backward compatibility */

Definition at line 55 of file svga_reg.h.

#define SVGA_CURSOR_ON_REMOVE_FROM_FB   0x2 /* Remove the cursor from the framebuffer because we need to see what's under it */

Definition at line 57 of file svga_reg.h.

#define SVGA_CURSOR_ON_RESTORE_TO_FB   0x3 /* Put the cursor back in the framebuffer so the user can see it */

Definition at line 58 of file svga_reg.h.

#define SVGA_CURSOR_ON_SHOW   0x1 /* Must be 1 to maintain backward compatibility */

Definition at line 56 of file svga_reg.h.

#define SVGA_FB_MAX_TRACEABLE_SIZE   0x1000000

Definition at line 70 of file svga_reg.h.

#define SVGA_FIFO_CAP_3D_HWVERSION_REVISED   SVGA_FIFO_CAP_GMR2

Definition at line 813 of file svga_reg.h.

#define SVGA_FIFO_CAP_ACCELFRONT   (1<<1)

Definition at line 805 of file svga_reg.h.

#define SVGA_FIFO_CAP_CURSOR_BYPASS_3   (1<<4)

Definition at line 808 of file svga_reg.h.

#define SVGA_FIFO_CAP_DEAD   (1<<10)

Definition at line 815 of file svga_reg.h.

#define SVGA_FIFO_CAP_ESCAPE   (1<<5)

Definition at line 809 of file svga_reg.h.

#define SVGA_FIFO_CAP_FENCE   (1<<0)

Definition at line 804 of file svga_reg.h.

#define SVGA_FIFO_CAP_GMR2   (1<<8)

Definition at line 812 of file svga_reg.h.

#define SVGA_FIFO_CAP_NONE   0

Definition at line 803 of file svga_reg.h.

#define SVGA_FIFO_CAP_PITCHLOCK   (1<<2)

Definition at line 806 of file svga_reg.h.

#define SVGA_FIFO_CAP_RESERVE   (1<<6)

Definition at line 810 of file svga_reg.h.

#define SVGA_FIFO_CAP_SCREEN_OBJECT   (1<<7)

Definition at line 811 of file svga_reg.h.

#define SVGA_FIFO_CAP_SCREEN_OBJECT_2   (1<<9)

Definition at line 814 of file svga_reg.h.

#define SVGA_FIFO_CAP_VIDEO   (1<<3)

Definition at line 807 of file svga_reg.h.

#define SVGA_FIFO_EXTENDED_MANDATORY_REGS   (SVGA_FIFO_3D_CAPS_LAST + 1)

Definition at line 606 of file svga_reg.h.

#define SVGA_FIFO_FLAG_ACCELFRONT   (1<<0)

Definition at line 825 of file svga_reg.h.

#define SVGA_FIFO_FLAG_NONE   0

Definition at line 824 of file svga_reg.h.

#define SVGA_FIFO_FLAG_RESERVED   (1<<31) /* Internal use only */

Definition at line 826 of file svga_reg.h.

#define SVGA_FIFO_RESERVED_UNKNOWN   0xffffffff

Definition at line 832 of file svga_reg.h.

#define SVGA_GMR_FRAMEBUFFER   ((uint32) -2) /* Guest Framebuffer (GFB) */

Definition at line 279 of file svga_reg.h.

#define SVGA_GMR_NULL   ((uint32) -1)

Definition at line 278 of file svga_reg.h.

#define SVGA_ID_0   SVGA_MAKE_ID(SVGA_VERSION_0)

Definition at line 90 of file svga_reg.h.

#define SVGA_ID_1   SVGA_MAKE_ID(SVGA_VERSION_1)

Definition at line 86 of file svga_reg.h.

#define SVGA_ID_2   SVGA_MAKE_ID(SVGA_VERSION_2)

Definition at line 81 of file svga_reg.h.

#define SVGA_ID_INVALID   0xFFFFFFFF

Definition at line 93 of file svga_reg.h.

#define SVGA_INDEX_PORT   0x0

Definition at line 96 of file svga_reg.h.

#define SVGA_IRQFLAG_ANY_FENCE   0x1 /* Any fence was passed */

Definition at line 107 of file svga_reg.h.

#define SVGA_IRQFLAG_FENCE_GOAL   0x4 /* SVGA_FIFO_FENCE_GOAL reached */

Definition at line 109 of file svga_reg.h.

#define SVGA_IRQFLAG_FIFO_PROGRESS   0x2 /* Made forward progress in the FIFO */

Definition at line 108 of file svga_reg.h.

#define SVGA_IRQSTATUS_PORT   0x8

Definition at line 99 of file svga_reg.h.

#define SVGA_MAGIC   0x900000UL

Definition at line 76 of file svga_reg.h.

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

Definition at line 77 of file svga_reg.h.

#define SVGA_MAX_PSEUDOCOLOR_DEPTH   8

Definition at line 72 of file svga_reg.h.

#define SVGA_MAX_PSEUDOCOLORS   (1 << SVGA_MAX_PSEUDOCOLOR_DEPTH)

Definition at line 73 of file svga_reg.h.

#define SVGA_NUM_OVERLAY_UNITS   32

Definition at line 839 of file svga_reg.h.

#define SVGA_NUM_PALETTE_REGS   (3 * SVGA_MAX_PSEUDOCOLORS)

Definition at line 74 of file svga_reg.h.

#define SVGA_REG_ENABLE_DISABLE   0

Definition at line 44 of file svga_reg.h.

#define SVGA_REG_ENABLE_ENABLE   1

Definition at line 45 of file svga_reg.h.

#define SVGA_REG_ENABLE_ENABLE_HIDE
Value:
SVGA_REG_ENABLE_HIDE)

Definition at line 47 of file svga_reg.h.

#define SVGA_REG_ENABLE_HIDE   2

Definition at line 46 of file svga_reg.h.

#define SVGA_ROP_COPY   0x03

Definition at line 1178 of file svga_reg.h.

#define SVGA_SCREEN_BLANKING   (1 << 4)

Definition at line 965 of file svga_reg.h.

#define SVGA_SCREEN_DEACTIVATE   (1 << 3)

Definition at line 953 of file svga_reg.h.

#define SVGA_SCREEN_FULLSCREEN_HINT   (1 << 2) /* Guest is running a fullscreen app here */

Definition at line 945 of file svga_reg.h.

#define SVGA_SCREEN_HAS_ROOT   SVGA_SCREEN_MUST_BE_SET /* Deprecated */

Definition at line 943 of file svga_reg.h.

#define SVGA_SCREEN_IS_PRIMARY   (1 << 1) /* Guest considers this screen to be 'primary' */

Definition at line 944 of file svga_reg.h.

#define SVGA_SCREEN_MUST_BE_SET   (1 << 0) /* Must be set or results undefined */

Definition at line 942 of file svga_reg.h.

#define SVGA_VALUE_PORT   0x1

Definition at line 97 of file svga_reg.h.

#define SVGA_VERSION_0   0

Definition at line 89 of file svga_reg.h.

#define SVGA_VERSION_1   1

Definition at line 85 of file svga_reg.h.

#define SVGA_VERSION_2   2

Definition at line 80 of file svga_reg.h.

#define SVGA_VIDEO_FLAG_COLORKEY   0x0001

Definition at line 846 of file svga_reg.h.

Typedef Documentation

Enumeration Type Documentation

anonymous enum
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_GMR_ID 
SVGA_REG_GMR_DESCRIPTOR 
SVGA_REG_GMR_MAX_IDS 
SVGA_REG_GMR_MAX_DESCRIPTOR_LENGTH 
SVGA_REG_TRACES 
SVGA_REG_GMRS_MAX_PAGES 
SVGA_REG_MEMORY_SIZE 
SVGA_REG_TOP 
SVGA_PALETTE_BASE 
SVGA_SCRATCH_BASE 

Definition at line 115 of file svga_reg.h.

anonymous enum
Enumerator:
SVGA_FIFO_MIN 
SVGA_FIFO_MAX 
SVGA_FIFO_NEXT_CMD 
SVGA_FIFO_STOP 
SVGA_FIFO_CAPABILITIES 
SVGA_FIFO_FLAGS 
SVGA_FIFO_FENCE 
SVGA_FIFO_3D_HWVERSION 
SVGA_FIFO_PITCHLOCK 
SVGA_FIFO_CURSOR_ON 
SVGA_FIFO_CURSOR_X 
SVGA_FIFO_CURSOR_Y 
SVGA_FIFO_CURSOR_COUNT 
SVGA_FIFO_CURSOR_LAST_UPDATED 
SVGA_FIFO_RESERVED 
SVGA_FIFO_CURSOR_SCREEN_ID 
SVGA_FIFO_DEAD 
SVGA_FIFO_3D_HWVERSION_REVISED 
SVGA_FIFO_3D_CAPS 
SVGA_FIFO_3D_CAPS_LAST 
SVGA_FIFO_GUEST_3D_HWVERSION 
SVGA_FIFO_FENCE_GOAL 
SVGA_FIFO_BUSY 
SVGA_FIFO_NUM_REGS 

Definition at line 451 of file svga_reg.h.

anonymous enum
Enumerator:
SVGA_VIDEO_ENABLED 
SVGA_VIDEO_FLAGS 
SVGA_VIDEO_DATA_OFFSET 
SVGA_VIDEO_FORMAT 
SVGA_VIDEO_COLORKEY 
SVGA_VIDEO_SIZE 
SVGA_VIDEO_WIDTH 
SVGA_VIDEO_HEIGHT 
SVGA_VIDEO_SRC_X 
SVGA_VIDEO_SRC_Y 
SVGA_VIDEO_SRC_WIDTH 
SVGA_VIDEO_SRC_HEIGHT 
SVGA_VIDEO_DST_X 
SVGA_VIDEO_DST_Y 
SVGA_VIDEO_DST_WIDTH 
SVGA_VIDEO_DST_HEIGHT 
SVGA_VIDEO_PITCH_1 
SVGA_VIDEO_PITCH_2 
SVGA_VIDEO_PITCH_3 
SVGA_VIDEO_DATA_GMRID 
SVGA_VIDEO_DST_SCREEN_ID 
SVGA_VIDEO_NUM_REGS 

Definition at line 853 of file svga_reg.h.

Enumerator:
SVGA_CMD_INVALID_CMD 
SVGA_CMD_UPDATE 
SVGA_CMD_RECT_COPY 
SVGA_CMD_DEFINE_CURSOR 
SVGA_CMD_DEFINE_ALPHA_CURSOR 
SVGA_CMD_UPDATE_VERBOSE 
SVGA_CMD_FRONT_ROP_FILL 
SVGA_CMD_FENCE 
SVGA_CMD_ESCAPE 
SVGA_CMD_DEFINE_SCREEN 
SVGA_CMD_DESTROY_SCREEN 
SVGA_CMD_DEFINE_GMRFB 
SVGA_CMD_BLIT_GMRFB_TO_SCREEN 
SVGA_CMD_BLIT_SCREEN_TO_GMRFB 
SVGA_CMD_ANNOTATION_FILL 
SVGA_CMD_ANNOTATION_COPY 
SVGA_CMD_DEFINE_GMR2 
SVGA_CMD_REMAP_GMR2 
SVGA_CMD_MAX 

Definition at line 1007 of file svga_reg.h.

Enumerator:
SVGA_REMAP_GMR2_PPN32 
SVGA_REMAP_GMR2_VIA_GMR 
SVGA_REMAP_GMR2_PPN64 
SVGA_REMAP_GMR2_SINGLE_PPN 

Definition at line 1529 of file svga_reg.h.