VirtualBox

Changeset 9541 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Jun 9, 2008 12:36:01 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31822
Message:

Loggign changes

Location:
trunk/src/recompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r9486 r9541  
    14381438
    14391439    /*
    1440      * Update the control registers before calling PGMR3ChangeMode()
     1440     * Update the control registers before calling PGMChangeMode()
    14411441     * as it may need to map whatever cr3 is pointing to.
    14421442     */
     
    14491449    rc = PGMChangeMode(pVM, env->cr[0], env->cr[4], env->efer);
    14501450    if (rc != VINF_SUCCESS)
    1451         cpu_abort(env, "PGMChangeMode(, %08x, %08x, %016llx) -> %Vrc\n", env->cr[0], env->cr[4], env->efer, rc);
     1451        cpu_abort(env, "PGMChangeMode(, %RX64, %RX64, %RX64) -> %Vrc\n", env->cr[0], env->cr[4], env->efer, rc);
    14521452#else
    14531453    rc = PGMChangeMode(pVM, env->cr[0], env->cr[4], 0);
    14541454    if (rc != VINF_SUCCESS)
    1455         cpu_abort(env, "PGMChangeMode(, %08x, %08x, %016llx) -> %Vrc\n", env->cr[0], env->cr[4], 0LL, rc);
     1455        cpu_abort(env, "PGMChangeMode(, %RX64, %RX64, %RX64) -> %Vrc\n", env->cr[0], env->cr[4], 0LL, rc);
    14561456#endif
    14571457}
     
    27052705    PVM pVM = cpu_single_env->pVM;
    27062706
    2707     Log(("remR3GrowDynRange %VGp\n", physaddr));
     2707    LogFlow(("remR3GrowDynRange %VGp\n", physaddr));
    27082708    const RTGCPHYS GCPhys = physaddr;
    27092709    rc = PGM3PhysGrowRange(pVM, &GCPhys);
  • trunk/src/recompiler/cpu-exec.c

    r6546 r9541  
    488488                    if(!(env->state & CPU_EMULATE_SINGLE_STEP))
    489489                    {
    490                         Log(("EMR0: %08X ESP=%08X IF=%d TF=%d CPL=%d\n", env->eip, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3));
     490                        Log(("EMR0: %VGv ESP=%VGv IF=%d TF=%d CPL=%d\n", env->eip, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3));
    491491                    }
    492492                }
     
    502502                        else
    503503                        {
    504                             Log(("EMR3: %08X ESP=%08X IF=%d TF=%d CPL=%d IOPL=%d CR0=%08X\n", env->eip, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3, ((env->eflags >> IOPL_SHIFT) & 3), env->cr[0]));
     504                            Log(("EMR3: %VGv ESP=%VGv IF=%d TF=%d CPL=%d IOPL=%d CR0=%08X\n", env->eip, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3, ((env->eflags >> IOPL_SHIFT) & 3), env->cr[0]));
    505505                        }
    506506                    }
     
    508508                else
    509509                {
    510                     Log(("EMRM: %04X:%08X SS:ESP=%04X:%08X IF=%d TF=%d CPL=%d PE=%d PG=%d\n", env->segs[R_CS].selector, env->eip, env->segs[R_SS].selector, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3, env->cr[0] & X86_CR0_PE, env->cr[0] & X86_CR0_PG));
     510                    /* Seriously slows down realmode booting. */
     511                    LogFlow(("EMRM: %04X:%08X SS:ESP=%04X:%08X IF=%d TF=%d CPL=%d PE=%d PG=%d\n", env->segs[R_CS].selector, env->eip, env->segs[R_SS].selector, ESP, (env->eflags & IF_MASK) ? 1 : 0, (env->eflags & TF_MASK) ? 1 : 0, (env->hflags >> HF_CPL_SHIFT) & 3, env->cr[0] & X86_CR0_PE, env->cr[0] & X86_CR0_PG));
    511512                }
    512513#endif /* !DEBUG_bird */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette