- Timestamp:
- Sep 5, 2013 2:37:07 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88736
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r48231 r48311 1542 1542 RTSpinlockReleaseNoInts(pDevExt->EventSpinlock); 1543 1543 Assert(rc == 0); 1544 NOREF(rc); 1544 1545 1545 1546 #ifdef VBOXGUEST_USE_DEFERRED_WAKE_UP … … 3073 3074 ASMAtomicDecU32(&pDevExt->cISR); 3074 3075 Assert(rc == 0); 3076 NOREF(rc); 3075 3077 return fOurIrq; 3076 3078 } -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp
r46625 r48311 454 454 uint64_t u64Total = 0, u64Free = 0, u64Buffers = 0, u64Cached = 0, u64PagedTotal = 0; 455 455 int rc = -1; 456 kstat_t *pStatPages = kstat_lookup(pStatKern, "unix", 0 /* instance */,"system_pages");456 kstat_t *pStatPages = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"system_pages"); 457 457 if (pStatPages) 458 458 { … … 461 461 { 462 462 kstat_named_t *pStat = NULL; 463 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, "pagestotal");463 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, (char *)"pagestotal"); 464 464 if (pStat) 465 465 u64Total = pStat->value.ul; 466 466 467 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, "freemem");467 pStat = (kstat_named_t *)kstat_data_lookup(pStatPages, (char *)"freemem"); 468 468 if (pStat) 469 469 u64Free = pStat->value.ul; … … 471 471 } 472 472 473 kstat_t *pStatZFS = kstat_lookup(pStatKern, "zfs", 0 /* instance */,"arcstats");473 kstat_t *pStatZFS = kstat_lookup(pStatKern, (char *)"zfs", 0 /* instance */, (char *)"arcstats"); 474 474 if (pStatZFS) 475 475 { … … 477 477 if (rc != -1) 478 478 { 479 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(pStatZFS, "size");479 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(pStatZFS, (char *)"size"); 480 480 if (pStat) 481 481 u64Cached = pStat->value.ul; … … 487 487 * number of stat updates so far and use that to divide the swap counter. 488 488 */ 489 kstat_t *pStatInfo = kstat_lookup(pStatKern, "unix", 0 /* instance */,"sysinfo");489 kstat_t *pStatInfo = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"sysinfo"); 490 490 if (pStatInfo) 491 491 { … … 494 494 if (rc != -1) 495 495 { 496 kstat_t *pStatVMInfo = kstat_lookup(pStatKern, "unix", 0 /* instance */,"vminfo");496 kstat_t *pStatVMInfo = kstat_lookup(pStatKern, (char *)"unix", 0 /* instance */, (char *)"vminfo"); 497 497 if (pStatVMInfo) 498 498 { … … 717 717 VBoxServiceVMStatsTerm 718 718 }; 719 -
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r48297 r48311 1435 1435 * When the console is done, it calls SessionMachine::EndTakingSnapshot(). 1436 1436 * 1437 * 1437 * @note Locks mParent + this object for writing. 1438 1438 * 1439 1439 * @param aInitiator in: The console on which Console::TakeSnapshot was called. … … 3399 3399 AssertReturn(aSource != aTarget, E_FAIL); 3400 3400 AssertReturn(aMediumLockList != NULL, E_FAIL); 3401 NOREF(fMergeForward); 3402 NOREF(aParentForTarget); 3403 NOREF(aChildrenToReparent); 3401 3404 3402 3405 HRESULT rc = S_OK; … … 3644 3647 return S_OK; 3645 3648 } 3649
Note:
See TracChangeset
for help on using the changeset viewer.