VirtualBox

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


Ignore:
Timestamp:
Nov 29, 2008 11:22:01 PM (16 years ago)
Author:
vboxsync
Message:

PGMAllPool: RTLogPrintf exist in ring-0 now.

File:
1 edited

Legend:

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

    r14754 r14809  
    24792479                        return;
    24802480                }
    2481 #if defined(DEBUG) && !defined(IN_RING0) ///@todo RTLogPrintf is missing in R0.
     2481#ifdef LOG_ENABLED
    24822482            RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
    24832483            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
     
    25092509                        return;
    25102510                }
    2511 #if defined(DEBUG) && !defined(IN_RING0) ///@todo RTLogPrintf is missing in R0.
     2511#ifdef LOG_ENABLED
    25122512            RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
    25132513            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
     
    25182518                }
    25192519#endif
    2520             AssertFatalMsgFailed(("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent));
     2520            AssertFatalMsgFailed(("cRefs=%d iFirstPresent=%d cPresent=%d u64=%RX64\n", cRefs, pPage->iFirstPresent, pPage->cPresent, u64));
    25212521            break;
    25222522        }
     
    25352535                        return;
    25362536                }
    2537 #if defined(DEBUG) && !defined(IN_RING0) ///@todo RTLogPrintf is missing in R0.
     2537#ifdef LOG_ENABLED
    25382538            RTLogPrintf("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent);
    25392539            for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++)
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