Changeset 33595 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 29, 2010 10:35:00 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67205
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r33540 r33595 3040 3040 pHlp->pfnPrintf(pHlp, "SSE2 - SSE2 Support = %d (%d)\n", EdxGuest.u1SSE2, EdxHost.u1SSE2); 3041 3041 pHlp->pfnPrintf(pHlp, "SS - Self Snoop = %d (%d)\n", EdxGuest.u1SS, EdxHost.u1SS); 3042 pHlp->pfnPrintf(pHlp, "HTT - Hyper-Threading Technolog 3042 pHlp->pfnPrintf(pHlp, "HTT - Hyper-Threading Technology = %d (%d)\n", EdxGuest.u1HTT, EdxHost.u1HTT); 3043 3043 pHlp->pfnPrintf(pHlp, "TM - Thermal Monitor = %d (%d)\n", EdxGuest.u1TM, EdxHost.u1TM); 3044 3044 pHlp->pfnPrintf(pHlp, "30 - Reserved = %d (%d)\n", EdxGuest.u1Reserved3, EdxHost.u1Reserved3); -
trunk/src/VBox/VMM/EM.cpp
r33540 r33595 818 818 */ 819 819 default: 820 AssertMsgFailed(("Un xpected rc %Rrc!\n", rc));820 AssertMsgFailed(("Unexpected rc %Rrc!\n", rc)); 821 821 break; 822 822 } -
trunk/src/VBox/VMM/PATM/PATM.cpp
r33540 r33595 4175 4175 if (pPatchNear->patch.uState == PATCH_UNUSABLE && pInstrGC < pPatchNear->patch.pPrivInstrGC && pInstrGC + SIZEOF_NEARJUMP32 > pPatchNear->patch.pPrivInstrGC) 4176 4176 { 4177 Log(("Dangerous patch; would overwrite the u susable patch at %RRv\n", pPatchNear->patch.pPrivInstrGC));4177 Log(("Dangerous patch; would overwrite the unusable patch at %RRv\n", pPatchNear->patch.pPrivInstrGC)); 4178 4178 4179 4179 pPatchRec->patch.uState = PATCH_UNUSABLE; -
trunk/src/VBox/VMM/PDM.cpp
r33540 r33595 890 890 break; 891 891 if (u32Sep != i) 892 AssertMsgFailedReturn(("Out of seq ence. u32Sep=%#x i=%#x\n", u32Sep, i), VERR_SSM_DATA_UNIT_FORMAT_CHANGED);892 AssertMsgFailedReturn(("Out of sequence. u32Sep=%#x i=%#x\n", u32Sep, i), VERR_SSM_DATA_UNIT_FORMAT_CHANGED); 893 893 894 894 /* Get the name and instance number. */ -
trunk/src/VBox/VMM/PDMAsyncCompletionFileNormal.cpp
r33540 r33595 1451 1451 uint8_t *pbBuf = NULL; 1452 1452 1453 LogFlow(("Restarting incomplete transfer %#p (%zu bytes transfer ed)\n",1453 LogFlow(("Restarting incomplete transfer %#p (%zu bytes transferred)\n", 1454 1454 pTask, cbTransfered)); 1455 1455 Assert(cbTransfered % 512 == 0); -
trunk/src/VBox/VMM/PDMCritSect.cpp
r33540 r33595 53 53 { 54 54 STAM_REG(pVM, &pVM->pdm.s.StatQueuedCritSectLeaves, STAMTYPE_COUNTER, "/PDM/QueuedCritSectLeaves", STAMUNIT_OCCURENCES, 55 "Number of times a critical section leave reques edneeded to be queued for ring-3 execution.");55 "Number of times a critical section leave request needed to be queued for ring-3 execution."); 56 56 return VINF_SUCCESS; 57 57 } -
trunk/src/VBox/VMM/PDMDevice.cpp
r33540 r33595 670 670 VERR_PDM_INVALID_DEVICE_REGISTRATION); 671 671 AssertMsgReturn(pReg->pfnConstruct, 672 ("No constructor e! (Device %s)\n", pReg->szName),672 ("No constructor! (Device %s)\n", pReg->szName), 673 673 VERR_PDM_INVALID_DEVICE_REGISTRATION); 674 674 AssertLogRelMsgReturn((pReg->fFlags & PDM_DEVREG_FLAGS_GUEST_BITS_MASK) == PDM_DEVREG_FLAGS_GUEST_BITS_DEFAULT, -
trunk/src/VBox/VMM/PDMUsb.cpp
r33540 r33595 232 232 ("Instance size %d bytes! (USB Device %s)\n", pReg->cbInstance, pReg->szName), 233 233 VERR_PDM_INVALID_USB_REGISTRATION); 234 AssertMsgReturn(pReg->pfnConstruct, ("No constructor e! (USB Device %s)\n", pReg->szName),234 AssertMsgReturn(pReg->pfnConstruct, ("No constructor! (USB Device %s)\n", pReg->szName), 235 235 VERR_PDM_INVALID_USB_REGISTRATION); 236 236 -
trunk/src/VBox/VMM/PGM.cpp
r33540 r33595 1393 1393 DBGFR3InfoRegisterInternal(pVM, "mode", 1394 1394 "Shows the current paging mode. " 1395 "Recognizes 'all', 'guest', 'shadow' and 'host' as arguments, defaulting to 'all' if nothing 's given.",1395 "Recognizes 'all', 'guest', 'shadow' and 'host' as arguments, defaulting to 'all' if nothing is given.", 1396 1396 pgmR3InfoMode); 1397 1397 DBGFR3InfoRegisterInternal(pVM, "pgmcr3", … … 1801 1801 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2InvalidPhys, "/PGM/CPU%u/RZ/Trap0e/Time2/InvalidPhys", "Profiling of the Trap0eHandler body when the cause is access to an invalid physical guest address."); 1802 1802 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2MakeWritable, "/PGM/CPU%u/RZ/Trap0e/Time2/MakeWritable", "Profiling of the Trap0eHandler body when the cause is that a page needed to be made writeable."); 1803 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2Mapping, "/PGM/CPU%u/RZ/Trap0e/Time2/Mapping", "Profiling of the Trap0eHandler body when the cause is rel eated to the guest mappings.");1803 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2Mapping, "/PGM/CPU%u/RZ/Trap0e/Time2/Mapping", "Profiling of the Trap0eHandler body when the cause is related to the guest mappings."); 1804 1804 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2Misc, "/PGM/CPU%u/RZ/Trap0e/Time2/Misc", "Profiling of the Trap0eHandler body when the cause is not known."); 1805 1805 PGM_REG_PROFILE(&pCpuStats->StatRZTrap0eTime2OutOfSync, "/PGM/CPU%u/RZ/Trap0e/Time2/OutOfSync", "Profiling of the Trap0eHandler body when the cause is an out-of-sync page."); … … 1857 1857 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapPage, "/PGM/CPU%u/RZ/DynMap/Page", "Calls to pgmR0DynMapPage"); 1858 1858 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapSetOptimize, "/PGM/CPU%u/RZ/DynMap/Page/SetOptimize", "Calls to pgmRZDynMapOptimizeAutoSet."); 1859 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapSetSearchFlushes, "/PGM/CPU%u/RZ/DynMap/Page/SetSearchFlushes", "Set search restor ting to subset flushes.");1859 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapSetSearchFlushes, "/PGM/CPU%u/RZ/DynMap/Page/SetSearchFlushes", "Set search restoring to subset flushes."); 1860 1860 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapSetSearchHits, "/PGM/CPU%u/RZ/DynMap/Page/SetSearchHits", "Set search hits."); 1861 1861 PGM_REG_COUNTER(&pCpuStats->StatRZDynMapSetSearchMisses, "/PGM/CPU%u/RZ/DynMap/Page/SetSearchMisses", "Set search misses."); -
trunk/src/VBox/VMM/STAM.cpp
r33540 r33595 1987 1987 return pCmdHlp->pfnPrintf(pCmdHlp, NULL, "info: Statistics reset.\n"); 1988 1988 1989 return pCmdHlp->pfnVBoxError(pCmdHlp, rc, "Res tting statistics.\n");1989 return pCmdHlp->pfnVBoxError(pCmdHlp, rc, "Resetting statistics.\n"); 1990 1990 } 1991 1991 -
trunk/src/VBox/VMM/TM.cpp
r33540 r33595 555 555 return rc; 556 556 } 557 Log(("TM: Created timer %p firing every %d milli eseconds\n", pVM->tm.s.pTimer, u32Millies));557 Log(("TM: Created timer %p firing every %d milliseconds\n", pVM->tm.s.pTimer, u32Millies)); 558 558 pVM->tm.s.u32TimerMillies = u32Millies; 559 559 … … 578 578 STAM_REL_REG_USED(pVM,(void*)&pVM->tm.s.VirtualGetRawDataRC.cBadPrev, STAMTYPE_U32, "/TM/RC/cBadPrev", STAMUNIT_OCCURENCES, "Times the previous virtual time was considered erratic (shouldn't ever happen)."); 579 579 STAM_REL_REG( pVM,(void*)&pVM->tm.s.offVirtualSync, STAMTYPE_U64, "/TM/VirtualSync/CurrentOffset", STAMUNIT_NS, "The current offset. (subtract GivenUp to get the lag)"); 580 STAM_REL_REG_USED(pVM,(void*)&pVM->tm.s.offVirtualSyncGivenUp, STAMTYPE_U64, "/TM/VirtualSync/GivenUp", STAMUNIT_NS, "Nanoseconds of the 'CurrentOffset' that's been given up and won't ever be attem ted caught up with.");580 STAM_REL_REG_USED(pVM,(void*)&pVM->tm.s.offVirtualSyncGivenUp, STAMTYPE_U64, "/TM/VirtualSync/GivenUp", STAMUNIT_NS, "Nanoseconds of the 'CurrentOffset' that's been given up and won't ever be attempted caught up with."); 581 581 STAM_REL_REG( pVM,(void*)&pVM->tm.s.uMaxHzHint, STAMTYPE_U32, "/TM/MaxHzHint", STAMUNIT_HZ, "Max guest timer frequency hint."); 582 582 … … 672 672 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsExecuting, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent executing guest code.", "/TM/CPU/%02u/PrfExecuting", i); 673 673 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsExecLong, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent executing guest code - long hauls.", "/TM/CPU/%02u/PrfExecLong", i); 674 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsExecShort, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent executing guest code - short stre ches.", "/TM/CPU/%02u/PrfExecShort", i);674 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsExecShort, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent executing guest code - short stretches.", "/TM/CPU/%02u/PrfExecShort", i); 675 675 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsExecTiny, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent executing guest code - tiny bits.", "/TM/CPU/%02u/PrfExecTiny", i); 676 676 STAMR3RegisterF(pVM, &pVM->aCpus[i].tm.s.StatNsHalted, STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_NS_PER_OCCURENCE, "Resettable: Time spent halted.", "/TM/CPU/%02u/PrfHalted", i); -
trunk/src/VBox/VMM/TRPM.cpp
r33540 r33595 530 530 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x09], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/09", STAMUNIT_TICKS_PER_CALL, "#?? - Coprocessor segment overrun (obsolete)."); 531 531 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x0a], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/0a", STAMUNIT_TICKS_PER_CALL, "#TS - Task switch fault."); 532 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x0b], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/0b", STAMUNIT_TICKS_PER_CALL, "#NP - Seg emnt not present.");532 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x0b], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/0b", STAMUNIT_TICKS_PER_CALL, "#NP - Segment not present."); 533 533 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x0c], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/0c", STAMUNIT_TICKS_PER_CALL, "#SS - Stack segment fault."); 534 534 STAM_REG(pVM, &pVM->trpm.s.aStatGCTraps[0x0d], STAMTYPE_PROFILE_ADV, "/TRPM/GC/Traps/0d", STAMUNIT_TICKS_PER_CALL, "#GP - General protection fault."); -
trunk/src/VBox/VMM/VM.cpp
r33540 r33595 3641 3641 { 3642 3642 VM_ASSERT_EMT(pVM); 3643 AssertReleaseMsgFailed(("And we have a winner! You get to implement Ring-0 and GC VMSetErrorV! Contra ts!\n"));3643 AssertReleaseMsgFailed(("And we have a winner! You get to implement Ring-0 and GC VMSetErrorV! Contracts!\n")); 3644 3644 3645 3645 /* -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r32847 r33595 3396 3396 default: 3397 3397 rc = VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE; 3398 AssertMsgFailed(("Unexpected inter uption code %x\n", intInfo));3398 AssertMsgFailed(("Unexpected interruption code %x\n", intInfo)); 3399 3399 break; 3400 3400 } -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r33540 r33595 218 218 219 219 pR0Logger->Logger.pfnLogger("hello ring-0 logger\n"); 220 LogCom(("vmmR0InitVM: returned succes fully from direct logger call.\n"));220 LogCom(("vmmR0InitVM: returned successfully from direct logger call.\n")); 221 221 pR0Logger->Logger.pfnFlush(&pR0Logger->Logger); 222 LogCom(("vmmR0InitVM: returned succes fully from direct flush call.\n"));222 LogCom(("vmmR0InitVM: returned successfully from direct flush call.\n")); 223 223 224 224 RTLogSetDefaultInstanceThread(&pR0Logger->Logger, (uintptr_t)pVM->pSession); 225 225 LogCom(("vmmR0InitVM: after %p reg2\n", RTLogDefaultInstance())); 226 226 pR0Logger->Logger.pfnLogger("hello ring-0 logger\n"); 227 LogCom(("vmmR0InitVM: returned succes fully from direct logger call (2). offScratch=%d\n", pR0Logger->Logger.offScratch));227 LogCom(("vmmR0InitVM: returned successfully from direct logger call (2). offScratch=%d\n", pR0Logger->Logger.offScratch)); 228 228 RTLogSetDefaultInstanceThread(NULL, pVM->pSession); 229 229 LogCom(("vmmR0InitVM: after %p dereg2\n", RTLogDefaultInstance())); -
trunk/src/VBox/VMM/VMReq.cpp
r33540 r33595 570 570 */ 571 571 AssertMsgReturn(enmType > VMREQTYPE_INVALID && enmType < VMREQTYPE_MAX, 572 ("Invalid package type %d valid range %d-%d inclusiv ly.\n",572 ("Invalid package type %d valid range %d-%d inclusively.\n", 573 573 enmType, VMREQTYPE_INVALID + 1, VMREQTYPE_MAX - 1), 574 574 VERR_VM_REQUEST_INVALID_TYPE); … … 797 797 AssertMsgReturn( pReq->enmType > VMREQTYPE_INVALID 798 798 && pReq->enmType < VMREQTYPE_MAX, 799 ("Invalid package type %d valid range %d-%d inclusiv ly. This was verified on alloc too...\n",799 ("Invalid package type %d valid range %d-%d inclusively. This was verified on alloc too...\n", 800 800 pReq->enmType, VMREQTYPE_INVALID + 1, VMREQTYPE_MAX - 1), 801 801 VERR_VM_REQUEST_INVALID_TYPE); … … 953 953 AssertMsgReturn( pReq->enmType > VMREQTYPE_INVALID 954 954 && pReq->enmType < VMREQTYPE_MAX, 955 ("Invalid package type %d valid range %d-%d inclusiv ly. This was verified on alloc too...\n",955 ("Invalid package type %d valid range %d-%d inclusively. This was verified on alloc too...\n", 956 956 pReq->enmType, VMREQTYPE_INVALID + 1, VMREQTYPE_MAX - 1), 957 957 VERR_VM_REQUEST_INVALID_TYPE); -
trunk/src/VBox/VMM/testcase/mkdsk.sh
r28800 r33595 65 65 done 66 66 67 echo "* Unmoun ing tmpmnt..."67 echo "* Unmounting tmpmnt..." 68 68 sudo umount tmpmnt 69 69 rmdir tmpmnt
Note:
See TracChangeset
for help on using the changeset viewer.