Changeset 80182 in vbox for trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp
- Timestamp:
- Aug 7, 2019 11:17:11 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132623
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp
r80166 r80182 84 84 R0PTRTYPE(PFNPGMPHYSHANDLER) pfnHandlerR0, 85 85 R0PTRTYPE(PFNPGMRZPHYSPFHANDLER) pfnPfHandlerR0, 86 RCPTRTYPE(PFNPGMPHYSHANDLER) pfnHandlerRC,87 RCPTRTYPE(PFNPGMRZPHYSPFHANDLER) pfnPfHandlerRC,88 86 const char *pszDesc, PPGMPHYSHANDLERTYPE phType) 89 87 { … … 91 89 AssertReturn(pfnHandlerR0 != NIL_RTR0PTR, VERR_INVALID_POINTER); 92 90 AssertReturn(pfnPfHandlerR0 != NIL_RTR0PTR, VERR_INVALID_POINTER); 93 AssertReturn(pfnHandlerRC != NIL_RTRCPTR || !VM_IS_RAW_MODE_ENABLED(pVM), VERR_INVALID_POINTER);94 AssertReturn(pfnPfHandlerRC != NIL_RTRCPTR || !VM_IS_RAW_MODE_ENABLED(pVM), VERR_INVALID_POINTER);95 91 AssertPtrReturn(pszDesc, VERR_INVALID_POINTER); 96 92 AssertReturn( enmKind == PGMPHYSHANDLERKIND_WRITE … … 111 107 pType->pfnHandlerR0 = pfnHandlerR0; 112 108 pType->pfnPfHandlerR0 = pfnPfHandlerR0; 113 pType->pfnHandlerRC = pfnHandlerRC;114 pType->pfnPfHandlerRC = pfnPfHandlerRC;115 109 pType->pszDesc = pszDesc; 116 110 … … 120 114 121 115 *phType = MMHyperHeapPtrToOffset(pVM, pType); 122 LogFlow(("PGMR3HandlerPhysicalTypeRegisterEx: %p/%#x: enmKind=%d pfnHandlerR3=%RHv pfnHandlerR0=%RHv p fnHandlerRC=%RRv pszDesc=%s\n",123 pType, *phType, enmKind, pfnHandlerR3, pfnPfHandlerR0, p fnPfHandlerRC, pszDesc));116 LogFlow(("PGMR3HandlerPhysicalTypeRegisterEx: %p/%#x: enmKind=%d pfnHandlerR3=%RHv pfnHandlerR0=%RHv pszDesc=%s\n", 117 pType, *phType, enmKind, pfnHandlerR3, pfnPfHandlerR0, pszDesc)); 124 118 return VINF_SUCCESS; 125 119 } … … 208 202 if (RT_SUCCESS(rc)) 209 203 return PGMR3HandlerPhysicalTypeRegisterEx(pVM, enmKind, pfnHandlerR3, 210 pfnHandlerR0, pfnPfHandlerR0, 211 pfnHandlerRC, pfnPfHandlerRC, 212 pszDesc, phType); 204 pfnHandlerR0, pfnPfHandlerR0, pszDesc, phType); 213 205 } 214 206 else … … 397 389 } 398 390 pHlp->pfnPrintf(pHlp, 399 "%RGp - %RGp %RHv %RHv %RRv %RRv %s %s\n",400 pCur->Core.Key, pCur->Core.KeyLast, pCurType->pfnHandlerR3, pCur->pvUserR3, pCurType->pfnPfHandlerRC, pCur->pvUserRC,401 p szType, pCur->pszDesc);391 "%RGp - %RGp %RHv %RHv %RHv %RHv %s %s\n", 392 pCur->Core.Key, pCur->Core.KeyLast, pCurType->pfnHandlerR3, pCur->pvUserR3, 393 pCurType->pfnPfHandlerR0, pCur->pvUserR0, pszType, pCur->pszDesc); 402 394 #ifdef VBOX_WITH_STATISTICS 403 395 if (pArgs->fStats)
Note:
See TracChangeset
for help on using the changeset viewer.