- Timestamp:
- Aug 15, 2016 12:39:40 AM (8 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r63407 r63451 267 267 RT_NO_GIP \ 268 268 RT_WITHOUT_NOCRT_WRAPPERS \ 269 IPRT_WITH_OPENSSL 269 IPRT_WITH_OPENSSL \ 270 NOFILEID 270 271 #RuntimeR3_DEFS += RTMEM_WRAP_TO_EF_APIS 271 272 ifdef IPRT_WITH_KSTUFF … … 1829 1830 # 1830 1831 RuntimeR0_TEMPLATE = VBoxR0 1831 RuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX 1832 RuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX NOFILEID 1832 1833 ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86) 1833 1834 RuntimeR0_DEFS += RT_NO_GIP … … 1976 1977 RuntimeR0Drv_TEMPLATE = VBoxR0DrvLib 1977 1978 RuntimeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK)INCS VBOX_OPENSSL 1978 RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL 1979 RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL NOFILEID 1979 1980 RuntimeR0Drv_DEFS.win = IN_SUP_R0 LDR_ONLY_PE 1980 1981 RuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0 … … 2544 2545 # 2545 2546 RuntimeRC_TEMPLATE = VBoxRc 2546 RuntimeRC_DEFS = IN_RT_RC RT_WITH_VBOX IN_SUP_RC IN_VMM_RC 2547 RuntimeRC_DEFS = IN_RT_RC RT_WITH_VBOX IN_SUP_RC IN_VMM_RC NOFILEID 2547 2548 RuntimeRC_INCS = include 2548 2549 RuntimeRC_SOURCES := \ -
trunk/src/VBox/Runtime/common/asn1/asn1-cursor.cpp
r62584 r63451 56 56 # define RTASN1_MAX_NESTING 32 57 57 #endif 58 59 60 /*********************************************************************************************************************************61 * Global Variables *62 *********************************************************************************************************************************/63 static char const g_achDigits[11] = "0123456789";64 58 65 59 -
trunk/src/VBox/Runtime/common/asn1/asn1-ut-string.cpp
r62564 r63451 207 207 208 208 209 #if 0 /* unused */ 209 210 /** GL mappings for ISO-IR-87 (Japanese), with space and delete. */ 210 211 static const RTISO2022MAP g_IsoIr87Map = … … 217 218 { 0x24, 0x2b, 0x42, 0xff, 0xff, 0xff } /* Esc into G3 */, 218 219 }; 220 #endif 219 221 220 222 -
trunk/src/VBox/Runtime/common/crypto/store-cert-add-basic.cpp
r62477 r63451 82 82 83 83 84 #ifdef RT_STRICT 84 85 /** 85 86 * Checks if we've found all the certificates already. … … 96 97 return true; 97 98 } 99 #endif /* RT_STRICT */ 98 100 99 101 -
trunk/src/VBox/Runtime/common/math/bignum.cpp
r62477 r63451 177 177 178 178 179 #if !defined(IPRT_BIGINT_WITH_ASM) || defined(RT_STRICT) 179 180 /** 180 181 * Does addition with borrow. … … 197 198 return uRet; 198 199 } 200 #endif 199 201 200 202 /** @} */ … … 282 284 } 283 285 286 #if 0 /* unused */ 284 287 DECLINLINE(void) rtBigNumElement2xAdd1x(RTBIGNUMELEMENT2X *puValue, RTBIGNUMELEMENT uAdd) 285 288 { … … 290 293 #endif 291 294 } 295 #endif /* unused */ 292 296 293 297 /** @} */ … … 1615 1619 1616 1620 1621 #if 0 /* unused */ 1617 1622 /** 1618 1623 * Clears a bit in the magnitude of @a pBigNum. … … 1634 1639 } 1635 1640 } 1641 #endif /* unused */ 1636 1642 1637 1643 … … 1659 1665 1660 1666 1667 #if 0 /* unused */ 1661 1668 /** 1662 1669 * Writes a bit in the magnitude of @a pBigNum. … … 1676 1683 return VINF_SUCCESS; 1677 1684 } 1685 #endif 1678 1686 1679 1687 -
trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp
r62564 r63451 1569 1569 1570 1570 1571 #if 0 /* unused */ 1571 1572 /** 1572 1573 * Gets the lock name for the given record. … … 1606 1607 } 1607 1608 } 1608 1609 1609 #endif /* unused */ 1610 1611 1612 #if 0 /* unused */ 1610 1613 /** 1611 1614 * Gets the class for this locking record. … … 1665 1668 } 1666 1669 } 1667 1670 #endif /* unused */ 1668 1671 1669 1672 /** -
trunk/src/VBox/Runtime/generic/RTSystemShutdown-generic.cpp
r62477 r63451 38 38 RTDECL(int) RTSystemShutdown(RTMSINTERVAL cMsDelay, uint32_t fFlags, const char *pszLogMsg) 39 39 { 40 RT_NOREF(cMsDelay, pszLogMsg); 40 41 AssertPtrReturn(pszLogMsg, VERR_INVALID_POINTER); 41 42 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER); -
trunk/src/VBox/Runtime/generic/http-curl.cpp
r62635 r63451 980 980 * 981 981 * @returns Array of proxy configs (CFProxySupport.h style). 982 * @param pThis The HTTP client instance.983 982 * @param hUrlTarget The URL we're about to use. 984 983 * @param hUrlScript The PAC script URL. 985 984 */ 986 static CFArrayRef rtHttpDarwinExecuteProxyAutoConfigurationUrl( PRTHTTPINTERNAL pThis,CFURLRef hUrlTarget, CFURLRef hUrlScript)985 static CFArrayRef rtHttpDarwinExecuteProxyAutoConfigurationUrl(CFURLRef hUrlTarget, CFURLRef hUrlScript) 987 986 { 988 987 char szTmp[256]; … … 1070 1069 1071 1070 int rcRet = VINF_NOT_SUPPORTED; 1072 CFArrayRef hArray = rtHttpDarwinExecuteProxyAutoConfigurationUrl( pThis,hUrlTarget, hUrlScript);1071 CFArrayRef hArray = rtHttpDarwinExecuteProxyAutoConfigurationUrl(hUrlTarget, hUrlScript); 1073 1072 if (hArray) 1074 1073 { … … 1180 1179 */ 1181 1180 static int rtHttpDarwinConfigureProxyForUrlWorker(PRTHTTPINTERNAL pThis, CFDictionaryRef hDictProxies, 1182 const char *pszUrl, PRTURIPARSED pParsed,const char *pszHost)1181 const char *pszUrl, const char *pszHost) 1183 1182 { 1184 1183 CFArrayRef hArray; … … 1259 1258 CFRelease(hArray); 1260 1259 1261 hArray = rtHttpDarwinExecuteProxyAutoConfigurationUrl( pThis,hUrlTarget, hUrlScript);1260 hArray = rtHttpDarwinExecuteProxyAutoConfigurationUrl(hUrlTarget, hUrlScript); 1262 1261 if (hArray) 1263 1262 { … … 1334 1333 CFDictionaryRef hDictProxies = CFNetworkCopySystemProxySettings(); /* Alt for 10.5: SCDynamicStoreCopyProxies(NULL); */ 1335 1334 if (hDictProxies) 1336 rc = rtHttpDarwinConfigureProxyForUrlWorker(pThis, hDictProxies, pszUrl, &Parsed,pszHost);1335 rc = rtHttpDarwinConfigureProxyForUrlWorker(pThis, hDictProxies, pszUrl, pszHost); 1337 1336 else 1338 1337 rc = VINF_NOT_SUPPORTED; -
trunk/src/VBox/Runtime/r0drv/darwin/alloc-r0drv-darwin.cpp
r62477 r63451 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" /* (IOMallocContiguous et al are deprecated) */ 31 32 #include "the-darwin-kernel.h" 32 33 #include "internal/iprt.h" -
trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
r62477 r63451 771 771 /* Validate the sections. */ 772 772 uint32_t uAlignment = 0; 773 uintptr_t uAddr = pSeg->vmaddr;774 773 MY_SECTION const *paSects = (MY_SECTION const *)(pSeg + 1); 775 774 for (uint32_t i = 0; i < pSeg->nsects; i++) … … 1167 1166 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 1168 1167 AssertMsgReturn(pThis->u32Magic == RTDBGKRNLINFO_MAGIC, ("%p: u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_HANDLE); 1169 AssertPtrReturn(pszMember, VERR_INVALID_PARAMETER); 1170 AssertPtrReturn(pszStructure, VERR_INVALID_PARAMETER); 1171 AssertPtrReturn(poffMember, VERR_INVALID_PARAMETER); 1168 AssertPtrReturn(pszMember, VERR_INVALID_POINTER); 1169 AssertPtrReturn(pszModule, VERR_INVALID_POINTER); 1170 AssertPtrReturn(pszStructure, VERR_INVALID_POINTER); 1171 AssertPtrReturn(poffMember, VERR_INVALID_POINTER); 1172 1172 return VERR_NOT_FOUND; 1173 1173 } -
trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp
r62477 r63451 78 78 } 79 79 80 81 #if 0 /* unused */ 80 82 /** 81 83 * Internal worker that determines the current number of logical CPUs (hyperthreads). … … 93 95 return 1; 94 96 } 97 #endif /* unused */ 98 95 99 96 100 /** -
trunk/src/VBox/Runtime/r3/generic/allocex-r3-generic.cpp
r62477 r63451 41 41 DECLHIDDEN(int) rtMemAllocEx16BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) 42 42 { 43 RT_NOREF(cbAlloc, fFlags, ppv); 43 44 return VERR_NOT_SUPPORTED; 44 45 } … … 47 48 DECLHIDDEN(int) rtMemAllocEx32BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) 48 49 { 50 RT_NOREF(cbAlloc, fFlags, ppv); 49 51 return VERR_NOT_SUPPORTED; 50 52 } … … 53 55 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags) 54 56 { 57 RT_NOREF(pv, cb, fFlags); 55 58 AssertFailed(); 56 59 } -
trunk/src/VBox/Runtime/testcase/tstRTDarwinMachKernel.cpp
r62477 r63451 66 66 67 67 68 int main( int argc, char **argv)68 int main() 69 69 { 70 70 RTTEST hTest; -
trunk/src/VBox/Runtime/testcase/tstRTR0DbgKrnlInfo.cpp
r62477 r63451 94 94 RTR0TESTR0_CHECK_RC_BREAK(RTR0DbgKrnlInfoQuerySymbol(hKrnlInfo, NULL, NULL, &pvSymbol), VERR_INVALID_PARAMETER); 95 95 96 RT DBGKRNLINFO hTmp = hKrnlInfo;96 RTR0DbgKrnlInfoRelease(hKrnlInfo); 97 97 hKrnlInfo = NIL_RTDBGKRNLINFO; 98 RTR0DbgKrnlInfoRelease(hKrnlInfo);99 98 uint32_t cRefs; 100 RTR0TESTR0_CHECK_MSG((cRefs = RTR0DbgKrnlInfoRelease( hKrnlInfo)) == 0, ("cRefs=%#x", cRefs));99 RTR0TESTR0_CHECK_MSG((cRefs = RTR0DbgKrnlInfoRelease(NIL_RTDBGKRNLINFO)) == 0, ("cRefs=%#x", cRefs)); 101 100 break; 102 101 } -
trunk/src/VBox/Runtime/testcase/tstRTR0DbgKrnlInfoDriver.cpp
r62477 r63451 48 48 extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv, char **envp) 49 49 { 50 RT_NOREF(argc, argv, envp); 50 51 #ifndef VBOX 51 52 RTPrintf("tstSup: SKIPPED\n"); -
trunk/src/VBox/Runtime/testcase/tstVector.cpp
r62724 r63451 57 57 58 58 /* Start by instantiating each function once for syntax checking */ 59 #ifdef __clang__ 60 # pragma GCC diagnostic ignored "-Wunused-function" /* https://llvm.org/bugs/show_bug.cgi?id=22712 */ 61 #endif 59 62 RTVEC_DECL_STRUCT(tstInstance, void *) 60 63 RTVEC_DECL_STRUCT(tstInstance2, void *) … … 69 72 RTVEC_DECLFN_PUSHBACK(tstInstance, void *) 70 73 RTVEC_DECLFN_POPBACK(tstInstance) 71 RTVEC_DECLFN_POPBACK_DELETE(tstInstance2, void *, deletePVoid, 72 tstInstanceDeleteAdapterId) 74 RTVEC_DECLFN_POPBACK_DELETE(tstInstance2, void *, deletePVoid, tstInstanceDeleteAdapterId) 73 75 RTVEC_DECLFN_CLEAR(tstInstance) 74 RTVEC_DECLFN_CLEAR_DELETE(tstInstance2, deletePVoid, 75 tstInstanceDeleteAdapterId) 76 RTVEC_DECLFN_CLEAR_DELETE(tstInstance2, deletePVoid, tstInstanceDeleteAdapterId) 76 77 RTVEC_DECLFN_DETACH(tstInstance, void *) 77 78
Note:
See TracChangeset
for help on using the changeset viewer.