VirtualBox

Ignore:
Timestamp:
Oct 26, 2021 12:10:56 PM (3 years ago)
Author:
vboxsync
Message:

Devices/testcase/tstDevice: Started working on supporting R0 device instances, bugref:9006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceR0.cpp

    r92077 r92079  
    104104        pDevInsR0->u32Version             = PDM_DEVINSR0_VERSION;
    105105        pDevInsR0->iInstance              = 0;
    106         pDevInsR0->pHlpR0                 = (PCPDMDEVHLPR0)0xdeadbeef; //&g_pdmR0DevHlp;
     106        pDevInsR0->pHlpR0                 = &g_tstDevPdmDevHlpR0;
    107107        pDevInsR0->pvInstanceDataR0       = (uint8_t *)pDevInsR0 + cbRing0 + cbRing3 + cbRC;
    108         pDevInsR0->pvInstanceDataForR0    = &pDevInsR3->achInstanceData[0];
     108        pDevInsR0->pvInstanceDataForR0    = &pDevInsR0->achInstanceData[0];
    109109        pDevInsR0->pCritSectRoR0          = (PPDMCRITSECT)((uint8_t *)pDevInsR0->pvInstanceDataR0 + cbShared);
    110110        pDevInsR0->pReg                   = pPdmDevR0;
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