VirtualBox

Changeset 55421 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Apr 24, 2015 12:00:21 PM (10 years ago)
Author:
vboxsync
Message:

HGSMI: cleanup, logging, comments, move legacy host heap support from common code to the host code.

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  
    425425
    426426        rc = HGSMIHeapSetup(&pDev->hgsmi.ctx.heapCtx,
    427                             HGSMI_HEAP_TYPE_MA,
    428427                            (uint8_t *)pDev->memInfo.VideoRamBase+pDev->layout.offDisplayInfo+sizeof(HGSMIHOSTFLAGS),
    429428                            pDev->layout.cbDisplayInfo-sizeof(HGSMIHOSTFLAGS),
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPShgsmi.cpp

    r50859 r55421  
    186186}
    187187
    188 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, uint32_t u32HeapType, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase,
     188int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase,
    189189                   const HGSMIENV *pEnv)
    190190{
    191191    KeInitializeSpinLock(&pHeap->HeapLock);
    192     return HGSMIHeapSetup(&pHeap->Heap, u32HeapType, pvBase, cbArea, offBase, pEnv);
     192    return HGSMIHeapSetup(&pHeap->Heap, pvBase, cbArea, offBase, pEnv);
    193193}
    194194
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPShgsmi.h

    r50859 r55421  
    6060}
    6161
    62 int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, uint32_t u32HeapType, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase, const HGSMIENV *pEnv);
     62int VBoxSHGSMIInit(PVBOXSHGSMI pHeap, void *pvBase, HGSMISIZE cbArea, HGSMIOFFSET offBase, const HGSMIENV *pEnv);
    6363void VBoxSHGSMITerm(PVBOXSHGSMI pHeap);
    6464void* VBoxSHGSMIHeapAlloc(PVBOXSHGSMI pHeap, HGSMISIZE cbData, uint8_t u8Channel, uint16_t u16ChannelInfo);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVdma.cpp

    r52329 r55421  
    16281628        /* Setup a HGSMI heap within the adapter information area. */
    16291629        rc = VBoxSHGSMIInit(&pInfo->CmdHeap,
    1630                              HGSMI_HEAP_TYPE_MA,
    16311630                             pvBuffer,
    16321631                             cbBuffer,
  • trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp

    r55193 r55421  
    341341    pCtx->port = (RTIOPORT)VGA_PORT_HGSMI_GUEST;
    342342#ifdef VBOX_WDDM_MINIPORT
    343     return VBoxSHGSMIInit(&pCtx->heapCtx, HGSMI_HEAP_TYPE_MA, pvGuestHeapMemory,
     343    return VBoxSHGSMIInit(&pCtx->heapCtx, pvGuestHeapMemory,
    344344                          cbGuestHeapMemory, offVRAMGuestHeapMemory, pEnv);
    345345#else
    346     return HGSMIHeapSetup(&pCtx->heapCtx, HGSMI_HEAP_TYPE_MA, pvGuestHeapMemory,
     346    return HGSMIHeapSetup(&pCtx->heapCtx, pvGuestHeapMemory,
    347347                          cbGuestHeapMemory, offVRAMGuestHeapMemory, pEnv);
    348348#endif
Note: See TracChangeset for help on using the changeset viewer.

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