VirtualBox

Changeset 90794 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 23, 2021 1:16:11 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146429
Message:

*: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

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

    r90310 r90794  
    11671167        DBGFBP hBp2 = DBGF_BP_INT3_L1_ENTRY_GET_BP_HND(u32Entry);
    11681168        PDBGFBPINT pBp2 = dbgfR3BpGetByHnd(pUVM, hBp2);
    1169         AssertStmt(VALID_PTR(pBp2), rc = VERR_DBGF_BP_IPE_7);
     1169        AssertStmt(RT_VALID_PTR(pBp2), rc = VERR_DBGF_BP_IPE_7);
    11701170        if (RT_SUCCESS(rc))
    11711171            rc = dbgfR3BpInt3L2BstCreate(pUVM, idxL1, u32Entry, hBp, GCPtr, hBp2, pBp2->Pub.u.Int3.GCPtr);
  • trunk/src/VBox/VMM/VMMR3/PGMDbg.cpp

    r90439 r90794  
    642642     * Validate and adjust the input a bit.
    643643     */
    644     if (!VALID_PTR(pGCPhysHit))
     644    if (!RT_VALID_PTR(pGCPhysHit))
    645645        return VERR_INVALID_POINTER;
    646646    *pGCPhysHit = NIL_RTGCPHYS;
    647647
    648     if (    !VALID_PTR(pabNeedle)
     648    if (    !RT_VALID_PTR(pabNeedle)
    649649        ||  GCPhys == NIL_RTGCPHYS)
    650650        return VERR_INVALID_POINTER;
     
    807807     * Validate and adjust the input a bit.
    808808     */
    809     if (!VALID_PTR(pGCPtrHit))
     809    if (!RT_VALID_PTR(pGCPtrHit))
    810810        return VERR_INVALID_POINTER;
    811811    *pGCPtrHit = 0;
    812812
    813     if (!VALID_PTR(pabNeedle))
     813    if (!RT_VALID_PTR(pabNeedle))
    814814        return VERR_INVALID_POINTER;
    815815    if (!cbNeedle)
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r90785 r90794  
    583583    {
    584584        PVM pVM = pUVM->pVM = CreateVMReq.pVMR3;
    585         AssertRelease(VALID_PTR(pVM));
     585        AssertRelease(RT_VALID_PTR(pVM));
    586586        AssertRelease(pVM->pVMR0ForCall == CreateVMReq.pVMR0);
    587587        AssertRelease(pVM->pSession == pUVM->vm.s.pSession);
  • trunk/src/VBox/VMM/VMMRZ/PGMRZDynMap.cpp

    r86473 r90794  
    961961    {
    962962        uint8_t            *pbPage = (uint8_t *)RTR0MemObjAddress(pSeg->hMemObj);
    963         AssertMsg(VALID_PTR(pbPage) && !((uintptr_t)pbPage & PAGE_OFFSET_MASK), ("%p\n", pbPage));
     963        AssertMsg(RT_VALID_PTR(pbPage) && !((uintptr_t)pbPage & PAGE_OFFSET_MASK), ("%p\n", pbPage));
    964964        memset(pbPage, 0xfe, cPages << PAGE_SHIFT);
    965965
Note: See TracChangeset for help on using the changeset viewer.

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