- Timestamp:
- Aug 11, 2012 10:48:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r42777 r42780 53 53 //# define VBOX_COMPARE_IEM_AND_EM /* debugging... */ 54 54 //# define VBOX_SAME_AS_EM 55 //# define VBOX_COMPARE_IEM_ FIRST55 //# define VBOX_COMPARE_IEM_LAST 56 56 #endif 57 57 … … 104 104 static CPUMCTX g_IemCtx; 105 105 extern uint8_t g_abIemWrote[256]; 106 #if defined(VBOX_COMPARE_IEM_FIRST) || defined(VBOX_COMPARE_IEM_LAST) 106 107 extern size_t g_cbIemWrote; 108 #else 109 static size_t g_cbIemWrote; 110 #endif 107 111 #endif 108 112 … … 458 462 459 463 460 #if def VBOX_COMPARE_IEM_AND_EM464 #if defined(VBOX_COMPARE_IEM_FIRST) || defined(VBOX_COMPARE_IEM_LAST) 461 465 static void emCompareWithIem(PVMCPU pVCpu, PCCPUMCTX pEmCtx, PCCPUMCTX pIemCtx, 462 466 VBOXSTRICTRC rcEm, VBOXSTRICTRC rcIem, … … 690 694 691 695 # ifdef VBOX_COMPARE_IEM_FIRST 692 # error693 696 /* IEM */ 694 697 VBOXSTRICTRC rcIem = IEMExecOneBypassEx(pVCpu, pRegFrame, NULL); … … 736 739 737 740 # ifdef VBOX_COMPARE_IEM_LAST 738 # error739 741 /* IEM */ 740 742 pVCpu->fLocalForcedActions = (pVCpu->fLocalForcedActions & ~g_fInterestingFFs) | (g_fIncomingFFs & g_fInterestingFFs); … … 750 752 751 753 # if defined(VBOX_COMPARE_IEM_LAST) || defined(VBOX_COMPARE_IEM_FIRST) 752 # error753 754 emCompareWithIem(pVCpu, &g_EmCtx, &g_IemCtx, rcEm, rcIem, 0, 0); 754 755 # endif
Note:
See TracChangeset
for help on using the changeset viewer.