Changeset 22548 in vbox
- Timestamp:
- Aug 28, 2009 11:10:39 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r22448 r22548 207 207 208 208 HVBOXVIDEOHGSMI hMpHGSMI; /* context handler passed to miniport HGSMI callbacks */ 209 PFNVBOXVIDEOHGSMIPOSTCOMMAND pfnHGSMIGHCommandPost; /* called to post the guest command (offset) to the host */210 209 PFNVBOXVIDEOHGSMICOMPLETION pfnHGSMICommandComplete; /* called to complete the command we receive from the miniport */ 211 210 PFNVBOXVIDEOHGSMICOMMANDS pfnHGSMIRequestCommands; /* called to requests the commands posted to us from the host */ 211 212 RTIOPORT IOPortGuestCommand; 212 213 213 214 PVOID pVideoPortContext; -
trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c
r22448 r22548 123 123 124 124 ppdev->hMpHGSMI = Callbacks.hContext; 125 ppdev->pfnHGSMIGHCommandPost = Callbacks.pfnHGSMIGHCommandPost;126 125 ppdev->pfnHGSMICommandComplete = Callbacks.pfnCompletionHandler; 127 126 ppdev->pfnHGSMIRequestCommands = Callbacks.pfnRequestCommandsHandler; … … 272 271 273 272 ppdev->bHGSMISupported = FALSE; 273 } 274 else 275 { 276 ppdev->IOPortGuestCommand = info.IOPortGuestCommand; 274 277 } 275 278 } -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r22475 r22548 347 347 DISPDBG((0, "VBoxDISP::vboxHGSMIBufferSubmit: offset 0x%x\n", offBuffer)); 348 348 349 ppdev->pfnHGSMIGHCommandPost(ppdev->hMpHGSMI, offBuffer);349 ASMOutU32(ppdev->IOPortGuestCommand, offBuffer); 350 350 } 351 351 -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r22547 r22548 1964 1964 pInfo->u32MinVBVABufferSize = VBVA_MIN_BUFFER_SIZE; 1965 1965 1966 pInfo->IOPortGuestCommand = pDevExt->pPrimary->u.primary.IOPortGuest; 1967 1966 1968 RequestPacket->StatusBlock->Information = sizeof(QUERYHGSMIRESULT); 1967 1969 Result = TRUE; … … 1990 1992 1991 1993 pInfo->hContext = pDevExt; 1992 pInfo->pfnHGSMIGHCommandPost = hgsmiGHCommandPost;1993 1994 pInfo->pfnCompletionHandler = hgsmiHostCmdComplete; 1994 1995 pInfo->pfnRequestCommandsHandler = hgsmiHostCmdRequest; -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r22469 r22548 368 368 PVIDEO_POINTER_ATTRIBUTES pointerAttr, 369 369 uint32_t cbLength); 370 DECLCALLBACK(void) hgsmiGHCommandPost(HVBOXVIDEOHGSMI hHGSMI, HGSMIOFFSET offCmd);371 370 DECLCALLBACK(void) hgsmiHostCmdComplete (HVBOXVIDEOHGSMI hHGSMI, struct _VBVAHOSTCMD * pCmd); 372 371 DECLCALLBACK(int) hgsmiHostCmdRequest (HVBOXVIDEOHGSMI hHGSMI, uint8_t u8Channel, struct _VBVAHOSTCMD ** ppCmd); -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/vboxioctl.h
r22448 r22548 122 122 uint32_t u32DisplayInfoSize; 123 123 124 /* Minimum size of the VB AVbuffer. */124 /* Minimum size of the VBVA buffer. */ 125 125 uint32_t u32MinVBVABufferSize; 126 127 /* IO port to submit guest HGSMI commands. */ 128 RTIOPORT IOPortGuestCommand; 126 129 } QUERYHGSMIRESULT; 127 130 … … 133 136 { 134 137 HVBOXVIDEOHGSMI hContext; 135 PFNVBOXVIDEOHGSMIPOSTCOMMAND pfnHGSMIGHCommandPost;136 138 PFNVBOXVIDEOHGSMICOMPLETION pfnCompletionHandler; 137 139 PFNVBOXVIDEOHGSMICOMMANDS pfnRequestCommandsHandler;
Note:
See TracChangeset
for help on using the changeset viewer.