VirtualBox

Changeset 19734 in vbox


Ignore:
Timestamp:
May 15, 2009 12:37:11 PM (16 years ago)
Author:
vboxsync
Message:

Must export vmmR0LoggerFlush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r19732 r19734  
    11481148}
    11491149
    1150 #ifdef LOG_ENABLED
    11511150/**
    11521151 * Internal R0 logger worker: Flush logger.
     
    11571156VMMR0DECL(void) vmmR0LoggerFlush(PRTLOGGER pLogger)
    11581157{
     1158#ifdef LOG_ENABLED
    11591159    /*
    11601160     * Convert the pLogger into a VM handle and 'call' back to Ring-3.
     
    11661166        ||  pLogger->u32Magic != RTLOGGER_MAGIC)
    11671167    {
    1168 #ifdef DEBUG
     1168# ifdef DEBUG
    11691169        SUPR0Printf("vmmR0LoggerFlush: pLogger=%p!\n", pLogger);
    1170 #endif
     1170# endif
    11711171        return;
    11721172    }
     
    11781178        ||  pVM->pVMR0 != pVM)
    11791179    {
    1180 #ifdef DEBUG
     1180# ifdef DEBUG
    11811181        SUPR0Printf("vmmR0LoggerFlush: pVM=%p! pVMR0=%p! pLogger=%p\n", pVM, pVM->pVMR0, pLogger);
    1182 #endif
     1182# endif
    11831183        return;
    11841184    }
     
    11891189     * Check that the jump buffer is armed.
    11901190     */
    1191 #ifdef RT_ARCH_X86
     1191# ifdef RT_ARCH_X86
    11921192    if (    !pVCpu->vmm.s.CallHostR0JmpBuf.eip
    11931193        ||  pVCpu->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    1194 #else
     1194# else
    11951195    if (    !pVCpu->vmm.s.CallHostR0JmpBuf.rip
    11961196        ||  pVCpu->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    1197 #endif
    1198     {
    1199 #ifdef DEBUG
     1197# endif
     1198    {
     1199# ifdef DEBUG
    12001200        SUPR0Printf("vmmR0LoggerFlush: Jump buffer isn't armed!\n");
    1201 #endif
     1201# endif
    12021202        return;
    12031203    }
    12041204    VMMR0CallHost(pVM, VMMCALLHOST_VMM_LOGGER_FLUSH, 0);
    1205 }
    1206 #endif
     1205#endif
     1206}
    12071207
    12081208#ifdef LOG_ENABLED
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