- Timestamp:
- Apr 6, 2010 3:56:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/memobj-r0drv-solaris.c
r27675 r28017 206 206 return VERR_NO_MEMORY; 207 207 } 208 Assert(!(physAddr & PAGE_OFFSET_MASK));209 208 pMemSolaris->Core.pv = NULL; 210 209 pMemSolaris->Core.u.Phys.PhysBase = physAddr; … … 213 212 #endif 214 213 214 Assert(!(physAddr & PAGE_OFFSET_MASK)); 215 215 *ppMem = &pMemSolaris->Core; 216 216 return VINF_SUCCESS; … … 468 468 int rtR0MemObjNativeProtect(PRTR0MEMOBJINTERNAL pMem, size_t offSub, size_t cbSub, uint32_t fProt) 469 469 { 470 PRTR0MEMOBJSOLARIS pMemSolaris = (PRTR0MEMOBJSOLARIS)pMem; 471 472 if (pMemSolaris->Core.enmType == RTR0MEMOBJTYPE_PHYS_NC) 473 { 474 // LogRel(("here \n")); 475 // vbi_page_lock(pMemSolaris->pvHandle, pMemSolaris->Core.cb); 476 } 477 470 478 NOREF(pMem); 471 479 NOREF(offSub);
Note:
See TracChangeset
for help on using the changeset viewer.