VirtualBox

Changeset 332 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Jan 25, 2007 8:49:05 PM (18 years ago)
Author:
vboxsync
Message:

introduced PDMDevHlpGetVM()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r306 r332  
    12001200#if 0
    12011201    if (pData->RDRAPhysOld != 0 && pData->GCRDRA != pData->RDRAPhysOld)
    1202         PGMHandlerPhysicalDeregister(pDevIns->pDevHlp->pfnGetVM(pDevIns),
     1202        PGMHandlerPhysicalDeregister(PDMDevHlpGetVM(pDevIns),
    12031203                                     pData->RDRAPhysOld & ~PAGE_OFFSET_MASK);
    12041204    if (   pData->TRDAPhysOld != 0 && pData->GCTDRA != pData->TRDAPhysOld
     
    12091209    {
    12101210        int rc;
    1211         rc = PGMR3HandlerPhysicalRegister(pDevIns->pDevHlp->pfnGetVM(pDevIns),
     1211        rc = PGMR3HandlerPhysicalRegister(PDMDevHlpGetVM(pDevIns),
    12121212                                          PGMPHYSHANDLERTYPE_PHYSICAL_WRITE,
    12131213                                          pData->GCRDRA & ~PAGE_OFFSET_MASK,
     
    12281228    {
    12291229        if (pData->TRDAPhysOld != 0)
    1230             PGMHandlerPhysicalDeregister(pDevIns->pDevHlp->pfnGetVM(pDevIns),
     1230            PGMHandlerPhysicalDeregister(PDMDevHlpVM(pDevIns),
    12311231                                         pData->TRDAPhysOld & ~PAGE_OFFSET_MASK);
    12321232
    12331233        int rc;
    12341234
    1235         rc = PGMR3HandlerPhysicalRegister(pDevIns->pDevHlp->pfnGetVM(pDevIns),
     1235        rc = PGMR3HandlerPhysicalRegister(PDMDevHlpGetVM(pDevIns),
    12361236                                          PGMPHYSHANDLERTYPE_PHYSICAL_WRITE,
    12371237                                          pData->GCTDRA & ~PAGE_OFFSET_MASK,
     
    39423942
    39433943#ifdef PCNET_NO_POLLING
    3944     rc = PDMR3GetSymbolR0Lazy(pDevIns->pDevHlp->pfnGetVM(pDevIns), NULL, "EMInterpretInstruction", (void **)&pData->pfnEMInterpretInstructionR0);
     3944    rc = PDMR3GetSymbolR0Lazy(PDMDevHlpGetVM(pDevIns), NULL, "EMInterpretInstruction", (void **)&pData->pfnEMInterpretInstructionR0);
    39453945    if (VBOX_SUCCESS(rc))
    39463946    {
     
    39493949         */
    39503950        RTGCPTR pfnHandlerGC;
    3951         rc = PDMR3GetSymbolGCLazy(pDevIns->pDevHlp->pfnGetVM(pDevIns), NULL, "EMInterpretInstruction", (RTGCPTR *)&pData->pfnEMInterpretInstructionGC);
     3951        rc = PDMR3GetSymbolGCLazy(PDMDevHlpGetVM(pDevIns), NULL, "EMInterpretInstruction", (RTGCPTR *)&pData->pfnEMInterpretInstructionGC);
    39523952    }
    39533953    if (VBOX_FAILURE(rc))
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