VirtualBox

Changeset 34404 in vbox for trunk/src/VBox


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

include/VBox/Hardware/VBoxVideoVBE.h, src/VBox/Devices/Graphics/DevVGA.cpp: clean-up following on r68170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r34243 r34404  
    28812881        switch (Port)
    28822882        {
    2883             case 0x3b0: /* Host */
     2883            case VGA_PORT_HGSMI_HOST: /* Host */
    28842884            {
    28852885#if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_VDMA) || defined(VBOX_WITH_WDDM)
     
    28962896            } break;
    28972897
    2898             case 0x3d0: /* Guest */
     2898            case VGA_PORT_HGSMI_GUEST: /* Guest */
    28992899            {
    29002900                HGSMIGuestWrite(s->pHGSMI, u32);
     
    29462946        switch (Port)
    29472947        {
    2948             case 0x3b0: /* Host */
     2948            case VGA_PORT_HGSMI_HOST: /* Host */
    29492949            {
    29502950                *pu32 = HGSMIHostRead(s->pHGSMI);
    29512951            } break;
    2952             case 0x3d0: /* Guest */
     2952            case VGA_PORT_HGSMI_GUEST: /* Guest */
    29532953            {
    29542954                *pu32 = HGSMIGuestRead(s->pHGSMI);
     
    58145814#ifdef VBOX_WITH_HGSMI
    58155815    /* Use reserved VGA IO ports for HGSMI. */
    5816     rc = PDMDevHlpIOPortRegister(pDevIns,  0x3b0,  4, NULL, vgaR3IOPortHGSMIWrite, vgaR3IOPortHGSMIRead, NULL, NULL, "VGA - 3b0 (HGSMI host)");
     5816    rc = PDMDevHlpIOPortRegister(pDevIns,  VGA_PORT_HGSMI_HOST,  4, NULL, vgaR3IOPortHGSMIWrite, vgaR3IOPortHGSMIRead, NULL, NULL, "VGA - 3b0 (HGSMI host)");
    58175817    if (RT_FAILURE(rc))
    58185818        return rc;
    5819     rc = PDMDevHlpIOPortRegister(pDevIns,  0x3d0,  4, NULL, vgaR3IOPortHGSMIWrite, vgaR3IOPortHGSMIRead, NULL, NULL, "VGA - 3d0 (HGSMI guest)");
     5819    rc = PDMDevHlpIOPortRegister(pDevIns,  VGA_PORT_HGSMI_GUEST,  4, NULL, vgaR3IOPortHGSMIWrite, vgaR3IOPortHGSMIRead, NULL, NULL, "VGA - 3d0 (HGSMI guest)");
    58205820    if (RT_FAILURE(rc))
    58215821        return rc;
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