- Timestamp:
- Aug 7, 2021 1:24:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r90558 r90572 1060 1060 VMM_ASSERT_RELEASE_MSG_RETURN(pVM, i < RT_ELEMENTS(pVCpu->pdm.s.apQueuedCritSectLeaves), ("%d\n", i), VERR_PDM_CRITSECT_IPE); 1061 1061 pVCpu->pdm.s.apQueuedCritSectLeaves[i] = pCritSect->s.pSelfR3; 1062 VMM_ASSERT_RELEASE_MSG_RETURN(pVM, 1063 RT_VALID_PTR(pVCpu->pdm.s.apQueuedCritSectLeaves[i]) 1064 && ((uintptr_t)pVCpu->pdm.s.apQueuedCritSectLeaves[i] & PAGE_OFFSET_MASK) 1065 == ((uintptr_t)pCritSect & PAGE_OFFSET_MASK), 1066 ("%p vs %p\n", pVCpu->pdm.s.apQueuedCritSectLeaves[i], pCritSect), 1067 pdmCritSectCorrupted(pCritSect, "Invalid pSelfR3 value")); 1062 1068 VMCPU_FF_SET(pVCpu, VMCPU_FF_PDM_CRITSECT); /** @todo handle VMCPU_FF_PDM_CRITSECT in ring-0 outside the no-call-ring-3 part. */ 1063 1069 VMCPU_FF_SET(pVCpu, VMCPU_FF_TO_R3); /* unnecessary paranoia */
Note:
See TracChangeset
for help on using the changeset viewer.