Changeset 71720 in vbox
- Timestamp:
- Apr 6, 2018 6:51:44 PM (7 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r70948 r71720 847 847 pPage, 848 848 pPage + (PAGE_SIZE - 1) /* inclusive! */, 849 (void *)(uintptr_t)pPage, pPage, NULL /*pszDesc*/);849 (void *)(uintptr_t)pPage, NIL_RTRCPTR /*pvUserRC*/, NULL /*pszDesc*/); 850 850 Assert(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT); 851 851 } … … 929 929 pPage, 930 930 pPage + (PAGE_SIZE - 1) /* inclusive! */, 931 (void *)(uintptr_t)pPage, pPage, NULL /*pszDesc*/);931 (void *)(uintptr_t)pPage, NIL_RTRCPTR /*pvUserRC*/, NULL /*pszDesc*/); 932 932 Assert(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT); 933 933 } -
trunk/src/VBox/VMM/VMMR3/PATMSSM.cpp
r69111 r71720 1503 1503 pPage, 1504 1504 pPage + (PAGE_SIZE - 1) /* inclusive! */, 1505 (void *)(uintptr_t)pPage, pPage, NULL /*pszDesc*/);1505 (void *)(uintptr_t)pPage, NIL_RTRCPTR /*pvUserRC*/, NULL /*pszDesc*/); 1506 1506 Assert(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT); 1507 1507 } -
trunk/src/VBox/VMM/VMMRC/PATMRC.cpp
r69111 r71720 47 47 * PATM all access handler callback.} 48 48 * 49 * @remarks The @a pvUser argument is the base address of the page being 50 * monitored. 49 * @remarks pvUser is NULL. 51 50 */ 52 51 DECLEXPORT(VBOXSTRICTRC) patmRCVirtPagePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pCtxCore, … … 54 53 { 55 54 NOREF(pVCpu); NOREF(uErrorCode); NOREF(pCtxCore); NOREF(pvFault); NOREF(pvRange); NOREF(offRange); RT_NOREF_PV(pvUser); 56 57 Assert(pvUser);58 Assert(!((uintptr_t)pvUser & PAGE_OFFSET_MASK));59 Assert(((uintptr_t)pvUser + (pvFault & PAGE_OFFSET_MASK)) == pvRange + offRange);60 55 61 56 pVM->patm.s.pvFaultMonitor = (RTRCPTR)(pvRange + offRange);
Note:
See TracChangeset
for help on using the changeset viewer.