VirtualBox

Changeset 4053 in vbox for trunk/include/VBox/VBoxVideo.h


Ignore:
Timestamp:
Aug 7, 2007 8:40:02 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23489
Message:

Use the generic VBoxVideo interface in Windows guest video driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo.h

    r4027 r4053  
    9292#define VBOX_VIDEO_INTERPRET_DISPLAY_MEMORY_BASE 0x00010000
    9393
    94 /* The value for port IO to read the number of monitors.
    95  */
    96 #define VBOX_VIDEO_QUERY_MONITOR_COUNT           0x00020000
    97 
    98 /* The value for port IO to read the offscreen heap size value.
    99  */
    100 #define VBOX_VIDEO_QUERY_OFFSCREEN_HEAP_SIZE     0x00020001
    10194
    10295/* The end of the information. */
     
    112105/* Information about non-volatile guest VRAM heap. */
    113106#define VBOX_VIDEO_INFO_TYPE_NV_HEAP      5
     107/* VBVA enable/disable. */
     108#define VBOX_VIDEO_INFO_TYPE_VBVA_STATUS  6
     109/* VBVA flush. */
     110#define VBOX_VIDEO_INFO_TYPE_VBVA_FLUSH   7
     111/* Query configuration value. */
     112#define VBOX_VIDEO_INFO_TYPE_QUERY_CONF32 8
    114113
    115114
     
    201200
    202201} VBOXVIDEOINFONVHEAP;
     202
     203/* Display information area. */
     204typedef struct _VBOXVIDEOINFOVBVASTATUS
     205{
     206    /* Absolute offset in VRAM of the start of the VBVA QUEUE. 0 to disable VBVA. */
     207    uint32_t u32QueueOffset;
     208
     209    /* The size of the VBVA QUEUE. 0 to disable VBVA. */
     210    uint32_t u32QueueSize;
     211
     212} VBOXVIDEOINFOVBVASTATUS;
     213
     214typedef struct _VBOXVIDEOINFOVBVAFLUSH
     215{
     216    uint32_t u32DataStart;
     217
     218    uint32_t u32DataEnd;
     219
     220} VBOXVIDEOINFOVBVAFLUSH;
     221
     222#define VBOX_VIDEO_QCI32_MONITOR_COUNT       0
     223#define VBOX_VIDEO_QCI32_OFFSCREEN_HEAP_SIZE 1
     224
     225typedef struct _VBOXVIDEOINFOQUERYCONF32
     226{
     227    uint32_t u32Index;
     228
     229    uint32_t u32Value;
     230
     231} VBOXVIDEOINFOQUERYCONF32;
    203232#pragma pack()
    204233
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette