Changeset 29877 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
- Timestamp:
- May 28, 2010 11:23:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
r29765 r29877 332 332 return VERR_NO_MEMORY; 333 333 334 *ppMem = &pMemFreeBSD->Core; 335 334 336 return VINF_SUCCESS; 335 337 #else … … 883 885 return VM_PAGE_TO_PHYS(pMemFreeBSD->u.Phys.apPages[iPage]); 884 886 887 #ifdef USE_KMEM_ALLOC_ATTR 888 case RTR0MEMOBJTYPE_LOW: 889 { 890 vm_offset_t pb = (vm_offset_t)pMemFreeBSD->Core.pv + (iPage << PAGE_SHIFT); 891 return vtophys(pb); 892 } 893 #else 894 case RTR0MEMOBJTYPE_LOW: 895 #endif 885 896 case RTR0MEMOBJTYPE_RES_VIRT: 886 case RTR0MEMOBJTYPE_LOW:887 897 default: 888 898 return NIL_RTHCPHYS;
Note:
See TracChangeset
for help on using the changeset viewer.