VirtualBox

Changeset 45028 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 13, 2013 8:35:58 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84272
Message:

Assert more in PGMR3Reset and PGMR3MemSetup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGM.cpp

    r45026 r45028  
    25052505VMMR3_INT_DECL(void) PGMR3Reset(PVM pVM)
    25062506{
    2507     int rc = VINF_SUCCESS;
    2508 
    25092507    LogFlow(("PGMR3Reset:\n"));
    25102508    VM_ASSERT_EMT(pVM);
     
    25272525    {
    25282526        PVMCPU  pVCpu = &pVM->aCpus[i];
    2529         rc = PGM_GST_PFN(Exit, pVCpu)(pVCpu);
    2530         AssertRC(rc);
     2527        int rc = PGM_GST_PFN(Exit, pVCpu)(pVCpu);
     2528        AssertReleaseRC(rc);
    25312529    }
    25322530
     
    25432541        PVMCPU  pVCpu = &pVM->aCpus[i];
    25442542
    2545         rc = PGMR3ChangeMode(pVM, pVCpu, PGMMODE_REAL);
    2546         AssertRC(rc);
     2543        int rc = PGMR3ChangeMode(pVM, pVCpu, PGMMODE_REAL);
     2544        AssertReleaseRC(rc);
    25472545
    25482546        STAM_REL_COUNTER_RESET(&pVCpu->pgm.s.cGuestModeChanges);
     
    25822580
    25832581    pgmUnlock(pVM);
    2584     AssertReleaseRC(rc);
    25852582}
    25862583
     
    25992596        pgmLock(pVM);
    26002597
    2601         int rc = pgmR3PhysRamZeroAll(pVM); AssertLogRelRC(rc);
    2602         rc = pgmR3PhysRomReset(pVM); AssertLogRelRC(rc);
     2598        int rc = pgmR3PhysRamZeroAll(pVM);
     2599        AssertReleaseRC(rc);
     2600
     2601        rc = pgmR3PhysRomReset(pVM);
     2602        AssertReleaseRC(rc);
    26032603
    26042604        pgmUnlock(pVM);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette