Changeset 25015 in vbox
- Timestamp:
- Nov 26, 2009 3:27:42 PM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
-
DBGFSym.cpp (modified) (1 diff)
-
PDMLdr.cpp (modified) (2 diffs)
-
PDMQueue.cpp (modified) (2 diffs)
-
PGM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFSym.cpp
r24009 r25015 166 166 { 167 167 /* make new symbol space node. */ 168 PDBGFSYMSPACEpName = (PDBGFSYMSPACE)MMR3HeapAlloc(pVM, MM_TAG_DBGF_SYMBOL, sizeof(*pName) + cchName);168 pName = (PDBGFSYMSPACE)MMR3HeapAlloc(pVM, MM_TAG_DBGF_SYMBOL, sizeof(*pName) + cchName); 169 169 if (pName) 170 170 { -
trunk/src/VBox/VMM/PDMLdr.cpp
r24580 r25015 498 498 { 499 499 /* we don't expect this list to be very long, so rather save the tail pointer. */ 500 PPDMMODpCur = pUVM->pdm.s.pModules;500 pCur = pUVM->pdm.s.pModules; 501 501 while (pCur->pNext) 502 502 pCur = pCur->pNext; … … 603 603 { 604 604 /* we don't expect this list to be very long, so rather save the tail pointer. */ 605 PPDMMODpCur = pUVM->pdm.s.pModules;605 pCur = pUVM->pdm.s.pModules; 606 606 while (pCur->pNext) 607 607 pCur = pCur->pNext; -
trunk/src/VBox/VMM/PDMQueue.cpp
r21847 r25015 123 123 if (cMilliesInterval) 124 124 { 125 intrc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer);125 rc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer); 126 126 if (RT_SUCCESS(rc)) 127 127 { … … 158 158 * This is a FIFO, so insert at the end. 159 159 */ 160 /** @todo we should add a priority priorityto the queues so we don't have to rely on160 /** @todo we should add a priority to the queues so we don't have to rely on 161 161 * the initialization order to deal with problems like #1605 (pgm/pcnet deadlock 162 162 * caused by the critsect queue to be last in the chain). -
trunk/src/VBox/VMM/PGM.cpp
r24874 r25015 1197 1197 1198 1198 /* Init the per-CPU part. */ 1199 for (VMCPUID i = 0; i < pVM->cCpus; i++)1200 { 1201 PVMCPU pVCpu = &pVM->aCpus[i ];1199 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 1200 { 1201 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 1202 1202 PPGMCPU pPGM = &pVCpu->pgm.s; 1203 1203 … … 1376 1376 if (!s_fRegisteredCmds) 1377 1377 { 1378 int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));1379 if (RT_SUCCESS(rc ))1378 int rc2 = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds)); 1379 if (RT_SUCCESS(rc2)) 1380 1380 s_fRegisteredCmds = true; 1381 1381 }
Note:
See TracChangeset
for help on using the changeset viewer.

