- Timestamp:
- Aug 15, 2016 10:54:50 PM (8 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/log/log.cpp
r62566 r63509 359 359 }; 360 360 361 #ifdef IN_RING3 361 362 /** Log rotation backoff table - millisecond sleep intervals. 362 363 * Important on Windows host, especially for VBoxSVC release logging. Only a … … 366 367 static const uint32_t g_acMsLogBackoff[] = 367 368 { 10, 10, 10, 20, 50, 100, 200, 200, 200, 200, 500, 500, 500, 500, 1000, 1000, 1000, 1000, 1000, 1000, 1000 }; 369 #endif 368 370 369 371 -
trunk/src/VBox/Runtime/generic/RTMpOnPair-generic.cpp
r62477 r63509 64 64 static DECLCALLBACK(void) rtMpOnPairGenericWorker(RTCPUID idCpu, void *pvUser1, void *pvUser2) 65 65 { 66 RT_NOREF(pvUser2); 66 67 PRTMPONPAIRGENERIC pArgs = (PRTMPONPAIRGENERIC)pvUser1; 67 68 -
trunk/src/VBox/Runtime/r0drv/darwin/memuserkernel-r0drv-darwin.cpp
r62477 r63509 106 106 RTR0DECL(int) RTR0MemKernelCopyFrom(void *pvDst, void const *pvSrc, size_t cb) 107 107 { 108 RT_NOREF(pvDst, pvSrc, cb); 108 109 return VERR_NOT_SUPPORTED; 109 110 } … … 112 113 RTR0DECL(int) RTR0MemKernelCopyTo(void *pvDst, void const *pvSrc, size_t cb) 113 114 { 115 RT_NOREF(pvDst, pvSrc, cb); 114 116 return VERR_NOT_SUPPORTED; 115 117 } -
trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp
r62477 r63509 164 164 { 165 165 /** @todo darwin R0 MP (rainy day) */ 166 RT_NOREF(idCpu); 166 167 return 0; 167 168 } … … 171 172 { 172 173 /** @todo darwin R0 MP (rainy day) */ 174 RT_NOREF(idCpu); 173 175 return 0; 174 176 } -
trunk/src/VBox/Runtime/r0drv/darwin/semevent-r0drv-darwin.cpp
r62477 r63509 96 96 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...) 97 97 { 98 RT_NOREF(hClass, pszNameFmt); 98 99 AssertCompile(sizeof(RTSEMEVENTINTERNAL) > sizeof(void *)); 99 100 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER); … … 245 246 PCRTLOCKVALSRCPOS pSrcPos) 246 247 { 248 RT_NOREF(pSrcPos); 249 247 250 /* 248 251 * Validate the input. -
trunk/src/VBox/Runtime/r0drv/darwin/semeventmulti-r0drv-darwin.cpp
r62477 r63509 100 100 const char *pszNameFmt, ...) 101 101 { 102 RT_NOREF(hClass, pszNameFmt); 102 103 AssertReturn(!(fFlags & ~RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER); 103 104 AssertCompile(sizeof(RTSEMEVENTMULTIINTERNAL) > sizeof(void *)); … … 264 265 PCRTLOCKVALSRCPOS pSrcPos) 265 266 { 267 RT_NOREF(pSrcPos); 268 266 269 /* 267 270 * Validate input. -
trunk/src/VBox/Runtime/r0drv/darwin/semmutex-r0drv-darwin.cpp
r62477 r63509 79 79 RTLOCKVALCLASS hClass, uint32_t uSubClass, const char *pszNameFmt, ...) 80 80 { 81 RT_NOREF(hClass, uSubClass, pszNameFmt); 81 82 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER); 82 83 RT_ASSERT_PREEMPTIBLE(); … … 326 327 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) 327 328 { 329 RT_SRC_POS_NOREF(); RT_NOREF(uId); 328 330 return RTSemMutexRequest(hMutexSem, cMillies); 329 331 } … … 338 340 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) 339 341 { 342 RT_SRC_POS_NOREF(); RT_NOREF(uId); 340 343 return RTSemMutexRequestNoResume(hMutexSem, cMillies); 341 344 } -
trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h
r62477 r63509 52 52 #endif 53 53 54 #if defined(__clang__) || RT_GNUC_PREREQ(4, 4) 55 # pragma GCC diagnostic push 56 #endif 57 #if defined(__clang__) || RT_GNUC_PREREQ(4, 2) 58 # pragma GCC diagnostic ignored "-Wc++11-extensions" 59 # pragma GCC diagnostic ignored "-Wc99-extensions" 60 # pragma GCC diagnostic ignored "-Wextra-semi" 61 # pragma GCC diagnostic ignored "-Wzero-length-array" 62 # pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments" 63 #endif 64 54 65 /* now we're ready for including the rest of the Darwin headers. */ 55 66 #include <kern/thread.h> … … 79 90 #include <IOKit/IOBufferMemoryDescriptor.h> 80 91 #include <IOKit/IOMapper.h> 92 93 #if defined(__clang__) || RT_GNUC_PREREQ(4, 4) 94 # pragma GCC diagnostic pop 95 #endif 81 96 82 97 -
trunk/src/VBox/Runtime/r0drv/darwin/thread2-r0drv-darwin.cpp
r62477 r63509 133 133 DECLHIDDEN(int) rtThreadNativeAdopt(PRTTHREADINT pThread) 134 134 { 135 RT_NOREF(pThread); 135 136 return VERR_NOT_IMPLEMENTED; 136 137 } … … 139 140 DECLHIDDEN(void) rtThreadNativeWaitKludge(PRTTHREADINT pThread) 140 141 { 142 RT_NOREF(pThread); 141 143 /** @todo fix RTThreadWait/RTR0Term race on darwin. */ 142 144 RTThreadSleep(1); … … 146 148 DECLHIDDEN(void) rtThreadNativeDestroy(PRTTHREADINT pThread) 147 149 { 148 NOREF(pThread);150 RT_NOREF(pThread); 149 151 } 150 152 … … 160 162 static void rtThreadNativeMain(void *pvArg, wait_result_t Ignored) 161 163 { 164 RT_NOREF(Ignored); 162 165 const thread_t Self = current_thread(); 163 166 PRTTHREADINT pThread = (PRTTHREADINT)pvArg; -
trunk/src/VBox/Runtime/r0drv/darwin/threadpreempt-r0drv-darwin.cpp
r62477 r63509 111 111 RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread) 112 112 { 113 RT_NOREF(hThread); 113 114 if (!g_pfnR0DarwinAstPending) 114 115 return false;
Note:
See TracChangeset
for help on using the changeset viewer.