Changeset 2894 in vbox
- Timestamp:
- May 28, 2007 1:03:55 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21562
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r2893 r2894 725 725 #ifdef LOG_ENABLED 726 726 PCPUMCTX pCtx = pVM->em.s.pCtx; 727 uint32_t cpl = CPUMGetGuestCPL(pVM, CPUMCTX2CORE(pCtx)); 728 727 729 if (pCtx->eflags.Bits.u1VM) 728 730 Log(("EMV86: %04X:%08X IF=%d\n", pCtx->cs, pCtx->eip, pCtx->eflags.Bits.u1IF)); 729 else if ((pCtx->ss & X86_SEL_RPL) == 0) 730 Log(("EMR0: %08X ESP=%08X IF=%d CPL=%d\n", pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF, (pCtx->ss & X86_SEL_RPL))); 731 else if ((pCtx->ss & X86_SEL_RPL) == 3) 732 Log(("EMR3: %08X ESP=%08X IF=%d\n", pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF)); 731 else 732 Log(("EMR%d: %08X ESP=%08X IF=%d CR0=%x\n", cpl, pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF, pCtx->cr0)); 733 733 #endif 734 734 STAM_PROFILE_ADV_START(&pVM->em.s.StatREMTotal, a); … … 2659 2659 * Log important stuff before entering GC. 2660 2660 */ 2661 uint32_t cpl = CPUMGetGuestCPL(pVM, CPUMCTX2CORE(pCtx)); 2662 2661 2663 if (pCtx->eflags.Bits.u1VM) 2662 2664 Log(("HWV86: %08X IF=%d\n", pCtx->eip, pCtx->eflags.Bits.u1IF)); 2663 else if ((pCtx->ss & X86_SEL_RPL) == 0) 2664 Log(("HWR0: %08X ESP=%08X IF=%d CPL=%d CR0=%x\n", pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF, CPUMGetGuestCPL(pVM, CPUMCTX2CORE(pCtx)), pCtx->cr0)); 2665 else if ((pCtx->ss & X86_SEL_RPL) == 3) 2666 Log(("HWR3: %08X ESP=%08X IF=%d\n", pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF)); 2665 else 2666 Log(("HWR%d: %08X ESP=%08X IF=%d CR0=%x\n", cpl, pCtx->eip, pCtx->esp, pCtx->eflags.Bits.u1IF, pCtx->cr0)); 2667 2667 #endif 2668 2668
Note:
See TracChangeset
for help on using the changeset viewer.