Changeset 22616 in vbox
- Timestamp:
- Aug 31, 2009 4:04:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r22613 r22616 1252 1252 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) && defined(RT_ARCH_X86) 1253 1253 /* remap_page_range() limitation on x86 */ 1254 AssertBreakStmt( u64Phys < _4G, rc = VERR_NO_MEMORY);1254 AssertBreakStmt(Phys < _4G, rc = VERR_NO_MEMORY); 1255 1255 #endif 1256 1256 … … 1261 1261 rc = remap_pfn_range(vma, ulAddrCur, page_to_pfn(pMemLnxToMap->apPages[iPage]), PAGE_SIZE, fPg); 1262 1262 #elif defined(VBOX_USE_PAE_HACK) 1263 rc = remap_page_range(vma, ulAddrCur, u64Phys, PAGE_SIZE, fPg);1263 rc = remap_page_range(vma, ulAddrCur, DummyPhys, PAGE_SIZE, fPg); 1264 1264 if (rc) 1265 1265 { … … 1267 1267 break; 1268 1268 } 1269 rc = fixPte(pTask->mm, ulAddrCur, u64Phys);1269 rc = fixPte(pTask->mm, ulAddrCur, Phys); 1270 1270 #else /* 2.4 */ 1271 rc = remap_page_range(ulAddrCur, u64Phys, PAGE_SIZE, fPg);1271 rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg); 1272 1272 #endif 1273 1273 if (rc)
Note:
See TracChangeset
for help on using the changeset viewer.