Changeset 34404 in vbox for trunk/src/VBox
- Timestamp:
- Nov 26, 2010 4:40:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r34243 r34404 2881 2881 switch (Port) 2882 2882 { 2883 case 0x3b0: /* Host */2883 case VGA_PORT_HGSMI_HOST: /* Host */ 2884 2884 { 2885 2885 #if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_VDMA) || defined(VBOX_WITH_WDDM) … … 2896 2896 } break; 2897 2897 2898 case 0x3d0: /* Guest */2898 case VGA_PORT_HGSMI_GUEST: /* Guest */ 2899 2899 { 2900 2900 HGSMIGuestWrite(s->pHGSMI, u32); … … 2946 2946 switch (Port) 2947 2947 { 2948 case 0x3b0: /* Host */2948 case VGA_PORT_HGSMI_HOST: /* Host */ 2949 2949 { 2950 2950 *pu32 = HGSMIHostRead(s->pHGSMI); 2951 2951 } break; 2952 case 0x3d0: /* Guest */2952 case VGA_PORT_HGSMI_GUEST: /* Guest */ 2953 2953 { 2954 2954 *pu32 = HGSMIGuestRead(s->pHGSMI); … … 5814 5814 #ifdef VBOX_WITH_HGSMI 5815 5815 /* 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)"); 5817 5817 if (RT_FAILURE(rc)) 5818 5818 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)"); 5820 5820 if (RT_FAILURE(rc)) 5821 5821 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.