Changeset 7062 in vbox for trunk/src/VBox/Runtime/r0drv/solaris/alloc-r0drv-solaris.c
- Timestamp:
- Feb 20, 2008 8:52:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/alloc-r0drv-solaris.c
r7042 r7062 49 49 { 50 50 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE) - sizeof(*pHdr); 51 pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), PAGE_SIZE),KM_SLEEP);51 pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), KM_SLEEP); 52 52 } 53 53 else … … 78 78 #ifdef RT_ARCH_AMD64 79 79 if (pHdr->fFlags & RTMEMHDR_FLAG_EXEC) 80 segkmem_free(heaptext_arena, pHdr, pHdr->cb + sizeof(*pHdr) , PAGE_SIZE));80 segkmem_free(heaptext_arena, pHdr, pHdr->cb + sizeof(*pHdr)); 81 81 else 82 82 #endif
Note:
See TracChangeset
for help on using the changeset viewer.