Changeset 56607 in vbox for trunk/src/VBox
- Timestamp:
- Jun 23, 2015 4:33:36 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r56284 r56607 35 35 ifdef VBOX_WITH_2ND_IEM_STEP 36 36 VMM_COMMON_DEFS += VBOX_WITH_2ND_IEM_STEP 37 endif 38 ifdef VBOX_WITH_3RD_IEM_STEP 39 VMM_COMMON_DEFS += VBOX_WITH_3RD_IEM_STEP 37 40 endif 38 41 #ifdef VBOX_WITH_IEM -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r56417 r56607 45 45 #include <iprt/asm.h> 46 46 #include <iprt/string.h> 47 48 /******************************************************************************* 49 * Defined Constants And Macros * 50 *******************************************************************************/ 51 /** @def IEM_USE_IEM_INSTEAD 52 * Use IEM instead of IOM for interpreting MMIO accesses. 53 * Because of PATM/CSAM issues in raw-mode, we've split this up into 2nd and 3rd 54 * IEM deployment step. */ 55 #if ((defined(IN_RING3) || defined(IN_RING0)) && defined(VBOX_WITH_2ND_IEM_STEP)) \ 56 || defined(VBOX_WITH_3RD_IEM_STEP) 57 # define IEM_USE_IEM_INSTEAD 58 #endif 47 59 48 60 … … 720 732 721 733 722 #ifndef VBOX_WITH_2ND_IEM_STEP734 #ifndef IEM_USE_IEM_INSTEAD 723 735 724 736 /** … … 1647 1659 } 1648 1660 1649 #endif /* ! VBOX_WITH_2ND_IEM_STEP*/1661 #endif /* !IEM_USE_IEM_INSTEAD */ 1650 1662 1651 1663 /** … … 1737 1749 } 1738 1750 1739 #ifdef VBOX_WITH_2ND_IEM_STEP1751 #ifdef IEM_USE_IEM_INSTEAD 1740 1752 1741 1753 /* … … 1896 1908 iomMmioReleaseRange(pVM, pRange); 1897 1909 return rc; 1898 #endif /* ! VBOX_WITH_2ND_IEM_STEP*/1910 #endif /* !IEM_USE_IEM_INSTEAD */ 1899 1911 } 1900 1912 … … 2257 2269 2258 2270 #endif /* IN_RING3 - only used by REM. */ 2259 #ifndef VBOX_WITH_2ND_IEM_STEP2271 #ifndef IEM_USE_IEM_INSTEAD 2260 2272 2261 2273 /** … … 2579 2591 } 2580 2592 2581 #endif /* ! VBOX_WITH_2ND_IEM_STEP*/2593 #endif /* !IEM_USE_IEM_INSTEAD */ 2582 2594 2583 2595 -
trunk/src/VBox/VMM/VMMRC/IOMRC.cpp
r56287 r56607 43 43 44 44 45 #ifdef VBOX_WITH_ 2ND_IEM_STEP45 #ifdef VBOX_WITH_3RD_IEM_STEP 46 46 /** 47 47 * Converts disassembler mode to IEM mode. … … 200 200 static VBOXSTRICTRC iomRCInterpretINS(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu) 201 201 { 202 #ifdef VBOX_WITH_ 2ND_IEM_STEP202 #ifdef VBOX_WITH_3RD_IEM_STEP 203 203 uint8_t cbValue = pCpu->pCurInstr->uOpcode == OP_INSB ? 1 204 204 : pCpu->uOpMode == DISCPUMODE_16BIT ? 2 : 4; /* dword in both 32 & 64 bits mode */ … … 254 254 static VBOXSTRICTRC iomRCInterpretOUTS(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu) 255 255 { 256 #ifdef VBOX_WITH_ 2ND_IEM_STEP256 #ifdef VBOX_WITH_3RD_IEM_STEP 257 257 uint8_t cbValue = pCpu->pCurInstr->uOpcode == OP_OUTSB ? 1 258 258 : pCpu->uOpMode == DISCPUMODE_16BIT ? 2 : 4; /* dword in both 32 & 64 bits mode */
Note:
See TracChangeset
for help on using the changeset viewer.