Changeset 39427 in vbox for trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
- Timestamp:
- Nov 25, 2011 2:29:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r39402 r39427 1854 1854 AssertMsg(((RTGCPHYS)iPage << PAGE_SHIFT) == pRam->cb, ("%RGp %RGp\n", (RTGCPHYS)iPage << PAGE_SHIFT, pRam->cb)); 1855 1855 1856 #ifndef NO_RAM_RESET 1856 1857 if (!pVM->pgm.s.fRamPreAlloc) 1858 #else 1859 if (0) 1860 #endif 1857 1861 { 1858 1862 /* Replace all RAM pages by ZERO pages. */ … … 1930 1934 rc = pgmPhysPageMap(pVM, pPage, pRam->GCPhys + ((RTGCPHYS)iPage << PAGE_SHIFT), &pvPage); 1931 1935 AssertLogRelRCReturn(rc, rc); 1936 #ifndef NO_RAM_RESET 1932 1937 ASMMemZeroPage(pvPage); 1938 #endif 1933 1939 break; 1934 1940 }
Note:
See TracChangeset
for help on using the changeset viewer.