Changeset 107113 in vbox for trunk/src/VBox/Devices/testcase/tstDevicePdmDevHlpR0.cpp
- Timestamp:
- Nov 22, 2024 10:48:00 AM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 166080
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/testcase/tstDevicePdmDevHlpR0.cpp
r106061 r107113 1236 1236 1237 1237 /* Check that it's the same device as made the ring-3 registrations: */ 1238 AssertLogRelMsgReturn(pGVM->pdm.s. Apic.pDevInsR3 == pDevIns->pDevInsForR3,1239 ("%p vs %p\n", pGVM->pdm.s. Apic.pDevInsR3, pDevIns->pDevInsForR3), VERR_NOT_OWNER);1238 AssertLogRelMsgReturn(pGVM->pdm.s.Ic.pDevInsR3 == pDevIns->pDevInsForR3, 1239 ("%p vs %p\n", pGVM->pdm.s.Ic.pDevInsR3, pDevIns->pDevInsForR3), VERR_NOT_OWNER); 1240 1240 1241 1241 /* Check that it isn't already registered in ring-0: */ 1242 AssertLogRelMsgReturn(pGVM->pdm.s. Apic.pDevInsR0 == NULL, ("%p (caller pDevIns=%p)\n", pGVM->pdm.s.Apic.pDevInsR0, pDevIns),1242 AssertLogRelMsgReturn(pGVM->pdm.s.Ic.pDevInsR0 == NULL, ("%p (caller pDevIns=%p)\n", pGVM->pdm.s.Ic.pDevInsR0, pDevIns), 1243 1243 VERR_ALREADY_EXISTS); 1244 1244 … … 1246 1246 * Take down the instance. 1247 1247 */ 1248 pGVM->pdm.s. Apic.pDevInsR0 = pDevIns;1248 pGVM->pdm.s.Ic.pDevInsR0 = pDevIns; 1249 1249 #endif 1250 Log(("PDM: Registered APIC device '%s'/%d pDevIns=%p\n", pDevIns->pReg->szName, pDevIns->iInstance, pDevIns));1250 Log(("PDM: Registered IC device '%s'/%d pDevIns=%p\n", pDevIns->pReg->szName, pDevIns->iInstance, pDevIns)); 1251 1251 1252 1252 /* set the helper pointer and return. */
Note:
See TracChangeset
for help on using the changeset viewer.