Changeset 56985 in vbox for trunk/src/VBox
- Timestamp:
- Jul 18, 2015 10:11:47 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp
r56287 r56985 493 493 if ((uValue & 0xff) >= 7) 494 494 { 495 Log(("CPUM: Invalid MTRR default type value : %#llx (%#llx)\n", pRange->szName, uValue, uValue & 0xff));495 Log(("CPUM: Invalid MTRR default type value on %s: %#llx (%#llx)\n", pRange->szName, uValue, uValue & 0xff)); 496 496 return VERR_CPUM_RAISE_GP_0; 497 497 } … … 1411 1411 if (!X86_IS_CANONICAL(uValue)) 1412 1412 { 1413 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));1413 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 1414 1414 return VERR_CPUM_RAISE_GP_0; 1415 1415 } … … 1432 1432 if (!X86_IS_CANONICAL(uValue)) 1433 1433 { 1434 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));1434 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 1435 1435 return VERR_CPUM_RAISE_GP_0; 1436 1436 } … … 1803 1803 if (!X86_IS_CANONICAL(uValue)) 1804 1804 { 1805 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));1805 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 1806 1806 return VERR_CPUM_RAISE_GP_0; 1807 1807 } … … 1828 1828 if (!X86_IS_CANONICAL(uValue)) 1829 1829 { 1830 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));1830 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 1831 1831 return VERR_CPUM_RAISE_GP_0; 1832 1832 } … … 4267 4267 if (!X86_IS_CANONICAL(uValue)) 4268 4268 { 4269 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));4269 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 4270 4270 return VERR_CPUM_RAISE_GP_0; 4271 4271 } … … 4340 4340 if (!X86_IS_CANONICAL(uValue)) 4341 4341 { 4342 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));4342 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 4343 4343 return VERR_CPUM_RAISE_GP_0; 4344 4344 } … … 4396 4396 if (!X86_IS_CANONICAL(uValue)) 4397 4397 { 4398 Log(("CPUM: wrmsr %s(%#x), %#llx -> %#GP - not canonical\n", pRange->szName, idMsr, uValue));4398 Log(("CPUM: wrmsr %s(%#x), %#llx -> #GP - not canonical\n", pRange->szName, idMsr, uValue)); 4399 4399 return VERR_CPUM_RAISE_GP_0; 4400 4400 } -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r55312 r56985 1290 1290 if (pLeaf) 1291 1291 { 1292 AssertMsg(pLeaf->uLeaf == uLeaf, ("%#x \n", pLeaf->uLeaf, uLeaf));1292 AssertMsg(pLeaf->uLeaf == uLeaf, ("%#x %#x\n", pLeaf->uLeaf, uLeaf)); 1293 1293 if (fExactSubLeafHit) 1294 1294 { -
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r56287 r56985 1163 1163 AssertRCReturn(rc, VERR_EM_INTERPRETER); 1164 1164 Log(("emInterpretIret: return to different privilege level (rpl=%d cpl=%d)\n", rpl, cpl)); 1165 Log(("emInterpretIret: SS:ESP=%04 X:08X\n", ss, esp));1165 Log(("emInterpretIret: SS:ESP=%04x:%08x\n", ss, esp)); 1166 1166 pRegFrame->ss.Sel = ss; 1167 1167 pRegFrame->esp = esp; … … 3124 3124 } 3125 3125 3126 LogFlow(("%s %RGv=% 08x eax=%08x\n", emGetMnemonic(pDis), pvParam1, pRegFrame->eax));3126 LogFlow(("%s %RGv=%p eax=%08x\n", emGetMnemonic(pDis), GCPtrPar1, pvParam1, pRegFrame->eax)); 3127 3127 3128 3128 #ifndef VBOX_COMPARE_IEM_AND_EM … … 3137 3137 #endif /* VBOX_COMPARE_IEM_AND_EM */ 3138 3138 3139 LogFlow(("%s %RGv=% 08x eax=%08x ZF=%d\n", emGetMnemonic(pDis), pvParam1, pRegFrame->eax, !!(eflags & X86_EFL_ZF)));3139 LogFlow(("%s %RGv=%p eax=%08x ZF=%d\n", emGetMnemonic(pDis), GCPtrPar1, pvParam1, pRegFrame->eax, !!(eflags & X86_EFL_ZF))); 3140 3140 3141 3141 /* Update guest's eflags and finish; note that *only* ZF is affected. */ -
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r56634 r56985 1964 1964 if (!(NewSS & X86_SEL_MASK_OFF_RPL)) 1965 1965 { 1966 Log(("iemMiscValidateNewSSandRsp: #x - null selector -> #TS(0)\n", NewSS));1966 Log(("iemMiscValidateNewSSandRsp: %#x - null selector -> #TS(0)\n", NewSS)); 1967 1967 return iemRaiseTaskSwitchFault0(pIemCpu); 1968 1968 } … … 1987 1987 if (!pDesc->Legacy.Gen.u1DescType) 1988 1988 { 1989 Log(("iemMiscValidateNewSSandRsp: %#x - system selector -> #TS\n", NewSS, pDesc->Legacy.Gen.u4Type));1989 Log(("iemMiscValidateNewSSandRsp: %#x - system selector (%#x) -> #TS\n", NewSS, pDesc->Legacy.Gen.u4Type)); 1990 1990 return iemRaiseTaskSwitchFaultBySelector(pIemCpu, NewSS); 1991 1991 } -
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r56415 r56985 843 843 if ((u16 >> (Port & 7)) & ((1 << cb) - 1)) 844 844 { 845 Log(("iomInterpretCheckPortIOAccess: Port=%RTiop cb=%d u16=%#x -> #GP(0)\n",845 Log(("iomInterpretCheckPortIOAccess: Port=%RTiop cb=%d u16=%#x (offTss=%#x) -> #GP(0)\n", 846 846 Port, cb, u16, offTss)); 847 847 return TRPMRaiseXcptErr(pVCpu, pCtxCore, X86_XCPT_GP, 0); -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r56287 r56985 196 196 } uShw; 197 197 198 LogFlow(("pgmPoolMonitorChainChanging: page idx=%d phys=%RGp (next=%d) kind=%s\n", pPage->idx, pPage->GCPhys, pPage->iMonitoredNext, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite)); 198 LogFlow(("pgmPoolMonitorChainChanging: page idx=%d phys=%RGp (next=%d) kind=%s write=%#x\n", 199 pPage->idx, pPage->GCPhys, pPage->iMonitoredNext, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite)); 199 200 200 201 uShw.pv = NULL; … … 2967 2968 static int pgmPoolTrackAddUser(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable) 2968 2969 { 2969 Log3(("pgmPoolTrackAddUser: GCPhys=%RGp iUser=% %x iUserTable=%x\n", pPage->GCPhys, iUser, iUserTable));2970 Log3(("pgmPoolTrackAddUser: GCPhys=%RGp iUser=%x iUserTable=%x\n", pPage->GCPhys, iUser, iUserTable)); 2970 2971 PPGMPOOLUSER paUsers = pPool->CTX_SUFF(paUsers); 2971 2972 Assert(iUser != NIL_PGMPOOL_IDX); … … 3484 3485 3485 3486 STAM_PROFILE_START(&pPool->StatTrackFlushGCPhysPTs, f); 3486 Log2(("pgmPoolTrackFlushGCPhysPTs: pPhysPage=%RHp iPhysExt \n", PGM_PAGE_GET_HCPHYS(pPhysPage), iPhysExt));3487 Log2(("pgmPoolTrackFlushGCPhysPTs: pPhysPage=%RHp iPhysExt=%u\n", PGM_PAGE_GET_HCPHYS(pPhysPage), iPhysExt)); 3487 3488 3488 3489 const uint16_t iPhysExtStart = iPhysExt; -
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r56287 r56985 3240 3240 /** @todo R0 -> VM request */ 3241 3241 /* The chunk can be mapped by more than one VM if fBoundMemoryMode is false! */ 3242 Log(("gmmR0FreeChunk: chunk still has %d /%dmappings; don't free!\n", pChunk->cMappingsX));3242 Log(("gmmR0FreeChunk: chunk still has %d mappings; don't free!\n", pChunk->cMappingsX)); 3243 3243 gmmR0ChunkMutexRelease(&MtxState, pChunk); 3244 3244 return false; … … 4379 4379 struct VMMDEVSHAREDREGIONDESC const *paRegions, PGMMSHAREDMODULE *ppGblMod) 4380 4380 { 4381 Log(("gmmR0ShModNewGlobal: %s %s size %#x os %u rgn %u\n", pszModuleName, pszVersion, cbModule, cRegions));4381 Log(("gmmR0ShModNewGlobal: %s %s size %#x os %u rgn %u\n", pszModuleName, pszVersion, cbModule, enmGuestOS, cRegions)); 4382 4382 if (pGMM->cShareableModules >= GMM_MAX_SHARED_GLOBAL_MODULES) 4383 4383 { … … 4972 4972 uint32_t uChecksum = pPageDesc->u32StrictChecksum & UINT32_C(0x00003fff); 4973 4973 AssertMsg(!uChecksum || uChecksum == pPage->Shared.u14Checksum || !pPage->Shared.u14Checksum, 4974 ("%#x vs %#x - idPage=%# - %s %s\n", uChecksum, pPage->Shared.u14Checksum,4974 ("%#x vs %#x - idPage=%#x - %s %s\n", uChecksum, pPage->Shared.u14Checksum, 4975 4975 pGlobalRegion->paidPages[idxPage], pModule->szName, pModule->szVersion)); 4976 4976 #endif -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r56837 r56985 4100 4100 && uExitVector == X86_XCPT_PF) 4101 4101 { 4102 Log4(("IDT: Contributory #PF uCR2=%#RX64\n", pVCpu->idCpu, pCtx->cr2));4102 Log4(("IDT: Contributory #PF idCpu=%#x uCR2=%#RX64\n", pVCpu->idCpu, pCtx->cr2)); 4103 4103 } 4104 4104 #endif … … 4533 4533 4534 4534 default: 4535 AssertMsgFailed(("hmR0SvmExitWriteCRx: Invalid/Unexpected Write-CRx exit. u64ExitCode=%#RX64 %#x CRx=%#RX64\n",4536 pSvmTransient->u64ExitCode, pSvmTransient->u64ExitCode - SVM_EXIT_WRITE_CR0));4535 AssertMsgFailed(("hmR0SvmExitWriteCRx: Invalid/Unexpected Write-CRx exit. u64ExitCode=%#RX64 %#x\n", 4536 pSvmTransient->u64ExitCode, pSvmTransient->u64ExitCode - SVM_EXIT_WRITE_CR0)); 4537 4537 break; 4538 4538 } -
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r56877 r56985 2118 2118 { 2119 2119 PCPUMCPUIDLEAF pSubLeaf = cpumR3CpuIdGetExactLeaf(pCpum, 0xd, iComponent); 2120 AssertLogRelMsgReturn(pSubLeaf, ("iComponent=%#x\n" ), VERR_CPUM_IPE_1);2121 AssertLogRelMsgReturn(pSubLeaf->fSubLeafMask >= iComponent, ("iComponent=%#x\n" ), VERR_CPUM_IPE_1);2120 AssertLogRelMsgReturn(pSubLeaf, ("iComponent=%#x\n", iComponent), VERR_CPUM_IPE_1); 2121 AssertLogRelMsgReturn(pSubLeaf->fSubLeafMask >= iComponent, ("iComponent=%#x\n", iComponent), VERR_CPUM_IPE_1); 2122 2122 AssertLogRelMsgReturn( pSubLeaf->uEax > 0 2123 2123 && pSubLeaf->uEbx >= CPUM_MIN_XSAVE_AREA_SIZE … … 3117 3117 && pCurLeaf->uEbx >= CPUM_MIN_XSAVE_AREA_SIZE 3118 3118 && pCurLeaf->uEbx + pCurLeaf->uEax <= cbXSaveMax, 3119 ("%#x: eax=%#x ebx=%#x cbMax=%#x\n", pCurLeaf->uEax, pCurLeaf->uEbx, cbXSaveMax), 3119 ("%#x: eax=%#x ebx=%#x cbMax=%#x\n", 3120 uSubLeaf, pCurLeaf->uEax, pCurLeaf->uEbx, cbXSaveMax), 3120 3121 VERR_CPUM_IPE_2); 3121 3122 AssertLogRel(!(pCurLeaf->uEcx & 1)); -
trunk/src/VBox/VMM/VMMR3/DBGFR3PlugIn.cpp
r55886 r56985 381 381 382 382 RTErrInfoSet(pErrInfo, rc, "Plug-in init failed"); 383 LogRel(("DBGF: Plug-in '%s' failed during init: %Rrc\n", pPlugIn->szName ));383 LogRel(("DBGF: Plug-in '%s' failed during init: %Rrc\n", pPlugIn->szName, rc)); 384 384 RTLdrClose(pPlugIn->hLdrMod); 385 385 } -
trunk/src/VBox/VMM/VMMR3/EM.cpp
r56628 r56985 2405 2405 HMR3ResetCpu(pVCpu); 2406 2406 pVCpu->em.s.enmState = emR3Reschedule(pVM, pVCpu, pVCpu->em.s.pCtx); 2407 Log2(("EMR3ExecuteVM: VINF_EM_TRIPLE_FAULT: %d -> %d\n", rc,enmOldState, pVCpu->em.s.enmState));2407 Log2(("EMR3ExecuteVM: VINF_EM_TRIPLE_FAULT: %d -> %d\n", enmOldState, pVCpu->em.s.enmState)); 2408 2408 break; 2409 2409 } -
trunk/src/VBox/VMM/VMMR3/GIM.cpp
r56051 r56985 530 530 if (!pRegion->fRegistered) 531 531 { 532 LogFunc(("%s: Region has not been registered.\n" ));532 LogFunc(("%s: Region has not been registered.\n", pRegion->szDescription)); 533 533 return VERR_GIM_IPE_1; 534 534 } -
trunk/src/VBox/VMM/VMMR3/GIMKvm.cpp
r56852 r56985 410 410 { 411 411 LogRel(("GIM: KVM: VCPU%3d: Invalid physical addr requested for mapping system-time struct. GCPhysSystemTime=%#RGp\n", 412 pKvmCpu->GCPhysSystemTime));412 pVCpu->idCpu, pKvmCpu->GCPhysSystemTime)); 413 413 return VERR_GIM_OPERATION_FAILED; 414 414 } … … 462 462 } 463 463 else 464 LogRel(("GIM: KVM: VCPU%3d: Failed to write system-time struct. at %#RGp. rc=%Rrc\n", pKvmCpu->GCPhysSystemTime, rc)); 464 LogRel(("GIM: KVM: VCPU%3d: Failed to write system-time struct. at %#RGp. rc=%Rrc\n", 465 pVCpu->idCpu, pKvmCpu->GCPhysSystemTime, rc)); 465 466 466 467 return rc; -
trunk/src/VBox/VMM/VMMR3/IOM.cpp
r56635 r56985 681 681 if (!pRange) 682 682 { 683 AssertMsgFailed(("No R3! Port= #x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));683 AssertMsgFailed(("No R3! Port=%#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc)); 684 684 IOM_UNLOCK_EXCL(pVM); 685 685 return VERR_IOM_NO_R3_IOPORT_RANGE; … … 796 796 if (!pRange) 797 797 { 798 AssertMsgFailed(("No R3! Port= #x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc));798 AssertMsgFailed(("No R3! Port=%#x %#x-%#x! (%s)\n", Port, PortStart, (unsigned)PortStart + cPorts - 1, pszDesc)); 799 799 IOM_UNLOCK_EXCL(pVM); 800 800 return VERR_IOM_NO_R3_IOPORT_RANGE; … … 1467 1467 if (!pfnWriteCallback && !pfnReadCallback) 1468 1468 { 1469 AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));1469 AssertMsgFailed(("No callbacks! %RGp LB%#x\n", GCPhysStart, cbRange)); 1470 1470 return VERR_INVALID_PARAMETER; 1471 1471 } … … 1526 1526 if (!pfnWriteCallback && !pfnReadCallback) 1527 1527 { 1528 AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));1528 AssertMsgFailed(("No callbacks! %RGp LB%#x\n", GCPhysStart, cbRange)); 1529 1529 return VERR_INVALID_PARAMETER; 1530 1530 } -
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp
r56287 r56985 646 646 { 647 647 LogFlowFunc(("pEpClass=%#p pszBwMgr=%#p{%s} cbTransferPerSecMax=%u cbTransferPerSecStart=%u cbTransferPerSecStep=%u\n", 648 pEpClass, pszBwMgr, cbTransferPerSecMax, cbTransferPerSecStart, cbTransferPerSecStep));648 pEpClass, pszBwMgr, pszBwMgr, cbTransferPerSecMax, cbTransferPerSecStart, cbTransferPerSecStep)); 649 649 650 650 AssertPtrReturn(pEpClass, VERR_INVALID_POINTER); -
trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp
r56287 r56985 1144 1144 RTMemFree(pBlkCacheGlobal); 1145 1145 1146 LogFlowFunc((": returns rc=%Rrc\n", pVM,rc));1146 LogFlowFunc((": returns rc=%Rrc\n", rc)); 1147 1147 return rc; 1148 1148 } -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r56287 r56985 586 586 PDMDEV_ASSERT_DEVINS(pDevIns); 587 587 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 588 LogFlow(("pdmR3DevHlp_SSMRegister: caller='%s'/%d: uVersion= #x cbGuess=%#x pszBefore=%p:{%s}\n"588 LogFlow(("pdmR3DevHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x pszBefore=%p:{%s}\n" 589 589 " pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoadDone=%p\n", 590 590 pDevIns->pReg->szName, pDevIns->iInstance, uVersion, cbGuess, pszBefore, pszBefore, … … 645 645 { 646 646 PDMDEV_ASSERT_DEVINS(pDevIns); 647 LogFlow(("pdmR3DevHlp_TMTimeVirtGet: caller='%s' \n",647 LogFlow(("pdmR3DevHlp_TMTimeVirtGet: caller='%s'/%d\n", 648 648 pDevIns->pReg->szName, pDevIns->iInstance)); 649 649 … … 659 659 { 660 660 PDMDEV_ASSERT_DEVINS(pDevIns); 661 LogFlow(("pdmR3DevHlp_TMTimeVirtGetFreq: caller='%s' \n",661 LogFlow(("pdmR3DevHlp_TMTimeVirtGetFreq: caller='%s'/%d\n", 662 662 pDevIns->pReg->szName, pDevIns->iInstance)); 663 663 … … 673 673 { 674 674 PDMDEV_ASSERT_DEVINS(pDevIns); 675 LogFlow(("pdmR3DevHlp_TMTimeVirtGetNano: caller='%s' \n",675 LogFlow(("pdmR3DevHlp_TMTimeVirtGetNano: caller='%s'/%d\n", 676 676 pDevIns->pReg->szName, pDevIns->iInstance)); 677 677 … … 688 688 { 689 689 PDMDEV_ASSERT_DEVINS(pDevIns); 690 LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s' \n",690 LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s'/%d\n", 691 691 pDevIns->pReg->szName, pDevIns->iInstance)); 692 692 … … 3103 3103 PDMDEV_ASSERT_DEVINS(pDevIns); 3104 3104 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 3105 LogFlow(("pdmR3DevHlp_HPETRegister: caller='%s'/%d:\n" ));3105 LogFlow(("pdmR3DevHlp_HPETRegister: caller='%s'/%d:\n", pDevIns->pReg->szName, pDevIns->iInstance)); 3106 3106 3107 3107 /* … … 3134 3134 PDMDEV_ASSERT_DEVINS(pDevIns); 3135 3135 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 3136 LogFlow(("pdmR3DevHlp_PciRawRegister: caller='%s'/%d:\n" ));3136 LogFlow(("pdmR3DevHlp_PciRawRegister: caller='%s'/%d:\n", pDevIns->pReg->szName, pDevIns->iInstance)); 3137 3137 3138 3138 /* -
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r56287 r56985 314 314 else 315 315 rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_DEVICE, sizeof(*pCritSect), (void **)&pCritSect); 316 AssertLogRelMsgRCReturn(rc, ("Failed to allocate a critical section for the device \n", rc), rc);316 AssertLogRelMsgRCReturn(rc, ("Failed to allocate a critical section for the device (%Rrc)\n", rc), rc); 317 317 318 318 /* … … 644 644 && strlen(pReg->szName) < sizeof(pReg->szName) 645 645 && pdmR3IsValidName(pReg->szName), 646 ("Invalid name '%. s'\n", sizeof(pReg->szName), pReg->szName),646 ("Invalid name '%.*s'\n", sizeof(pReg->szName), pReg->szName), 647 647 VERR_PDM_INVALID_DEVICE_REGISTRATION); 648 648 AssertMsgReturn( !(pReg->fFlags & PDM_DEVREG_FLAGS_RC) -
trunk/src/VBox/VMM/VMMR3/PDMDriver.cpp
r56287 r56985 93 93 int rc = pfnCallback(&RegCB.Core, VBOX_VERSION); 94 94 if (RT_FAILURE(rc)) 95 AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n" ));95 AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n", rc)); 96 96 97 97 return rc; … … 244 244 Log(("PDM: Successfully loaded driver module %s (%s).\n", pszName, pszFilename)); 245 245 else 246 AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n" ));246 AssertMsgFailed(("VBoxDriversRegister failed with rc=%Rrc\n", rc)); 247 247 } 248 248 else … … 273 273 ("%.*s\n", sizeof(pReg->szName), pReg->szName), 274 274 VERR_PDM_INVALID_DRIVER_REGISTRATION); 275 AssertMsgReturn(pdmR3IsValidName(pReg->szName), ("%.*s\n", pReg->szName),275 AssertMsgReturn(pdmR3IsValidName(pReg->szName), ("%.*s\n", sizeof(pReg->szName), pReg->szName), 276 276 VERR_PDM_INVALID_DRIVER_REGISTRATION); 277 277 AssertMsgReturn( !(pReg->fFlags & PDM_DRVREG_FLAGS_R0) … … 310 310 VERR_PDM_INVALID_DRIVER_REGISTRATION); 311 311 AssertMsgReturn(pReg->u32VersionEnd == PDM_DRVREG_VERSION, 312 ("%s: #x\n", pReg->szName, pReg->u32VersionEnd),312 ("%s: %#x\n", pReg->szName, pReg->u32VersionEnd), 313 313 VERR_PDM_INVALID_DRIVER_REGISTRATION); 314 314 … … 1259 1259 PDMDRV_ASSERT_DRVINS(pDrvIns); 1260 1260 LogFlow(("pdmR3DrvHlp_PDMQueueCreate: caller='%s'/%d: cbItem=%d cItems=%d cMilliesInterval=%d pfnCallback=%p pszName=%p:{%s} ppQueue=%p\n", 1261 pDrvIns->pReg->szName, pDrvIns->iInstance, cbItem, cItems, cMilliesInterval, pfnCallback, pszName, pszName, ppQueue , ppQueue));1261 pDrvIns->pReg->szName, pDrvIns->iInstance, cbItem, cItems, cMilliesInterval, pfnCallback, pszName, pszName, ppQueue)); 1262 1262 PVM pVM = pDrvIns->Internal.s.pVMR3; 1263 1263 VM_ASSERT_EMT(pVM); … … 1317 1317 PDMDRV_ASSERT_DRVINS(pDrvIns); 1318 1318 VM_ASSERT_EMT(pDrvIns->Internal.s.pVMR3); 1319 LogFlow(("pdmR3DrvHlp_SSMRegister: caller='%s'/%d: uVersion= #x cbGuess=%#x \n"1319 LogFlow(("pdmR3DrvHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x \n" 1320 1320 " pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoaddone=%p\n", 1321 1321 pDrvIns->pReg->szName, pDrvIns->iInstance, uVersion, cbGuess, … … 1367 1367 { 1368 1368 PDMDRV_ASSERT_DRVINS(pDrvIns); 1369 LogFlow(("pdmR3DrvHlp_DBGFInfoDeregister: caller='%s'/%d: pszName=%p:{%s} pszDesc=%p:{%s} pfnHandler=%p\n",1370 pDrvIns->pReg->szName, pDrvIns->iInstance, pszName ));1369 LogFlow(("pdmR3DrvHlp_DBGFInfoDeregister: caller='%s'/%d: pszName=%p:{%s}\n", 1370 pDrvIns->pReg->szName, pDrvIns->iInstance, pszName, pszName)); 1371 1371 1372 1372 int rc = DBGFR3InfoDeregisterDriver(pDrvIns->Internal.s.pVMR3, pDrvIns, pszName); -
trunk/src/VBox/VMM/VMMR3/PDMQueue.cpp
r56287 r56985 234 234 *ppQueue = pQueue; 235 235 Log(("PDM: Created device queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pDevIns=%p\n", 236 cbItem, cItems, cMilliesInterval, pfnCallback, pDevIns));236 pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pDevIns)); 237 237 } 238 238 return rc; … … 280 280 *ppQueue = pQueue; 281 281 Log(("PDM: Created driver queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pDrvIns=%p\n", 282 cbItem, cItems, cMilliesInterval, pfnCallback, pDrvIns));282 pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pDrvIns)); 283 283 } 284 284 return rc; … … 325 325 *ppQueue = pQueue; 326 326 Log(("PDM: Created internal queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p\n", 327 cbItem, cItems, cMilliesInterval, pfnCallback));327 pQueue, cbItem, cItems, cMilliesInterval, pfnCallback)); 328 328 } 329 329 return rc; … … 370 370 *ppQueue = pQueue; 371 371 Log(("PDM: Created external queue %p; cbItem=%d cItems=%d cMillies=%d pfnCallback=%p pvUser=%p\n", 372 cbItem, cItems, cMilliesInterval, pfnCallback, pvUser));372 pQueue, cbItem, cItems, cMilliesInterval, pfnCallback, pvUser)); 373 373 } 374 374 return rc; -
trunk/src/VBox/VMM/VMMR3/PDMUsb.cpp
r56287 r56985 225 225 && strlen(pReg->szName) < sizeof(pReg->szName) 226 226 && pdmR3IsValidName(pReg->szName), 227 ("Invalid name '%. s'\n", sizeof(pReg->szName), pReg->szName),227 ("Invalid name '%.*s'\n", sizeof(pReg->szName), pReg->szName), 228 228 VERR_PDM_INVALID_USB_REGISTRATION); 229 229 AssertMsgReturn((pReg->fFlags & ~(PDM_USBREG_HIGHSPEED_CAPABLE | PDM_USBREG_SUPERSPEED_CAPABLE | PDM_USBREG_SAVED_STATE_SUPPORTED)) == 0, … … 1389 1389 { 1390 1390 LogFlow(("PDMR3UsbDriverDetach: pszDevice=%p:{%s} iDevIns=%u iLun=%u pszDriver=%p:{%s} iOccurance=%u fFlags=%#x\n", 1391 pszDevice, pszDevice, iDevIns, iLun, pszDriver, iOccurance, fFlags));1391 pszDevice, pszDevice, iDevIns, iLun, pszDriver, pszDriver, iOccurance, fFlags)); 1392 1392 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); 1393 1393 PVM pVM = pUVM->pVM; … … 1689 1689 PDMUSB_ASSERT_USBINS(pUsbIns); 1690 1690 VM_ASSERT_EMT(pUsbIns->Internal.s.pVM); 1691 LogFlow(("pdmR3UsbHlp_SSMRegister: caller='%s'/%d: uVersion= #x cbGuess=%#x\n"1691 LogFlow(("pdmR3UsbHlp_SSMRegister: caller='%s'/%d: uVersion=%#x cbGuess=%#x\n" 1692 1692 " pfnLivePrep=%p pfnLiveExec=%p pfnLiveVote=%p pfnSavePrep=%p pfnSaveExec=%p pfnSaveDone=%p pszLoadPrep=%p pfnLoadExec=%p pfnLoadDone=%p\n", 1693 1693 pUsbIns->pReg->szName, pUsbIns->iInstance, uVersion, cbGuess, -
trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp
r56384 r56985 159 159 { 160 160 LogFlow(("PGMR3HandlerPhysicalTypeRegister: enmKind=%d pfnHandlerR3=%RHv pszModR0=%s pszHandlerR0=%s pszPfHandlerR0=%s pszModRC=%s pszHandlerRC=%s pszPfHandlerRC=%s pszDesc=%s\n", 161 enmKind, pfnHandlerR3, pszModR0, pszHandlerR0, pszPfHandlerR0, pszModRC, pszHandlerRC, psz Desc, pszPfHandlerRC, pszDesc));161 enmKind, pfnHandlerR3, pszModR0, pszHandlerR0, pszPfHandlerR0, pszModRC, pszHandlerRC, pszPfHandlerRC, pszDesc)); 162 162 163 163 /* -
trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp
r56287 r56985 2527 2527 const uint32_t cPagesInChunk = (1*1024*1024) >> PAGE_SHIFT; 2528 2528 AssertLogRelMsgReturn(cPages % cPagesInChunk == 0, 2529 ("cPages=%#x cPagesInChunk=%#x \n", cPages, cPagesInChunk, pRam->GCPhys, pRam->pszDesc),2529 ("cPages=%#x cPagesInChunk=%#x GCPhys=%RGp %s\n", cPages, cPagesInChunk, pRam->GCPhys, pRam->pszDesc), 2530 2530 VERR_SSM_DATA_UNIT_FORMAT_CHANGED); 2531 2531 -
trunk/src/VBox/VMM/VMMR3/SELM.cpp
r56287 r56985 1941 1941 cbMonitoredTss = Tss.offIoBitmap; 1942 1942 AssertMsgReturn(pVM->selm.s.offGuestIoBitmap == Tss.offIoBitmap, 1943 (" #x %#x\n", pVM->selm.s.offGuestIoBitmap, Tss.offIoBitmap),1943 ("%#x %#x\n", pVM->selm.s.offGuestIoBitmap, Tss.offIoBitmap), 1944 1944 false); 1945 1945 -
trunk/src/VBox/VMM/VMMRC/PATMRC.cpp
r56421 r56985 114 114 if (!pRegFrame) 115 115 { 116 LogFlow(("PATMHandleWriteToPatchPage: Allow writing %RRv LB %#x\n", pRegFrame->eip, GCPtr, cbWrite));116 LogFlow(("PATMHandleWriteToPatchPage: Allow %#x writing %RRv LB %#x\n", pRegFrame->eip, GCPtr, cbWrite)); 117 117 STAM_COUNTER_INC(&pVM->patm.s.StatPatchWriteInterpreted); 118 118 STAM_PROFILE_ADV_STOP(&pVM->patm.s.StatPatchWriteDetect, a); 119 119 return VINF_PGM_HANDLER_DO_DEFAULT; 120 120 } 121 LogFlow(("PATMHandleWriteToPatchPage: Interpret % x accessing %RRv\n", pRegFrame->eip, GCPtr));121 LogFlow(("PATMHandleWriteToPatchPage: Interpret %#x accessing %RRv\n", pRegFrame->eip, GCPtr)); 122 122 int rc = VBOXSTRICTRC_TODO(EMInterpretInstruction(VMMGetCpu0(pVM), pRegFrame, (RTGCPTR)(RTRCUINTPTR)GCPtr)); 123 123 if (rc == VINF_SUCCESS) -
trunk/src/VBox/VMM/VMMRC/SELMRC.cpp
r56287 r56985 162 162 } 163 163 else 164 Log(("GDT write to selector in %s register %04X (out of sync)\n", paSReg[iSReg].Sel));164 Log(("GDT write to selector in %s register %04X (out of sync)\n", g_aszSRegNms[iSReg], paSReg[iSReg].Sel)); 165 165 } 166 166 } -
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp
r56628 r56985 337 337 338 338 rc = trpmGCExitTrap(pVM, pVCpu, rc, pRegFrame); 339 Log6(("TRPMGC01: %Rrc (%04x:%08x %RTreg %EFlag=%#x)\n", rc, pRegFrame->cs.Sel, pRegFrame->eip, uDr6, CPUMRawGetEFlags(pVCpu)));339 Log6(("TRPMGC01: %Rrc (%04x:%08x %RTreg EFlag=%#x)\n", rc, pRegFrame->cs.Sel, pRegFrame->eip, uDr6, CPUMRawGetEFlags(pVCpu))); 340 340 TRPM_EXIT_DBG_HOOK(1); 341 341 return rc; … … 537 537 PVMCPU pVCpu = TRPMCPU_2_VMCPU(pTrpmCpu); 538 538 int rc; 539 LogFlow(("TRPMGC06: %04x:%08x EFL=% x\n", pRegFrame->cs.Sel, pRegFrame->eip, pRegFrame->eflags.u32, CPUMRawGetEFlags(pVCpu)));539 LogFlow(("TRPMGC06: %04x:%08x EFL=%#x/%#x\n", pRegFrame->cs.Sel, pRegFrame->eip, pRegFrame->eflags.u32, CPUMRawGetEFlags(pVCpu))); 540 540 TRPM_ENTER_DBG_HOOK(6); 541 541 PGMRZDynMapStartAutoSet(pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.