- Timestamp:
- Mar 5, 2007 3:28:59 PM (18 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm
r682 r1223 624 624 MYPUSHAD 625 625 626 ; /* Clear fs and gs as a safety precaution. Maybe not necessary. */627 push fs628 push gs629 xor eax, eax630 mov fs, eax631 mov gs, eax632 633 626 ;/* Save the Guest CPU context pointer. */ 634 627 mov xSI, [xBP + xS*2 + RTHCPHYS_CB*2] ; pCtx … … 687 680 mov [ss:xAX + CPUMCTX.ebp], ebp 688 681 689 ; Restore fs & gs690 pop gs691 pop fs692 693 682 ; Restore general purpose registers 694 683 MYPOPAD -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r1214 r1223 804 804 VM_FF_CLEAR(pVM, VM_FF_INHIBIT_INTERRUPTS); 805 805 806 Log 2(("exitCode = %x\n", exitCode));806 Log(("exitCode = %x\n", exitCode)); 807 807 808 808 /* Check if an injected event was interrupted prematurely. */ … … 1248 1248 if (IoExitInfo.n.u1Type == 0) 1249 1249 { 1250 Log 2(("IOMIOPortWrite %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize));1250 Log(("IOMIOPortWrite %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize)); 1251 1251 STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitIOWrite); 1252 1252 rc = IOMIOPortWrite(pVM, IoExitInfo.n.u16Port, pCtx->eax & uAndVal, uIOSize); … … 1262 1262 /* Write back to the EAX register. */ 1263 1263 pCtx->eax = (pCtx->eax & ~uAndVal) | (u32Val & uAndVal); 1264 Log 2(("IOMIOPortRead %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, u32Val & uAndVal, uIOSize));1264 Log(("IOMIOPortRead %VGv %x %x size=%d\n", pCtx->eip, IoExitInfo.n.u16Port, u32Val & uAndVal, uIOSize)); 1265 1265 } 1266 1266 } … … 1277 1277 else 1278 1278 rc = VINF_IOM_HC_IOPORT_READWRITE; 1279 1280 Log(("Failed IO at %VGv %x size %d\n", pCtx->eip, IoExitInfo.n.u16Port, uIOSize)); 1279 1281 1280 1282 break; -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r1222 r1223 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; … … 708 708 } 709 709 710 void R0LogFlush() 711 { 712 vmmR0LoggerFlush(RTLogDefaultInstance()); 713 } 714 710 715 #ifdef DEBUG_NO_RING0_ASSERTIONS 711 716 /** … … 735 740 DECLEXPORT(void) RTCALL AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 736 741 { 737 Log(("\n!! Assertion Failed!!\n"742 Log(("\n!!R0-Assertion Failed!!\n" 738 743 "Expression: %s\n" 739 744 "Location : %s(%d) %s\n", … … 746 751 if (pLog) 747 752 { 753 va_list args; 754 748 755 va_start(args, pszFormat); 749 756 RTLogRelPrintfV(pszFormat, args);
Note:
See TracChangeset
for help on using the changeset viewer.