- Timestamp:
- Oct 26, 2021 12:10:56 PM (3 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r92077 r92079 1505 1505 tstDevice_SOURCES = \ 1506 1506 testcase/tstDevice.cpp \ 1507 1507 testcase/tstDeviceR0.cpp \ 1508 1508 testcase/tstDeviceCfg.cpp \ 1509 1509 testcase/tstDevicePdmDevHlp.cpp \ 1510 testcase/tstDevicePdmDevHlpR0.cpp \ 1510 1511 testcase/tstDevicePdmThread.cpp \ 1511 1512 testcase/tstDeviceSsmFuzz.cpp \ -
trunk/src/VBox/Devices/testcase/tstDeviceInternal.h
r92077 r92079 509 509 #ifdef IN_RING3 510 510 extern const PDMDEVHLPR3 g_tstDevPdmDevHlpR3; 511 #elif defined(IN_RING0)512 //extern const PDMDEVHLPR0 g_tstDevPdmDevHlpR0;513 511 #endif 514 512 extern const PDMDEVHLPR0 g_tstDevPdmDevHlpR0; 515 513 516 514 DECLHIDDEN(int) tstDevPdmLdrGetSymbol(PTSTDEVDUTINT pThis, const char *pszMod, TSTDEVPDMMODTYPE enmModType, -
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.