Changeset 55421 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Apr 24, 2015 12:00:21 PM (10 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVBVA.cpp
r50542 r55421 425 425 426 426 rc = HGSMIHeapSetup(&pDev->hgsmi.ctx.heapCtx, 427 HGSMI_HEAP_TYPE_MA,428 427 (uint8_t *)pDev->memInfo.VideoRamBase+pDev->layout.offDisplayInfo+sizeof(HGSMIHOSTFLAGS), 429 428 pDev->layout.cbDisplayInfo-sizeof(HGSMIHOSTFLAGS), -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPShgsmi.cpp
r50859 r55421 186 186 } 187 187 188 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, uint32_t u32HeapType,void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase,188 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase, 189 189 const HGSMIENV *pEnv) 190 190 { 191 191 KeInitializeSpinLock(&pHeap->HeapLock); 192 return HGSMIHeapSetup(&pHeap->Heap, u32HeapType,pvBase, cbArea, offBase, pEnv);192 return HGSMIHeapSetup(&pHeap->Heap, pvBase, cbArea, offBase, pEnv); 193 193 } 194 194 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPShgsmi.h
r50859 r55421 60 60 } 61 61 62 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, uint32_t u32HeapType,void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase, const HGSMIENV *pEnv);62 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase, const HGSMIENV *pEnv); 63 63 void VBoxSHGSMITerm(PVBOXSHGSMI pHeap); 64 64 void* VBoxSHGSMIHeapAlloc(PVBOXSHGSMI pHeap, HGSMISIZE cbData, uint8_t u8Channel, uint16_t u16ChannelInfo); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVdma.cpp
r52329 r55421 1628 1628 /* Setup a HGSMI heap within the adapter information area. */ 1629 1629 rc = VBoxSHGSMIInit(&pInfo->CmdHeap, 1630 HGSMI_HEAP_TYPE_MA,1631 1630 pvBuffer, 1632 1631 cbBuffer, -
trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp
r55193 r55421 341 341 pCtx->port = (RTIOPORT)VGA_PORT_HGSMI_GUEST; 342 342 #ifdef VBOX_WDDM_MINIPORT 343 return VBoxSHGSMIInit(&pCtx->heapCtx, HGSMI_HEAP_TYPE_MA,pvGuestHeapMemory,343 return VBoxSHGSMIInit(&pCtx->heapCtx, pvGuestHeapMemory, 344 344 cbGuestHeapMemory, offVRAMGuestHeapMemory, pEnv); 345 345 #else 346 return HGSMIHeapSetup(&pCtx->heapCtx, HGSMI_HEAP_TYPE_MA,pvGuestHeapMemory,346 return HGSMIHeapSetup(&pCtx->heapCtx, pvGuestHeapMemory, 347 347 cbGuestHeapMemory, offVRAMGuestHeapMemory, pEnv); 348 348 #endif
Note:
See TracChangeset
for help on using the changeset viewer.