VirtualBox

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


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/VMMDev/VBoxDev.cpp

    r211 r332  
    236236{
    237237    PPDMDEVINS pDevIns = VMMDEVSTATE_2_DEVINS(pVMMDevState);
    238     PVM pVM = pDevIns->pDevHlp->pfnGetVM(pDevIns);
     238    PVM pVM = PDMDevHlpGetVM(pDevIns);
    239239    int rc;
    240240    PVMREQ pReq;
     
    645645            {
    646646                VMMDevReqHypervisorInfo *hypervisorInfo = (VMMDevReqHypervisorInfo*)requestHeader;
    647                 PVM pVM = pDevIns->pDevHlp->pfnGetVM(pDevIns);
     647                PVM pVM = PDMDevHlpGetVM(pDevIns);
    648648                size_t hypervisorSize = 0;
    649649                requestHeader->rc = PGMR3MappingsSize(pVM, &hypervisorSize);
     
    667667            {
    668668                VMMDevReqHypervisorInfo *hypervisorInfo = (VMMDevReqHypervisorInfo*)requestHeader;
    669                 PVM pVM = pDevIns->pDevHlp->pfnGetVM(pDevIns);
     669                PVM pVM = PDMDevHlpGetVM(pDevIns);
    670670                if (hypervisorInfo->hypervisorStart == 0)
    671671                {
     
    11841184         * already registered before trying to do that all over again.
    11851185         */
    1186         PVM pVM = pPciDev->pDevIns->pDevHlp->pfnGetVM(pPciDev->pDevIns);
     1186        PVM pVM = PDMDevHlpGetVM(pPciDev->pDevIns);
    11871187
    11881188        if (pData->GCPhysVMMDevRAM)
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