Changeset 34399 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Timestamp:
- Nov 26, 2010 4:30:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r34349 r34399 22 22 //#include <iprt/thread.h> 23 23 24 #include <VBox/Hardware/VBoxVideoVBE.h> 24 25 #include <VBox/VBoxVideoGuest.h> 25 26 #include <VBox/VBoxVideo.h> 26 27 #include "VBoxHGSMI.h" 27 28 28 #define VBE_DISPI_IOPORT_INDEX 0x01CE 29 #define VBE_DISPI_IOPORT_DATA 0x01CF 30 #define VBE_DISPI_INDEX_ID 0x0 31 #define VBE_DISPI_INDEX_XRES 0x1 32 #define VBE_DISPI_INDEX_YRES 0x2 33 #define VBE_DISPI_INDEX_BPP 0x3 34 #define VBE_DISPI_INDEX_ENABLE 0x4 35 #define VBE_DISPI_INDEX_VIRT_WIDTH 0x6 36 #define VBE_DISPI_INDEX_VIRT_HEIGHT 0x7 37 #define VBE_DISPI_INDEX_X_OFFSET 0x8 38 #define VBE_DISPI_INDEX_Y_OFFSET 0x9 39 #define VBE_DISPI_INDEX_VBOX_VIDEO 0xa 40 41 #define VBE_DISPI_ID2 0xB0C2 42 /* The VBOX interface id. Indicates support for VBE_DISPI_INDEX_VBOX_VIDEO. */ 43 #define VBE_DISPI_ID_VBOX_VIDEO 0xBE00 44 #define VBE_DISPI_ID_HGSMI 0xBE01 45 #define VBE_DISPI_ID_ANYX 0xBE02 46 #define VBE_DISPI_DISABLED 0x00 47 #define VBE_DISPI_ENABLED 0x01 48 #define VBE_DISPI_LFB_ENABLED 0x40 49 #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xE0000000 29 /* This looks absolutely unnecessary to me, but harmless. */ 50 30 #define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 4 51 31 #define VBE_DISPI_TOTAL_VIDEO_MEMORY_KB (VBE_DISPI_TOTAL_VIDEO_MEMORY_MB * 1024) 52 32 #define VBE_DISPI_TOTAL_VIDEO_MEMORY_BYTES (VBE_DISPI_TOTAL_VIDEO_MEMORY_KB * 1024) 53 54 #define VGA_PORT_HGSMI_HOST 0x3b055 #define VGA_PORT_HGSMI_GUEST 0x3d056 33 57 34 typedef struct VBOXVIDEO_COMMON
Note:
See TracChangeset
for help on using the changeset viewer.