- Timestamp:
- Feb 12, 2007 5:30:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r838 r850 1954 1954 RTHCPHYS HCPhys = pRam->aHCPhys[iHCPage]; 1955 1955 SHWPTE PteDst; 1956 1957 /* Make sure the RAM has already been allocated. */ 1958 if (pRam->fFlags & MM_RAM_FLAGS_DYNAMIC_ALLOC) 1959 { 1960 if (RT_UNLIKELY(!(pRam->aHCPhys[iHCPage] & X86_PTE_PAE_PG_MASK))) 1961 { 1962 #ifdef IN_RING3 1963 int rc = pgmr3PhysGrowRange(pVM, GCPhys); 1964 #else 1965 int rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys); 1966 #endif 1967 if (rc != VINF_SUCCESS) 1968 return rc; 1969 } 1970 } 1971 1956 1972 if (HCPhys & (MM_RAM_FLAGS_PHYSICAL_ALL | MM_RAM_FLAGS_VIRTUAL_ALL | MM_RAM_FLAGS_PHYSICAL_WRITE | MM_RAM_FLAGS_VIRTUAL_WRITE)) 1957 1973 {
Note:
See TracChangeset
for help on using the changeset viewer.