- Timestamp:
- Sep 17, 2007 7:27:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c
r4850 r4867 106 106 case RTR0MEMOBJTYPE_LOCK: 107 107 { 108 cmn_err(CE_NOTE, "rtR0MemObjNativeFree: LOCK\n");109 108 struct as *addrSpace; 110 109 if (pMemSolaris->Core.u.Lock.R0Process == NIL_RTR0PROCESS) … … 121 120 struct hat *hatSpace; 122 121 struct as *addrSpace; 123 cmn_err(CE_NOTE, "rtR0MemObjNativeFree: MAPPING\n");124 122 if (pMemSolaris->Core.u.Mapping.R0Process == NIL_RTR0PROCESS) 125 123 { 126 124 /* Kernel process*/ 127 cmn_err(CE_NOTE, "rtR0MemObjNativeFree: MAPPING: kernel\n");128 125 hatSpace = kas.a_hat; 129 126 addrSpace = &kas; … … 132 129 { 133 130 /* User process */ 134 cmn_err(CE_NOTE, "rtR0MemObjNativeFree: MAPPING: userProcess\n");135 131 proc_t *userProc = (proc_t *)pMemSolaris->Core.u.Mapping.R0Process; 136 132 hatSpace = userProc->p_as->a_hat; … … 140 136 hat_unload(hatSpace, pMemSolaris->Core.pv, pMemSolaris->Core.cb, HAT_UNLOAD_UNLOCK); 141 137 as_unmap(addrSpace, pMemSolaris->Core.pv, pMemSolaris->Core.cb); 142 cmn_err(CE_NOTE, "rtR0MemObjNativeFree: MAPPING: removed fine\n");143 138 break; 144 139 } … … 403 398 pMemSolaris->Core.pv = addr; 404 399 *ppMem = &pMemSolaris->Core; 405 cmn_err(CE_NOTE, "done rtR0MemObjNativeMapKernel: Core.pv=%p\n", addr);406 400 return VINF_SUCCESS; 407 401 } … … 511 505 pMemSolaris->Core.pv = addr; 512 506 *ppMem = &pMemSolaris->Core; 513 cmn_err(CE_NOTE, "done MemObjNativeMapUser: Core.pv=%p\n", addr);514 507 return VINF_SUCCESS; 515 508 }
Note:
See TracChangeset
for help on using the changeset viewer.