VirtualBox

Changeset 10365 in vbox


Ignore:
Timestamp:
Jul 8, 2008 1:12:01 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33002
Message:

pCpu can be NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r10364 r10365  
    249249    Assert(pPage->iMonitoredPrev == NIL_PGMPOOL_IDX);
    250250    const unsigned off     = GCPhysFault & PAGE_OFFSET_MASK;
    251     const unsigned cbWrite = pgmPoolDisasWriteSize(pCpu);
     251    const unsigned cbWrite = (pCpu) ? pgmPoolDisasWriteSize(pCpu) : 0;
    252252
    253253    LogFlow(("pgmPoolMonitorChainChanging: %VGv phys=%VGp kind=%d cbWrite=%d\n", pvAddress, GCPhysFault, pPage->enmKind, cbWrite));
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