Changeset 1792 in vbox
- Timestamp:
- Mar 29, 2007 11:47:32 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19970
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 8 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 -
trunk/src/VBox/VMM/SELM.cpp
r1645 r1792 1520 1520 1521 1521 /** @todo not sure how the partial case is handled; probably not allowed */ 1522 if (offRedirBitmap + sizeof(tss.IntRedirBitmap) <= cbTss)1522 if (offRedirBitmap + sizeof(tss.IntRedirBitmap) <= pVM->selm.s.cbGuestTss) 1523 1523 { 1524 1524 rc = PGMPhysReadGCPtr(pVM, &pVM->selm.s.Tss.IntRedirBitmap, GCPtrTss + offRedirBitmap, sizeof(tss.IntRedirBitmap)); 1525 1525 AssertRC(rc); 1526 Log 2(("Redirection bitmap:\n"));1527 Log 2(("%.*Vhxd\n", sizeof(tss.IntRedirBitmap), &pVM->selm.s.Tss.IntRedirBitmap));1526 Log(("Redirection bitmap:\n")); 1527 Log(("%.*Vhxd\n", sizeof(tss.IntRedirBitmap), &pVM->selm.s.Tss.IntRedirBitmap)); 1528 1528 } 1529 1529 } -
trunk/src/VBox/VMM/TRPM.cpp
r1446 r1792 1178 1178 pVM->trpm.s.aGuestTrapHandler[iTrap] = pHandler; 1179 1179 1180 Log(("Setting trap handler % x to %08X (direct)\n", iTrap, pHandler));1180 Log(("Setting trap handler %d to %08X\n", iTrap, pHandler)); 1181 1181 return VINF_SUCCESS; 1182 1182 } … … 1193 1193 * Save handler which can be used for a trampoline call inside the GC 1194 1194 */ 1195 Log(("Setting trap handler % xto %08X\n", iTrap, pHandler));1195 Log(("Setting trap handler %d to %08X\n", iTrap, pHandler)); 1196 1196 pVM->trpm.s.aGuestTrapHandler[iTrap] = pHandler; 1197 1197 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r1359 r1792 255 255 #else 256 256 int rc2 = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys); 257 AssertRC(rc2); 257 258 #endif 258 259 if (rc2 != VINF_SUCCESS) -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r1773 r1792 1324 1324 1325 1325 #ifdef VBOX_STRICT 1326 case X86_XCPT_UD: /* Unknown opcode exception. */ 1326 1327 case X86_XCPT_GP: /* General protection failure exception.*/ 1327 case X86_XCPT_UD: /* Unknown opcode exception. */1328 1328 case X86_XCPT_DE: /* Debug exception. */ 1329 1329 case X86_XCPT_SS: /* Stack segment exception. */ … … 1349 1349 } 1350 1350 1351 Log(("Trap %x at % VGv\n", vector, pCtx->eip));1351 Log(("Trap %x at %04x:%VGv\n", vector, pCtx->cs, pCtx->eip)); 1352 1352 rc = VMXR0InjectEvent(pVM, pCtx, VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(intInfo), cbInstr, errCode); 1353 1353 AssertRC(rc); -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r1645 r1792 61 61 62 62 63 //#define DEBUG_NO_RING0_ASSERTIONS63 #define DEBUG_NO_RING0_ASSERTIONS 64 64 #ifdef DEBUG_NO_RING0_ASSERTIONS 65 65 static PVM g_pVMAssert = 0; … … 171 171 LogCom(("VMMR0Init: after %p dereg2\n", RTLogDefaultInstance())); 172 172 173 RTLogLoggerEx(&pR0Logger->Logger, 0, ~0U, "hello ring-0 logger (RTLogLoggerEx)\n");174 173 LogCom(("VMMR0Init: RTLogLoggerEx returned fine offScratch=%d\n", pR0Logger->Logger.offScratch)); 175 174 #endif
Note:
See TracChangeset
for help on using the changeset viewer.