Changeset 14824 in vbox for trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp
- Timestamp:
- Nov 30, 2008 7:52:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp
r13839 r14824 44 44 #include "internal/memobj.h" 45 45 46 #define USE_VM_MAP_WIRE 46 /*#define USE_VM_MAP_WIRE - may re-enable later when non-mapped allocations are added. */ 47 47 48 48 … … 542 542 543 543 544 int rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt) 544 int rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, 545 unsigned fProt, size_t offSub, size_t cbSub) 545 546 { 546 547 /* … … 549 550 int rc = VERR_INVALID_PARAMETER; 550 551 PRTR0MEMOBJDARWIN pMemToMapDarwin = (PRTR0MEMOBJDARWIN)pMemToMap; 552 printf("rtR0MemObjNativeMapKernel: pMemDesc=%p\n", pMemToMapDarwin->pMemDesc); 551 553 if (pMemToMapDarwin->pMemDesc) 552 554 { 553 555 IOMemoryMap *pMemMap = pMemToMapDarwin->pMemDesc->map(kernel_task, kIOMapAnywhere, 554 kIOMapAnywhere | kIOMapDefaultCache); 556 kIOMapAnywhere | kIOMapDefaultCache, 557 offSub, cbSub); 555 558 if (pMemMap) 556 559 {
Note:
See TracChangeset
for help on using the changeset viewer.