Changeset 19591 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
- Timestamp:
- May 11, 2009 11:18:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
r19563 r19591 99 99 else 100 100 { 101 free(pMemFreeBSD->Core.pv, M_IPRTMOBJ);101 contigfree(pMemFreeBSD->Core.pv, pMemFreeBSD->Core.cb, M_IPRTMOBJ); 102 102 if (pMemFreeBSD->pMappingObject) 103 103 { … … 186 186 * http://fxr.watson.org/fxr/source/kern/link_elf.c?v=RELENG62#L701 187 187 */ 188 #if 0 189 pMemFreeBSD->Core.pv = malloc(cb, M_IPRTMOBJ, M_ZERO); 188 #if 1 189 pMemFreeBSD->Core.pv = contigmalloc(cb, /* size */ 190 M_IPRTMOBJ, /* type */ 191 M_NOWAIT | M_ZERO, /* flags */ 192 0, /* lowest physical address*/ 193 _4G-1, /* highest physical address */ 194 PAGE_SIZE, /* alignment. */ 195 0); /* boundrary */ 190 196 if (pMemFreeBSD->Core.pv) 191 197 {
Note:
See TracChangeset
for help on using the changeset viewer.