VirtualBox

Ignore:
Timestamp:
Mar 6, 2012 8:38:49 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76691
Message:

wddm: concurrency fixes

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPDevExt.h

    r39981 r40387  
    178178#else
    179179    /* all memory layout info should be initialized */
    180     Assert(pDevExt->u.primary.Vdma.CmdHeap.area.offBase);
     180    Assert(pDevExt->u.primary.Vdma.CmdHeap.Heap.area.offBase);
    181181    /* page aligned */
    182     Assert(!(pDevExt->u.primary.Vdma.CmdHeap.area.offBase & 0xfff));
    183 
    184     return pDevExt->u.primary.Vdma.CmdHeap.area.offBase & ~0xfffUL;
     182    Assert(!(pDevExt->u.primary.Vdma.CmdHeap.Heap.area.offBase & 0xfff));
     183
     184    return pDevExt->u.primary.Vdma.CmdHeap.Heap.area.offBase & ~0xfffUL;
    185185#endif
    186186}
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPHGSMI.cpp

    r36867 r40387  
    154154{
    155155    VBoxMPCmnUnmapAdapterMemory(pCommon, &pCommon->pvMiniportHeap);
     156#ifdef VBOX_WDDM_MINIPORT
     157    VBoxSHGSMITerm(&pCommon->guestCtx.heapCtx);
     158#else
    156159    HGSMIHeapDestroy(&pCommon->guestCtx.heapCtx);
     160#endif
    157161
    158162    /* Unmap the adapter information needed for HGSMI IO. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette