Changeset 36812 in vbox
- Timestamp:
- Apr 22, 2011 12:31:21 PM (14 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r36798 r36812 45 45 * Header Files * 46 46 *******************************************************************************/ 47 //#define RT_STRICT 47 #define RT_STRICT 48 #define LOG_ENABLED 48 49 #define LOG_GROUP LOG_GROUP_EM /** @todo add log group */ 49 50 #include <VBox/vmm/iem.h> … … 191 192 /** Temporary hack to disable the double execution. Will be removed in favor 192 193 * of a dedicated execution mode in EM. */ 193 //#define IEM_VERIFICATION_MODE_NO_REM194 #define IEM_VERIFICATION_MODE_NO_REM 194 195 195 196 /** Used to shut up GCC warnings about variables that 'may be used uninitialized' … … 5407 5408 EMSetInhibitInterruptsPC(IEMCPU_TO_VMCPU(pIemCpu), pCtx->rip); 5408 5409 return VINF_SUCCESS; 5410 } 5411 5412 5413 /** 5414 * Implements 'HLT'. 5415 */ 5416 IEM_CIMPL_DEF_0(iemCImpl_hlt) 5417 { 5418 if (pIemCpu->uCpl != 0) 5419 return iemRaiseGeneralProtectionFault0(pIemCpu); 5420 iemRegAddToRip(pIemCpu, cbInstr); 5421 return VINF_EM_HALT; 5409 5422 } 5410 5423 … … 6756 6769 iemExecVerificationModeSetup(pIemCpu); 6757 6770 #endif 6758 #ifdef DEBUG6771 #ifdef LOG_ENABLED 6759 6772 PCPUMCTX pCtx = pIemCpu->CTX_SUFF(pCtx); 6760 6773 char szInstr[256]; -
trunk/src/VBox/VMM/VMMAll/IEMAllInstructions.cpp.h
r36795 r36812 7385 7385 7386 7386 /** Opcode 0xf4. */ 7387 FNIEMOP_STUB(iemOp_hlt); 7387 FNIEMOP_DEF(iemOp_hlt) 7388 { 7389 IEMOP_HLP_NO_LOCK_PREFIX(); 7390 return IEM_MC_DEFER_TO_CIMPL_0(iemCImpl_hlt); 7391 } 7392 7393 7388 7394 /** Opcode 0xf5. */ 7389 7395 FNIEMOP_STUB(iemOp_cmc);
Note:
See TracChangeset
for help on using the changeset viewer.