Changeset 22440 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 25, 2009 3:37:30 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r22408 r22440 229 229 230 230 231 #ifdef VBOX_WITH_HGSMI232 //#define VBE_DISPI_IOPORT_INDEX 0x01CE233 //#define VBE_DISPI_IOPORT_DATA 0x01CF234 //#define VBE_DISPI_INDEX_VBVA_GUEST 0xc235 #endif /* VBOX_WITH_HGSMI */236 237 231 extern BOOL g_bOnNT40; 238 232 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c
r22412 r22440 256 256 257 257 ppdev->bHGSMISupported = FALSE; 258 }259 else260 {261 #if 0262 /* Inform the host about the HGSMIHOSTEVENTS location. */263 void *p = HGSMIHeapAlloc (&ppdev->hgsmiDisplayHeap,264 sizeof (HGSMI_BUFFER_LOCATION),265 HGSMI_CH_HGSMI,266 HGSMI_CC_HOST_FLAGS_LOCATION);267 268 if (!p)269 {270 DISPDBG((0, "VBoxDISP::vboxInitVBoxVideo: HGSMIHeapAlloc failed\n"));271 rc = VERR_NO_MEMORY;272 }273 else274 {275 HGSMIOFFSET offBuffer = HGSMIHeapBufferOffset (&ppdev->hgsmiDisplayHeap,276 p);277 278 ((HGSMI_BUFFER_LOCATION *)p)->offLocation = ppdev->layout.offDisplayInformation;279 ((HGSMI_BUFFER_LOCATION *)p)->cbLocation = sizeof (HGSMIHOSTFLAGS);280 281 /* Submit the buffer to the host. */282 ASMOutU16 (VBE_DISPI_IOPORT_INDEX, VBE_DISPI_INDEX_VBVA_GUEST);283 ASMOutU32 (VBE_DISPI_IOPORT_DATA, offBuffer);284 285 HGSMIHeapFree (&ppdev->hgsmiDisplayHeap, p);286 }287 #endif288 258 } 289 259 } -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r22412 r22440 348 348 349 349 ppdev->pfnHGSMIGHCommandPost(ppdev->hMpHGSMI, offBuffer); 350 // ASMOutU16 (VBE_DISPI_IOPORT_INDEX, VBE_DISPI_INDEX_VBVA_GUEST);351 // ASMOutU32 (VBE_DISPI_IOPORT_DATA, offBuffer);352 350 } 353 351 … … 521 519 /* Issue the flush command. */ 522 520 void *p = HGSMIHeapAlloc (&ppdev->hgsmiDisplayHeap, 523 sizeof (VBVA _FLUSH),521 sizeof (VBVAFLUSH), 524 522 HGSMI_CH_VBVA, 525 523 VBVA_FLUSH); … … 672 670 if (!p) 673 671 { 674 DISPDBG((0, "VBoxDISP:: vboxHwBufferFlush: HGSMIHeapAlloc failed\n"));672 DISPDBG((0, "VBoxDISP::VBoxProcessDisplayInfo: HGSMIHeapAlloc failed\n")); 675 673 } 676 674 else
Note:
See TracChangeset
for help on using the changeset viewer.