Changeset 1792 in vbox for trunk/src/VBox/VMM/PATM
- Timestamp:
- Mar 29, 2007 11:47:32 AM (18 years ago)
- Location:
- trunk/src/VBox/VMM/PATM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r1625 r1792 4480 4480 /* Increase by instruction size. */ 4481 4481 uint32_t size = patmGetInstrSize(pVM, pPatch, pPatchPage->pHighestAddrGC); 4482 Assert(size);4482 //// Assert(size); 4483 4483 pPatchPage->pHighestAddrGC += size; 4484 4484 } -
trunk/src/VBox/VMM/PATM/PATMA.asm
r1595 r1792 41 41 ; Noisy, but useful for debugging certain problems 42 42 ;;;%define PATM_LOG_PATCHINSTR 43 ;;%define PATM_LOG_PATCHIRET43 %define PATM_LOG_PATCHIRET 44 44 %endif 45 45 -
trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp
r1438 r1792 107 107 #ifdef LOG_ENABLED 108 108 if (pPatchPage) 109 Log (("PATMIsWriteToPatchPage: Found page %VGv for write to %VGv %d bytes\n", pPatchPage->Core.Key, GCPtr, cbWrite));109 Log2(("PATMIsWriteToPatchPage: Found page %VGv for write to %VGv %d bytes\n", pPatchPage->Core.Key, GCPtr, cbWrite)); 110 110 #endif 111 111 … … 296 296 /* We are no longer executing PATM code; set PIF again. */ 297 297 pVM->patm.s.CTXSUFF(pGCState)->fPIF = 1; 298 299 #ifndef VBOX_RAW_V86 300 return VINF_EM_RESCHEDULE; 301 #else 298 302 CPUMGCCallV86Code(pRegFrame); 303 #endif 299 304 /* does not return */ 300 305 } … … 407 412 Log(("PATMGC: GATE->VM stack frame: DS=%04X ES=%04X FS=%04X GS=%04X\n", selDS, selES, selFS, selGS)); 408 413 } 414 if (eip == 0x690) 415 { 416 pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE; 417 return VINF_EM_RESCHEDULE; 418 } 409 419 } 410 420 else
Note:
See TracChangeset
for help on using the changeset viewer.