Changeset 4284 in vbox
- Timestamp:
- Aug 22, 2007 2:18:05 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r4071 r4284 320 320 RTSEL sel; 321 321 CPUMSELREGHID *pSelHidReg; 322 322 323 323 prefix_seg = DISDetectSegReg(pCpu, pParam); 324 324 rc = DISFetchRegSegEx(pRegFrame, prefix_seg, &sel, &pSelHidReg); 325 if ( RT_UNLIKELY(VBOX_FAILURE(rc)))325 if (VBOX_FAILURE(rc)) 326 326 return pvAddr; 327 327 … … 582 582 583 583 pParam1 = emConvertToFlatAddr(pVM, pRegFrame, pCpu, &pCpu->param1, pParam1); 584 584 585 585 #ifdef IN_GC 586 586 /* Safety check (in theory it could cross a page boundary and fault there though) */ … … 1173 1173 pRegFrame->eip = eip & 0xffff; 1174 1174 pRegFrame->cs = cs; 1175 1175 1176 1176 /* Mask away all reserved bits */ 1177 1177 uMask = X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_TF | X86_EFL_IF | X86_EFL_DF | X86_EFL_OF | X86_EFL_IOPL | X86_EFL_NT | X86_EFL_RF | X86_EFL_VM | X86_EFL_AC | X86_EFL_VIF | X86_EFL_VIP | X86_EFL_ID; … … 1748 1748 #ifdef IN_GC 1749 1749 if ( (pCpu->prefix & (PREFIX_REPNE | PREFIX_REP)) 1750 || ( (pCpu->prefix & PREFIX_LOCK) 1750 || ( (pCpu->prefix & PREFIX_LOCK) 1751 1751 && (pCpu->pCurInstr->opcode != OP_CMPXCHG) 1752 1752 ) -
trunk/src/VBox/VMM/VMMAll/EMAllA.asm
r4071 r4284 6 6 ; 7 7 ; Copyright (C) 2006-2007 innotek GmbH 8 ; 8 ; 9 9 ; This file is part of VirtualBox Open Source Edition (OSE), as 10 10 ; available from http://www.virtualbox.org. This file is free software;
Note:
See TracChangeset
for help on using the changeset viewer.