VirtualBox

Changeset 20489 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 12, 2009 9:14:29 AM (16 years ago)
Author:
vboxsync
Message:

Corrected RTLogPrintf statements and removed weird LOG_ENABLED only code

File:
1 edited

Legend:

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

    r20487 r20489  
    25442544                }
    25452545#ifdef LOG_ENABLED
    2546             RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
     2546            Log(("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent));
    25472547            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
    25482548                if ((pPT->a[i].u & (X86_PTE_PG_MASK | X86_PTE_P)) == u32)
    25492549                {
    2550                     RTLogPrintf("i=%d cRefs=%d\n", i, cRefs--);
    2551                     pPT->a[i].u = 0;
     2550                    Log(("i=%d cRefs=%d\n", i, cRefs--));
    25522551                }
    25532552#endif
     
    25742573                }
    25752574#ifdef LOG_ENABLED
    2576             RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
     2575            Log(("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent));
    25772576            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
    25782577                if ((pPT->a[i].u & (X86_PTE_PAE_PG_MASK | X86_PTE_P)) == u64)
    25792578                {
    2580                     RTLogPrintf("i=%d cRefs=%d\n", i, cRefs--);
    2581                     pPT->a[i].u = 0;
     2579                    Log(("i=%d cRefs=%d\n", i, cRefs--));
    25822580                }
    25832581#endif
     
    26002598                }
    26012599#ifdef LOG_ENABLED
    2602             RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
     2600            Log(("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent));
    26032601            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
    26042602                if ((pPT->a[i].u & (EPT_PTE_PG_MASK | X86_PTE_P)) == u64)
    26052603                {
    2606                     RTLogPrintf("i=%d cRefs=%d\n", i, cRefs--);
    2607                     pPT->a[i].u = 0;
     2604                    Log(("i=%d cRefs=%d\n", i, cRefs--));
    26082605                }
    26092606#endif
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