Changeset 23610 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Oct 7, 2009 9:22:10 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c
r22073 r23610 272 272 273 273 274 int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3Ptr, size_t cb, RTR0PROCESS R0Process)274 int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3Ptr, size_t cb, uint32_t fAccess, RTR0PROCESS R0Process) 275 275 { 276 276 AssertReturn(R0Process == RTR0ProcHandleSelf(), VERR_INVALID_PARAMETER); 277 NOREF(fAccess); 277 278 278 279 /* Create the locking object */ … … 306 307 307 308 308 int rtR0MemObjNativeLockKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb) 309 { 309 int rtR0MemObjNativeLockKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb, uint32_t fAccess) 310 { 311 NOREF(fAccess); 312 310 313 /* Create the locking object */ 311 314 PRTR0MEMOBJSOLARIS pMemSolaris = (PRTR0MEMOBJSOLARIS)rtR0MemObjNew(sizeof(*pMemSolaris), RTR0MEMOBJTYPE_LOCK, pv, cb); -
trunk/src/VBox/Runtime/r0drv/solaris/vbi/memobj-r0drv-solaris.c
r22073 r23610 213 213 214 214 215 int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3Ptr, size_t cb, RTR0PROCESS R0Process)215 int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, RTR3PTR R3Ptr, size_t cb, uint32_t fAccess, RTR0PROCESS R0Process) 216 216 { 217 217 AssertReturn(R0Process == RTR0ProcHandleSelf(), VERR_INVALID_PARAMETER); 218 NOREF(fAccess); 218 219 219 220 /* Create the locking object */ … … 239 240 240 241 241 int rtR0MemObjNativeLockKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb) 242 { 242 int rtR0MemObjNativeLockKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb, uint32_t fAccess) 243 { 244 NOREF(fAccess); 245 243 246 PRTR0MEMOBJSOLARIS pMemSolaris = (PRTR0MEMOBJSOLARIS)rtR0MemObjNew(sizeof(*pMemSolaris), RTR0MEMOBJTYPE_LOCK, pv, cb); 244 247 if (!pMemSolaris)
Note:
See TracChangeset
for help on using the changeset viewer.