VirtualBox

Changeset 1223 in vbox for trunk


Ignore:
Timestamp:
Mar 5, 2007 3:28:59 PM (18 years ago)
Author:
vboxsync
Message:

Compile fix

Location:
trunk/src/VBox/VMM/VMMR0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm

    r682 r1223  
    624624    MYPUSHAD
    625625
    626     ; /* Clear fs and gs as a safety precaution. Maybe not necessary. */
    627     push    fs
    628     push    gs
    629     xor     eax, eax
    630     mov     fs, eax
    631     mov     gs, eax
    632 
    633626    ;/* Save the Guest CPU context pointer. */
    634627    mov     xSI, [xBP + xS*2 + RTHCPHYS_CB*2]   ; pCtx
     
    687680    mov     [ss:xAX + CPUMCTX.ebp], ebp
    688681
    689     ; Restore fs & gs
    690     pop     gs
    691     pop     fs
    692 
    693682    ; Restore general purpose registers
    694683    MYPOPAD
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r1214 r1223  
    804804        VM_FF_CLEAR(pVM, VM_FF_INHIBIT_INTERRUPTS);
    805805
    806     Log2(("exitCode = %x\n", exitCode));
     806    Log(("exitCode = %x\n", exitCode));
    807807
    808808    /* Check if an injected event was interrupted prematurely. */
     
    12481248            if (IoExitInfo.n.u1Type == 0)
    12491249            {
    1250                 Log2(("IOMIOPortWrite %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize));
     1250                Log(("IOMIOPortWrite %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize));
    12511251                STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitIOWrite);
    12521252                rc = IOMIOPortWrite(pVM, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize);
     
    12621262                    /* Write back to the EAX register. */
    12631263                    pCtx->eax = (pCtx->eax & ~uAndVal) | (u32Val & uAndVal);
    1264                     Log2(("IOMIOPortRead %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, u32Val & uAndVal, uIOSize));
     1264                    Log(("IOMIOPortRead %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, u32Val & uAndVal, uIOSize));
    12651265                }
    12661266            }
     
    12771277        else
    12781278            rc = VINF_IOM_HC_IOPORT_READWRITE;
     1279
     1280        Log(("Failed IO at %VGv %x size %d\n", pCtx->eip, IoExitInfo.n.u16Port, uIOSize));
    12791281
    12801282        break;
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r1222 r1223  
    6161
    6262
    63 //#define DEBUG_NO_RING0_ASSERTIONS
     63#define DEBUG_NO_RING0_ASSERTIONS
    6464#ifdef DEBUG_NO_RING0_ASSERTIONS
    6565static PVM g_pVMAssert = 0;
     
    708708}
    709709
     710void R0LogFlush()
     711{
     712    vmmR0LoggerFlush(RTLogDefaultInstance());
     713}
     714
    710715#ifdef DEBUG_NO_RING0_ASSERTIONS
    711716/**
     
    735740DECLEXPORT(void) RTCALL AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
    736741{
    737     Log(("\n!!Assertion Failed!!\n"
     742    Log(("\n!!R0-Assertion Failed!!\n"
    738743         "Expression: %s\n"
    739744         "Location  : %s(%d) %s\n",
     
    746751    if (pLog)
    747752    {
     753        va_list args;
     754
    748755        va_start(args, pszFormat);
    749756        RTLogRelPrintfV(pszFormat, args);
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