Changeset 92079 in vbox for trunk/src/VBox/Devices/testcase/tstDeviceR0.cpp
- Timestamp:
- Oct 26, 2021 12:10:56 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/testcase/tstDeviceR0.cpp
r92077 r92079 104 104 pDevInsR0->u32Version = PDM_DEVINSR0_VERSION; 105 105 pDevInsR0->iInstance = 0; 106 pDevInsR0->pHlpR0 = (PCPDMDEVHLPR0)0xdeadbeef; //&g_pdmR0DevHlp;106 pDevInsR0->pHlpR0 = &g_tstDevPdmDevHlpR0; 107 107 pDevInsR0->pvInstanceDataR0 = (uint8_t *)pDevInsR0 + cbRing0 + cbRing3 + cbRC; 108 pDevInsR0->pvInstanceDataForR0 = &pDevInsR 3->achInstanceData[0];108 pDevInsR0->pvInstanceDataForR0 = &pDevInsR0->achInstanceData[0]; 109 109 pDevInsR0->pCritSectRoR0 = (PPDMCRITSECT)((uint8_t *)pDevInsR0->pvInstanceDataR0 + cbShared); 110 110 pDevInsR0->pReg = pPdmDevR0;
Note:
See TracChangeset
for help on using the changeset viewer.