Changeset 75133 in vbox for trunk/src/VBox
- Timestamp:
- Oct 28, 2018 5:49:49 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/os2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/os2/memobj-r0drv-os2.cpp
r73097 r75133 80 80 AssertMsgFailed(("RTR0MEMOBJTYPE_PHYS_NC\n")); 81 81 return VERR_INTERNAL_ERROR; 82 break;83 82 84 83 case RTR0MEMOBJTYPE_PHYS: … … 309 308 DECLHIDDEN(int) rtR0MemObjNativeReserveKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment) 310 309 { 310 RT_NOREF(ppMem, pvFixed, cb, uAlignment); 311 311 return VERR_NOT_SUPPORTED; 312 312 } … … 316 316 RTR0PROCESS R0Process) 317 317 { 318 RT_NOREF(ppMem, R3PtrFixed, cb, uAlignment, R0Process); 318 319 return VERR_NOT_SUPPORTED; 319 320 } … … 356 357 AssertMsgReturn(fProt & RTMEM_PROT_WRITE, ("%#x\n", fProt), VERR_NOT_SUPPORTED); 357 358 Assert(!pMemToMapOs2->Core.u.Phys.fAllocated); 358 ULONG ulPhys = pMemToMapOs2->Core.u.Phys.PhysBase; 359 ULONG ulPhys = (ULONG)pMemToMapOs2->Core.u.Phys.PhysBase; 360 AssertReturn(ulPhys == pMemToMapOs2->Core.u.Phys.PhysBase, VERR_OUT_OF_RANGE); 359 361 rc = KernVMAlloc(pMemToMapOs2->Core.cb, VMDHA_PHYS, &pvR0, (PPVOID)&ulPhys, NULL); 360 362 if (rc) … … 367 369 AssertMsgFailed(("RTR0MEMOBJTYPE_PHYS_NC\n")); 368 370 return VERR_INTERNAL_ERROR_3; 369 break;370 371 371 372 case RTR0MEMOBJTYPE_LOCK: … … 444 445 AssertMsgFailed(("RTR0MEMOBJTYPE_PHYS_NC\n")); 445 446 return VERR_INTERNAL_ERROR_5; 446 break;447 447 448 448 case RTR0MEMOBJTYPE_LOCK: -
trunk/src/VBox/Runtime/r0drv/os2/memuserkernel-r0drv-os2.cpp
r69111 r75133 79 79 RTR0DECL(int) RTR0MemKernelCopyFrom(void *pvDst, void const *pvSrc, size_t cb) 80 80 { 81 RT_NOREF(pvDst, pvSrc, cb); 81 82 return VERR_NOT_SUPPORTED; 82 83 } … … 85 86 RTR0DECL(int) RTR0MemKernelCopyTo(void *pvDst, void const *pvSrc, size_t cb) 86 87 { 88 RT_NOREF(pvDst, pvSrc, cb); 87 89 return VERR_NOT_SUPPORTED; 88 90 } -
trunk/src/VBox/Runtime/r0drv/os2/semeventmulti-r0drv-os2.cpp
r57358 r75133 91 91 return VINF_SUCCESS; 92 92 } 93 RT_NOREF(hClass, pszNameFmt); 93 94 return VERR_NO_MEMORY; 94 95 } … … 178 179 PCRTLOCKVALSRCPOS pSrcPos) 179 180 { 181 RT_NOREF(pSrcPos); 182 180 183 /* 181 184 * Validate and convert the input. -
trunk/src/VBox/Runtime/r0drv/os2/spinlock-r0drv-os2.cpp
r57358 r75133 67 67 { 68 68 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER); 69 RT_NOREF(pszName); 69 70 70 71 /* -
trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp
r57358 r75133 289 289 if (!rtTimerIsValid(pTimer)) 290 290 return VERR_INVALID_HANDLE; 291 291 RT_NOREF(u64NanoInterval); 292 292 return VERR_NOT_SUPPORTED; 293 293 } … … 367 367 RTDECL(int) RTTimerRequestSystemGranularity(uint32_t u32Request, uint32_t *pu32Granted) 368 368 { 369 RT_NOREF(u32Request, pu32Granted); 369 370 return VERR_NOT_SUPPORTED; 370 371 } … … 373 374 RTDECL(int) RTTimerReleaseSystemGranularity(uint32_t u32Granted) 374 375 { 376 RT_NOREF(u32Granted); 375 377 return VERR_NOT_SUPPORTED; 376 378 }
Note:
See TracChangeset
for help on using the changeset viewer.