Changeset 40387 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
- Timestamp:
- Mar 6, 2012 8:38:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r39981 r40387 288 288 #endif 289 289 290 HGSMIHEAP*vboxWddmHgsmiGetHeapFromCmdOffset(PVBOXMP_DEVEXT pDevExt, HGSMIOFFSET offCmd)290 PVBOXSHGSMI vboxWddmHgsmiGetHeapFromCmdOffset(PVBOXMP_DEVEXT pDevExt, HGSMIOFFSET offCmd) 291 291 { 292 292 #ifdef VBOX_WITH_VDMA 293 if(HGSMIAreaContainsOffset(&pDevExt->u.primary.Vdma.CmdHeap. area, offCmd))293 if(HGSMIAreaContainsOffset(&pDevExt->u.primary.Vdma.CmdHeap.Heap.area, offCmd)) 294 294 return &pDevExt->u.primary.Vdma.CmdHeap; 295 295 #endif 296 if (HGSMIAreaContainsOffset(&VBoxCommonFromDeviceExt(pDevExt)->guestCtx.heapCtx. area, offCmd))296 if (HGSMIAreaContainsOffset(&VBoxCommonFromDeviceExt(pDevExt)->guestCtx.heapCtx.Heap.area, offCmd)) 297 297 return &VBoxCommonFromDeviceExt(pDevExt)->guestCtx.heapCtx; 298 298 return NULL; … … 311 311 { 312 312 #ifdef VBOX_WITH_VDMA 313 if(HGSMIAreaContainsOffset(&pDevExt->u.primary.Vdma.CmdHeap. area, offCmd))313 if(HGSMIAreaContainsOffset(&pDevExt->u.primary.Vdma.CmdHeap.Heap.area, offCmd)) 314 314 return VBOXWDDM_HGSMICMD_TYPE_DMACMD; 315 315 #endif 316 if (HGSMIAreaContainsOffset(&VBoxCommonFromDeviceExt(pDevExt)->guestCtx.heapCtx. area, offCmd))316 if (HGSMIAreaContainsOffset(&VBoxCommonFromDeviceExt(pDevExt)->guestCtx.heapCtx.Heap.area, offCmd)) 317 317 return VBOXWDDM_HGSMICMD_TYPE_CTL; 318 318 return VBOXWDDM_HGSMICMD_TYPE_UNDEFINED; … … 1171 1171 VBOXWDDM_HGSMICMD_TYPE enmType = vboxWddmHgsmiGetCmdTypeFromOffset(pDevExt, offCmd); 1172 1172 PVBOXVTLIST pList; 1173 HGSMIHEAP *pHeap = NULL;1173 PVBOXSHGSMI pHeap = NULL; 1174 1174 switch (enmType) 1175 1175 { … … 1191 1191 { 1192 1192 uint16_t chInfo; 1193 uint8_t *pvCmd = HGSMIBufferDataAndChInfoFromOffset (&pHeap-> area, offCmd, &chInfo);1193 uint8_t *pvCmd = HGSMIBufferDataAndChInfoFromOffset (&pHeap->Heap.area, offCmd, &chInfo); 1194 1194 Assert(pvCmd); 1195 1195 if (pvCmd)
Note:
See TracChangeset
for help on using the changeset viewer.