Changeset 39084 in vbox for trunk/src/VBox/VMM/testcase
- Timestamp:
- Oct 22, 2011 12:37:15 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 74516
- Location:
- trunk/src/VBox/VMM/testcase
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstAnimate.cpp
r38636 r39084 54 54 static void SigInterrupt(int iSignal) 55 55 { 56 NOREF(iSignal); 56 57 signal(SIGINT, SigInterrupt); 57 58 g_fSignaled = true; … … 63 64 static int scriptGPReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) 64 65 { 66 NOREF(pszVar); 65 67 uint32_t u32; 66 68 int rc = RTStrToUInt32Ex(pszValue, NULL, 16, &u32); … … 74 76 static int scriptSelReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) 75 77 { 78 NOREF(pszVar); 76 79 uint16_t u16; 77 80 int rc = RTStrToUInt16Ex(pszValue, NULL, 16, &u16); … … 85 88 static int scriptSysReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) 86 89 { 90 NOREF(pszVar); 87 91 uint32_t u32; 88 92 int rc = RTStrToUInt32Ex(pszValue, NULL, 16, &u32); … … 97 101 static int scriptDtrReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) 98 102 { 103 NOREF(pszVar); 99 104 char *pszPart2 = strchr(pszValue, ':'); 100 105 if (!pszPart2) … … 125 130 static int scriptCommand(PVM pVM, const char *pszIn, size_t cch) 126 131 { 132 NOREF(cch); 127 133 int rc = VINF_SUCCESS; 128 134 char *psz = RTStrDup(pszIn); -
trunk/src/VBox/VMM/testcase/tstCompressionBenchmark.cpp
r38636 r39084 64 64 static DECLCALLBACK(int) ComprOutCallback(void *pvUser, const void *pvBuf, size_t cbBuf) 65 65 { 66 NOREF(pvUser); 66 67 AssertReturn(g_cbCompr + cbBuf <= g_cbComprAlloc, VERR_BUFFER_OVERFLOW); 67 68 memcpy(&g_pabCompr[g_cbCompr], pvBuf, cbBuf); … … 75 76 static DECLCALLBACK(int) DecomprInCallback(void *pvUser, void *pvBuf, size_t cbBuf, size_t *pcbBuf) 76 77 { 78 NOREF(pvUser); 77 79 size_t cb = RT_MIN(cbBuf, g_cbCompr - g_offComprIn); 78 80 if (pcbBuf) -
trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletion.cpp
r38636 r39084 62 62 { 63 63 LogFlow((TESTCASE ": %s: pVM=%p pvUser=%p pvUser2=%p\n", __FUNCTION__, pVM, pvUser, pvUser2)); 64 NOREF(rc); 64 65 65 66 uint32_t cTasksStillLeft = ASMAtomicDecU32(&g_cTasksLeft); -
trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletionStress.cpp
r38636 r39084 392 392 PPDMACTESTFILE pTestFile = (PPDMACTESTFILE)pvUser2; 393 393 PPDMACTESTFILETASK pTestTask = (PPDMACTESTFILETASK)pvUser; 394 NOREF(pVM); NOREF(rcReq); 394 395 395 396 if (pTestTask->fWrite) -
trunk/src/VBox/VMM/testcase/tstVMM-HwAccm.cpp
r38636 r39084 39 39 40 40 41 DECLCALLBACK(int) CFGMConstructor(PVM pVM, void *pvUser)41 static DECLCALLBACK(int) CFGMConstructor(PVM pVM, void *pvUser) 42 42 { 43 NOREF(pvUser); 44 43 45 /* 44 46 * Get root node first. -
trunk/src/VBox/VMM/testcase/tstVMMR0CallHost-1.cpp
r38636 r39084 56 56 int foo(int i, int iZero, int iMinusOne) 57 57 { 58 NOREF(iZero); 59 58 60 /* allocate a buffer which we fill up to the end. */ 59 61 size_t cb = (i % 1555) + 32; -
trunk/src/VBox/VMM/testcase/tstVMREQ.cpp
r38636 r39084 51 51 static DECLCALLBACK(void) MyAtRuntimeError(PVM pVM, void *pvUser, uint32_t fFlags, const char *pszErrorId, const char *pszFormat, va_list va) 52 52 { 53 NOREF(pVM); 53 54 if (strcmp((const char *)pvUser, "user argument")) 54 55 { … … 87 88 static DECLCALLBACK(int) PassVACallback(PVM pVM, unsigned u4K, unsigned u1G, const char *pszFormat, va_list *pva) 88 89 { 90 NOREF(pVM); 89 91 if (u4K != _4K) 90 92 { … … 163 165 * Thread function which allocates and frees requests like wildfire. 164 166 */ 165 static DECLCALLBACK(int) Thread(RTTHREAD Thread, void *pvUser)167 static DECLCALLBACK(int) Thread(RTTHREAD hThreadSelf, void *pvUser) 166 168 { 167 169 int rc = VINF_SUCCESS; 168 170 PVM pVM = (PVM)pvUser; 171 NOREF(hThreadSelf); 172 169 173 for (unsigned i = 0; i < 100000; i++) 170 174 { -
trunk/src/VBox/VMM/testcase/tstX86-1.cpp
r36865 r39084 89 89 { 90 90 ucontext_t *pCtx = (ucontext_t *)pvSigCtx; 91 NOREF(pSigInfo); 91 92 92 93 # if defined(RT_ARCH_AMD64) && defined(RT_OS_DARWIN)
Note:
See TracChangeset
for help on using the changeset viewer.