VirtualBox

Changeset 17202 in vbox for trunk


Ignore:
Timestamp:
Feb 27, 2009 1:13:31 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43498
Message:

Fixed performanc regression with (e.g.) PAE guests

File:
1 edited

Legend:

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

    r17199 r17202  
    266266DECLINLINE(int) pgmPoolPhysSimpleReadGCPhys(PVM pVM, void *pvDst, CTXTYPE(RTGCPTR, RTHCPTR, RTGCPTR) pvSrc, RTGCPHYS GCPhysSrc, size_t cb)
    267267{
    268 #ifdef IN_RC
    269     int rc = MMGCRamRead(pVM, (RTRCPTR)((RTRCUINTPTR)pvDst & ~(cb - 1)), (RTRCPTR)pvSrc, cb);
    270     if (RT_FAILURE(rc))
    271         rc = PGMPhysSimpleReadGCPhys(pVM, pvDst, GCPhysSrc & ~(RTGCPHYS)(cb - 1), cb);
    272     return rc;
    273 #elif defined(IN_RING3)
     268#if defined(IN_RING3)
    274269    memcpy(pvDst, (RTHCPTR)((uintptr_t)pvSrc & ~(RTHCUINTPTR)(cb - 1)), cb);
    275270    return VINF_SUCCESS;
     
    299294    const unsigned cbWrite = (pCpu) ? pgmPoolDisasWriteSize(pCpu) : 0;
    300295
    301     LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp kind=%d cbWrite=%d\n", pvAddress, GCPhysFault, pPage->enmKind, cbWrite));
    302 
     296    LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp kind=%s cbWrite=%d\n", pvAddress, GCPhysFault, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite));
    303297    for (;;)
    304298    {
    305         union
     299       union
    306300        {
    307301            void       *pv;
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