VirtualBox

Changeset 13821 in vbox for trunk


Ignore:
Timestamp:
Nov 5, 2008 1:07:25 AM (16 years ago)
Author:
vboxsync
Message:

VMM: %VR* inspection

Location:
trunk/src/VBox/VMM
Files:
5 edited

Legend:

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

    r13820 r13821  
    12131213    if (PATMIsPatchGCAddr(pVM, pCtx->eip))
    12141214    {
    1215         Log(("emR3RawExecuteInstruction: In patch block. eip=%VRv\n", pCtx->eip));
     1215        Log(("emR3RawExecuteInstruction: In patch block. eip=%VRv\n", (RTRCPTR)pCtx->eip));
    12161216
    12171217        RTGCPTR pNewEip;
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r13820 r13821  
    15971597    int rc = PGM_BTH_PFN(SyncCR3, pVM)(pVM, cr0, cr3, cr4, fGlobal);
    15981598    STAM_PROFILE_STOP(&pVM->pgm.s.CTX_MID_Z(Stat,SyncCR3), a);
    1599     AssertMsg(rc == VINF_SUCCESS || rc == VINF_PGM_SYNC_CR3 || RT_FAILURE(rc), ("rc=%VRc\n", rc));
     1599    AssertMsg(rc == VINF_SUCCESS || rc == VINF_PGM_SYNC_CR3 || RT_FAILURE(rc), ("rc=%Rrc\n", rc));
    16001600    if (rc == VINF_SUCCESS)
    16011601    {
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r13820 r13821  
    372372        Log(("TRPMForwardTrap-VM: eip=%04X:%04X iGate=%d\n", pRegFrame->cs, pRegFrame->eip, iGate));
    373373    else
    374         Log(("TRPMForwardTrap: eip=%04X:%VRv iGate=%d\n", pRegFrame->cs, pRegFrame->eip, iGate));
     374        Log(("TRPMForwardTrap: eip=%04X:%08X iGate=%d\n", pRegFrame->cs, pRegFrame->eip, iGate));
    375375
    376376    switch (iGate) {
     
    557557                       )
    558558                    {
    559                         Log(("Invalid ring 0 stack %04X:%VRv\n", ss_r0, esp_r0));
     559                        Log(("Invalid ring 0 stack %04X:%08RX32\n", ss_r0, esp_r0));
    560560                        goto failure;
    561561                    }
     
    570570                        ||  SELMToFlatBySelEx(pVM, fakeflags, ss_r0, (RTGCPTR)esp_r0, NULL, SELMTOFLAT_FLAGS_CPL1, (PRTGCPTR)&pTrapStackGC, NULL) != VINF_SUCCESS)
    571571                    {
    572                         AssertMsgFailed(("Invalid stack %04X:%VRv??? (VM=%d)\n", ss_r0, esp_r0, eflags.Bits.u1VM));
     572                        AssertMsgFailed(("Invalid stack %04X:%08RX32??? (VM=%d)\n", ss_r0, esp_r0, eflags.Bits.u1VM));
    573573                        goto failure;
    574574                    }
     
    657657                    eflags.u32 &= ~(X86_EFL_TF | X86_EFL_VM | X86_EFL_RF | X86_EFL_NT);
    658658#ifdef DEBUG
    659                     for (int j=idx;j<0;j++)
     659                    for (int j = idx; j < 0; j++)
    660660                        Log4(("Stack %VRv pos %02d: %08x\n", &pTrapStack[j], j, pTrapStack[j]));
    661661
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r13818 r13821  
    155155        {
    156156            uint64_t cTicks = TMTimerPoll(pVM); NOREF(cTicks);
    157             Log2(("TMTimerPoll at %VRv returned %RX64 (VM_FF_TIMER=%d)\n", pRegFrame->eip, cTicks, VM_FF_ISPENDING(pVM, VM_FF_TIMER)));
     157            Log2(("TMTimerPoll at %08RX32 returned %RX64 (VM_FF_TIMER=%d)\n", pRegFrame->eip, cTicks, VM_FF_ISPENDING(pVM, VM_FF_TIMER)));
    158158        }
    159159    }
     
    165165    if (VM_FF_ISSET(pVM, VM_FF_INHIBIT_INTERRUPTS))
    166166    {
    167         Log2(("VM_FF_INHIBIT_INTERRUPTS at %VRv successor %VGv\n", pRegFrame->eip, EMGetInhibitInterruptsPC(pVM)));
     167        Log2(("VM_FF_INHIBIT_INTERRUPTS at %08RX32 successor %VGv\n", pRegFrame->eip, EMGetInhibitInterruptsPC(pVM)));
    168168        if (pRegFrame->eip != EMGetInhibitInterruptsPC(pVM))
    169169        {
     
    235235              ||   (   pRegFrame->eflags.Bits.u1IF
    236236                    && ( pRegFrame->eflags.Bits.u2IOPL < (unsigned)(pRegFrame->ss & X86_SEL_RPL) || pRegFrame->eflags.Bits.u1VM))
    237               , ("rc = %VRv\neflags=%RX32 ss=%RTsel IOPL=%d\n", rc, pRegFrame->eflags.u32, pRegFrame->ss, pRegFrame->eflags.Bits.u2IOPL));
     237              , ("rc=%Rrc\neflags=%RX32 ss=%RTsel IOPL=%d\n", rc, pRegFrame->eflags.u32, pRegFrame->ss, pRegFrame->eflags.Bits.u2IOPL));
    238238    return rc;
    239239}
     
    350350    int rc;
    351351
    352     LogFlow(("TRPMGCTrap06Handler %VRv eflags=%x\n", pRegFrame->eip, pRegFrame->eflags.u32));
     352    LogFlow(("TRPMGCTrap06Handler %08RX32 eflags=%x\n", pRegFrame->eip, pRegFrame->eflags.u32));
    353353
    354354    if (CPUMGetGuestCPL(pVM, pRegFrame) == 0)
     
    440440    PVM pVM = TRPM2VM(pTrpm);
    441441
    442     LogFlow(("TRPMTrap07HandlerGC: eip=%VRv\n", pRegFrame->eip));
     442    LogFlow(("TRPMTrap07HandlerGC: eip=%08RX32\n", pRegFrame->eip));
    443443    return CPUMHandleLazyFPU(pVM);
    444444}
     
    458458DECLASM(int) TRPMGCTrap0bHandler(PTRPM pTrpm, PCPUMCTXCORE pRegFrame)
    459459{
    460     LogFlow(("TRPMGCTrap0bHandler: eip=%VRv\n", pRegFrame->eip));
     460    LogFlow(("TRPMGCTrap0bHandler: eip=%08RX32\n", pRegFrame->eip));
    461461    PVM pVM = TRPM2VM(pTrpm);
    462462
     
    773773static int trpmGCTrap0dHandler(PVM pVM, PTRPM pTrpm, PCPUMCTXCORE pRegFrame)
    774774{
    775     LogFlow(("trpmGCTrap0dHandler: cs:eip=%RTsel:%VRv uErr=%VGv\n", pRegFrame->ss, pRegFrame->eip, pTrpm->uActiveErrorCode));
     775    LogFlow(("trpmGCTrap0dHandler: cs:eip=%RTsel:%08RX32 uErr=%VGv\n", pRegFrame->ss, pRegFrame->eip, pTrpm->uActiveErrorCode));
    776776
    777777    /*
  • trunk/src/VBox/VMM/VMMSwitcher.cpp

    r13820 r13821  
    183183            pVM->vmm.s.pvCoreCodeRC = GCPtr;
    184184            MMR3HyperReserve(pVM, PAGE_SIZE, "fence", NULL);
    185             LogRel(("CoreCode: R3=%RHv R0=%RHv GC=%VRv Phys=%RHp cb=%#x\n",
     185            LogRel(("CoreCode: R3=%RHv R0=%RHv RC=%VRv Phys=%RHp cb=%#x\n",
    186186                    pVM->vmm.s.pvCoreCodeR3, pVM->vmm.s.pvCoreCodeR0, pVM->vmm.s.pvCoreCodeRC, pVM->vmm.s.HCPhysCoreCode, pVM->vmm.s.cbCoreCode));
    187187
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