VirtualBox

Ignore:
Timestamp:
Nov 25, 2011 2:29:43 PM (13 years ago)
Author:
vboxsync
Message:

r=bird: pre-review comments.

File:
1 edited

Legend:

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

    r39402 r39427  
    18541854        AssertMsg(((RTGCPHYS)iPage << PAGE_SHIFT) == pRam->cb, ("%RGp %RGp\n", (RTGCPHYS)iPage << PAGE_SHIFT, pRam->cb));
    18551855
     1856#ifndef NO_RAM_RESET
    18561857        if (!pVM->pgm.s.fRamPreAlloc)
     1858#else
     1859        if (0)
     1860#endif
    18571861        {
    18581862            /* Replace all RAM pages by ZERO pages. */
     
    19301934                                rc = pgmPhysPageMap(pVM, pPage, pRam->GCPhys + ((RTGCPHYS)iPage << PAGE_SHIFT), &pvPage);
    19311935                                AssertLogRelRCReturn(rc, rc);
     1936#ifndef NO_RAM_RESET
    19321937                                ASMMemZeroPage(pvPage);
     1938#endif
    19331939                                break;
    19341940                            }
Note: See TracChangeset for help on using the changeset viewer.

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