Changeset 12023 in vbox
- Timestamp:
- Sep 3, 2008 9:52:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r11897 r12023 1521 1521 } 1522 1522 #endif 1523 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=%VGv eip=%VGv cr2=% 08x\n", uTrap, uErrorCode, pvNextEIP, env->eip, env->cr[2]));1523 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=%VGv eip=%VGv cr2=%VGv\n", uTrap, uErrorCode, pvNextEIP, env->eip, env->cr[2])); 1524 1524 if( uTrap < 0x20 1525 1525 && (env->cr[0] & X86_CR0_PE) … … 1705 1705 pVM->rem.s.Env.fmask = pCtx->msrSFMASK; 1706 1706 pVM->rem.s.Env.kernelgsbase = pCtx->msrKERNELGSBASE; 1707 1708 /* Update the internal long mode activate flag according to the new EFER value. */ 1709 if (pCtx->msrEFER & MSR_K6_EFER_LMA) 1710 pVM->rem.s.Env.hflags |= HF_LMA_MASK; 1711 else 1712 pVM->rem.s.Env.hflags &= ~(HF_LMA_MASK | HF_CS64_MASK); 1707 1713 #endif 1708 1714 … … 1712 1718 */ 1713 1719 fFlags = CPUMGetAndClearChangedFlagsREM(pVM); 1720 LogFlow(("CPUMGetAndClearChangedFlagsREM %x\n", fFlags)); 1714 1721 if (fFlags & ( CPUM_CHANGED_CR4 | CPUM_CHANGED_CR3 | CPUM_CHANGED_CR0 1715 1722 | CPUM_CHANGED_GDTR | CPUM_CHANGED_IDTR | CPUM_CHANGED_LDTR | CPUM_CHANGED_TR … … 1726 1733 } 1727 1734 1735 /* CR4 before CR0! */ 1728 1736 if (fFlags & CPUM_CHANGED_CR4) 1729 1737 { … … 3484 3492 #ifdef USE_OLD_DUMP_AND_DISASSEMBLY 3485 3493 PVM pVM = env->pVM; 3494 3495 /* Doesn't work in long mode. */ 3496 if (env->hflags & HF_LMA_MASK) 3497 return false; 3486 3498 3487 3499 /*
Note:
See TracChangeset
for help on using the changeset viewer.