VirtualBox

Ignore:
Timestamp:
Jan 28, 2020 7:52:56 PM (5 years ago)
Author:
vboxsync
Message:

VMM/PGMPool: Instrumenting code for debugging OS X issue. bugref:9627

File:
1 edited

Legend:

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

    r82555 r82895  
    234234    if (RT_FAILURE(rc))
    235235        return rc;
     236memset((uint8_t *)pPool + cb, 0xbb, RT_ALIGN_Z(cb, PAGE_SIZE) - cb); /* Temporary OS X debugging: Color the unused bytes (ASSUMES page aligned alloc). */
    236237    pVM->pgm.s.pPoolR3 = pPool;
    237238    pVM->pgm.s.pPoolR0 = MMHyperR3ToR0(pVM, pPool);
     
    288289
    289290    pPool->HCPhysTree = 0;
     291LogRel(("PGM: pgmR3PoolInit: pPool=%p LB %#x paUsers=%p paPhysExts=%p (pEnd=%p) pVM=%p\n",
     292        pPool, cb, pPool->paUsersR3, pPool->paPhysExtsR3, (uint8_t *)pPool + cb, pVM)); // Temporary OS X debugging.
    290293
    291294    /*
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