VirtualBox

Changeset 56054 in vbox for trunk/src


Ignore:
Timestamp:
May 24, 2015 3:52:28 PM (10 years ago)
Author:
vboxsync
Message:

PGM,CSAM: Documented that pfnInvalidateR3 does't work for the last 9 years. Build fix.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r56052 r56054  
    21692169 *                          calling EMT.
    21702170 * @param   GCPtr           The virtual address the guest has changed.
     2171 *
     2172 * @remarks Not currently called by PGM. It was actually only called for a month
     2173 *          back in 2006...
    21712174 */
    21722175static DECLCALLBACK(int) csamR3CodePageInvalidate(PVM pVM, PVMCPU pVCpu, RTGCPTR GCPtr, void *pvUser)
  • trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp

    r56052 r56054  
    314314 *                          automatically relocated or not.
    315315 * @param   pfnInvalidateR3 Pointer to the ring-3 invalidation handler callback.
     316 *                          Warning! This callback stopped working in VBox v1.2!
    316317 * @param   pfnHandlerR3    Pointer to the ring-3 handler callback.
    317318 * @param   pfnHandlerRC    Pointer to the raw-mode context handler callback.
     
    339340        AssertPtrNullReturn(pfnInvalidateR3, VERR_INVALID_POINTER);
    340341        AssertPtrReturn(pfnHandlerR3, VERR_INVALID_POINTER);
    341         AssertPtrReturn(pfnHandlerRC, VERR_INVALID_POINTER);
     342        AssertReturn(pfnHandlerRC != NIL_RTRCPTR, VERR_INVALID_POINTER);
    342343    }
    343344    else
     
    425426    {
    426427        RTRCPTR pfnPfHandlerRC = NIL_RTRCPTR;
    427         int rc = PDMR3LdrGetSymbolRCLazy(pVM, VMMRC_MAIN_MODULE_NAME, NULL /*pszSearchPath*/, pszPfHandlerRC, &pfnPfHandlerRC);
     428        rc = PDMR3LdrGetSymbolRCLazy(pVM, VMMRC_MAIN_MODULE_NAME, NULL /*pszSearchPath*/, pszPfHandlerRC, &pfnPfHandlerRC);
    428429        if (RT_SUCCESS(rc))
    429430            return PGMR3HandlerVirtualTypeRegisterEx(pVM, enmKind, fRelocUserRC,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette