VirtualBox

Ignore:
Timestamp:
Nov 26, 2010 4:30:44 PM (14 years ago)
Author:
vboxsync
Message:

Devices/Graphics, Additions: move the VBE I/O port-related definitions into a single shared header file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h

    r34349 r34399  
    2222//#include <iprt/thread.h>
    2323
     24#include <VBox/Hardware/VBoxVideoVBE.h>
    2425#include <VBox/VBoxVideoGuest.h>
    2526#include <VBox/VBoxVideo.h>
    2627#include "VBoxHGSMI.h"
    2728
    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. */
    5030#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 4
    5131#define VBE_DISPI_TOTAL_VIDEO_MEMORY_KB         (VBE_DISPI_TOTAL_VIDEO_MEMORY_MB * 1024)
    5232#define VBE_DISPI_TOTAL_VIDEO_MEMORY_BYTES      (VBE_DISPI_TOTAL_VIDEO_MEMORY_KB * 1024)
    53 
    54 #define VGA_PORT_HGSMI_HOST  0x3b0
    55 #define VGA_PORT_HGSMI_GUEST 0x3d0
    5633
    5734typedef struct VBOXVIDEO_COMMON
Note: See TracChangeset for help on using the changeset viewer.

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