Changeset 63369 in vbox
- Timestamp:
- Aug 12, 2016 4:45:31 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110010
- Location:
- trunk/src/VBox
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r63221 r63369 1038 1038 static void setSizesAndCursorIntegration(ScrnInfoPtr pScrn, bool fScreenInitTime) 1039 1039 { 1040 RT_NOREF(fScreenInitTime); 1040 1041 TRACE_LOG("fScreenInitTime=%d\n", (int)fScreenInitTime); 1041 1042 #ifdef VBOXVIDEO_13 -
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r63362 r63369 61 61 #endif 62 62 63 #ifdef DEBUG 63 64 DECLINLINE(void) audioMixBufDbgPrintInternal(PPDMAUDIOMIXBUF pMixBuf); 65 #endif 64 66 65 67 /* … … 1139 1141 1140 1142 #ifdef DEBUG 1143 1141 1144 /** 1142 1145 * Prints a single mixing buffer. … … 1245 1248 audioMixBufDbgPrintInternal(pMixBuf); 1246 1249 } 1247 #endif 1250 1251 #endif /* DEBUG */ 1248 1252 1249 1253 /** -
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r63360 r63369 859 859 rc = AudioMixBufMixToParent(&pStream->MixBuf, cWrittenTotal, 860 860 &cProcessed);*/ 861 NOREF(cProcessed); 861 862 if (pcbRead) 862 863 *pcbRead = cWrittenTotal; -
trunk/src/VBox/Devices/Network/DevE1000Phy.cpp
r62632 r63369 51 51 /* Internals */ 52 52 namespace Phy { 53 #if defined(LOG_ENABLED) && !defined(PHY_UNIT_TEST) 53 54 /** Retrieves state name by id */ 54 55 static const char * getStateName(uint16_t u16State); 56 #endif 55 57 /** Look up register index by address. */ 56 58 static int lookupRegister(uint32_t u32Address); … … 478 480 } 479 481 482 #if defined(LOG_ENABLED) && !defined(PHY_UNIT_TEST) 480 483 static const char * Phy::getStateName(uint16_t u16State) 481 484 { … … 493 496 return (u16State < RT_ELEMENTS(pcszState)) ? pcszState[u16State] : "<invalid>"; 494 497 } 498 #endif 495 499 496 500 bool Phy::readMDIO(PPHY pPhy) -
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r63218 r63369 169 169 PCPDMNETWORKGSO pGso, PPPDMSCATTERGATHER ppSgBuf) 170 170 { 171 RT_NOREF(pInterface); 172 #ifdef VBOX_STRICT 171 173 PDRVTAP pThis = PDMINETWORKUP_2_DRVTAP(pInterface); 172 174 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 175 #endif 173 176 174 177 /* … … 214 217 static DECLCALLBACK(int) drvTAPNetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) 215 218 { 219 RT_NOREF(pInterface); 220 #ifdef VBOX_STRICT 216 221 PDRVTAP pThis = PDMINETWORKUP_2_DRVTAP(pInterface); 217 222 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 223 #endif 224 218 225 if (pSgBuf) 219 226 { -
trunk/src/VBox/Devices/Network/DrvVDE.cpp
r63211 r63369 138 138 PCPDMNETWORKGSO pGso, PPPDMSCATTERGATHER ppSgBuf) 139 139 { 140 RT_NOREF(pInterface); 141 #ifdef VBOX_STRICT 140 142 PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface); 141 143 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 144 #endif 142 145 143 146 /* … … 183 186 static DECLCALLBACK(int) drvVDENetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) 184 187 { 188 RT_NOREF(pInterface); 189 #ifdef VBOX_STRICT 185 190 PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface); 186 191 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 192 #endif 187 193 if (pSgBuf) 188 194 { -
trunk/src/VBox/Devices/PC/DevDMA.cpp
r62903 r63369 192 192 #define DMACH2C(c) (c < 4 ? 0 : 1) 193 193 194 #ifdef LOG_ENABLED 194 195 static int dmaChannelMap[8] = {-1, 2, 3, 1, -1, -1, -1, 0}; 195 196 /* Map a DMA page register offset (0-7) to channel index (0-3). */ 196 197 #define DMAPG2CX(c) (dmaChannelMap[c]) 198 #endif 197 199 198 200 static int dmaMapChannel[4] = {7, 3, 1, 2}; -
trunk/src/VBox/Devices/Storage/ATAPIPassthrough.cpp
r62926 r63369 415 415 } 416 416 417 #ifdef LOG_ENABLED 418 417 419 /** 418 420 * Converts the given track data form to a string. … … 494 496 } 495 497 } 498 499 #endif /* LOG_ENABLED */ 496 500 497 501 DECLHIDDEN(int) ATAPIPassthroughTrackListCreateEmpty(PTRACKLIST *ppTrackList) -
trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp
r62956 r63369 420 420 uint8_t *pabSense, size_t cbSense, uint32_t cTimeoutMillies) 421 421 { 422 RT_NOREF(cbSense); 422 423 PDRVHOSTBASE pThis = PDMIMEDIA_2_DRVHOSTBASE(pInterface); 423 424 int rc; -
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r63217 r63369 1280 1280 static int usbProxyLinuxSubmitURB(PUSBPROXYDEV pProxyDev, PUSBPROXYURBLNX pCur, PVUSBURB pUrb, bool *pfUnplugged) 1281 1281 { 1282 RT_NOREF(pUrb); 1282 1283 PUSBPROXYDEVLNX pDevLnx = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVLNX); 1283 1284 unsigned cTries = 0; -
trunk/src/VBox/Devices/VirtIO/Virtio.cpp
r62962 r63369 800 800 } 801 801 802 #ifdef VBOX_WITH_STATISTICS 802 803 /* WARNING! This function must never be used in multithreaded context! */ 803 804 static const char *vpciCounter(const char *pszDevFmt, 804 805 const char *pszCounter) 805 806 { 806 static char g_szCounterName[80];807 808 RTStrPrintf( g_szCounterName, sizeof(g_szCounterName),807 static char s_szCounterName[80]; 808 809 RTStrPrintf(s_szCounterName, sizeof(s_szCounterName), 809 810 "/Devices/%s/%s", pszDevFmt, pszCounter); 810 811 811 return g_szCounterName; 812 } 812 return s_szCounterName; 813 } 814 #endif 813 815 814 816 // TODO: header -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ctf_labels.c
r53657 r63369 39 39 * Labels are only supported in V2 or later 40 40 */ 41 if (fp->ctf_version < CTF_VERSION_2) 41 if (fp->ctf_version < CTF_VERSION_2) { 42 *ctl = NULL; /* Shup up, GCC! */ 43 *num_labels = 0; 42 44 return (ctf_set_errno(fp, ECTF_NOTSUP)); 45 } 43 46 44 47 h = (const ctf_header_t *)fp->ctf_data.cts_data; -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_lex.l
r62834 r63369 46 46 # ifdef _MSC_VER 47 47 # pragma warning(disable:4668 4131 4255) 48 # endif 49 # ifdef __GNUC__ 50 # if ((__GNUC__ << 16) + __GNUC_MINOR__) >= 0x4002 51 # pragma GCC diagnostic ignored "-Wunused-function" 52 # endif 48 53 # endif 49 54 # include <iprt/ctype.h> -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_printf.c
r62829 r63369 1434 1434 caddr_t addr; 1435 1435 size_t size; 1436 uint32_t flags ;1436 uint32_t flags VBDTUNASS(0); 1437 1437 1438 1438 if (pfd->pfd_preflen != 0) { -
trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
r63199 r63369 244 244 float strX = ((float)dstWidth) / srcWidth; 245 245 float strY = ((float)dstHeight) / srcHeight; 246 bool fScale = (dstWidth != srcWidth || dstHeight != srcHeight); 247 Assert(fScale); 246 Assert(dstWidth != srcWidth || dstHeight != srcHeight); 248 247 249 248 RTRECT Intersection; -
trunk/src/VBox/GuestHost/OpenGL/util/htable.cpp
r62814 r63369 158 158 { 159 159 void *pvOld = crHTablePutToSlot(pTbl, i, pvData); 160 Assert(!pvOld); 160 Assert(!pvOld); NOREF(pvOld); 161 161 pTbl->iNext2Search = i+1; 162 162 pTbl->iNext2Search %= pTbl->cSize; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r62594 r63369 1504 1504 /** @todo do we need to consider missing segments and ordering? */ 1505 1505 uint16_t cGrpNms = 0; 1506 uint16_t aiGrpNms[2] ;1506 uint16_t aiGrpNms[2] = { 0, 0 }; /* Shut up, GCC. */ 1507 1507 if (fHaveData) 1508 1508 aiGrpNms[cGrpNms++] = idxGrpData;
Note:
See TracChangeset
for help on using the changeset viewer.