- Timestamp:
- Aug 20, 2010 11:19:37 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r31157 r31829 47 47 #include <iprt/thread.h> 48 48 #include <iprt/uuid.h> 49 #i f defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD) || defined(RT_OS_WINDOWS)50 # include <iprt/net.h>51 # include <iprt/crc32.h>52 # include <iprt/string.h>49 #include <iprt/net.h> 50 #include <iprt/crc32.h> 51 #include <iprt/string.h> 52 #if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD) 53 53 # include <iprt/rand.h> 54 54 # include <iprt/path.h> … … 300 300 { "RTAssertSetMayPanic", (void *)RTAssertSetMayPanic }, 301 301 { "RTAssertAreQuiet", (void *)RTAssertAreQuiet }, 302 #ifdef RT_OS_WINDOWS 303 /* We need to include more of our runtime to prevent the dynamically linked R0 modules to get too large. */ 302 { "RTStrFormat", (void *)RTStrFormat }, 303 { "RTStrFormatNumber", (void *)RTStrFormatNumber }, 304 { "RTStrFormatTypeDeregister", (void *)RTStrFormatTypeDeregister }, 305 { "RTStrFormatTypeRegister", (void *)RTStrFormatTypeRegister }, 306 { "RTStrFormatTypeSetUser", (void *)RTStrFormatTypeSetUser }, 307 { "RTStrFormatV", (void *)RTStrFormatV }, 308 { "RTStrPrintf", (void *)RTStrPrintf }, 309 { "RTStrPrintfEx", (void *)RTStrPrintfEx }, 310 { "RTStrPrintfExV", (void *)RTStrPrintfExV }, 311 { "RTStrPrintfV", (void *)RTStrPrintfV }, 312 { "RTHandleTableAllocWithCtx", (void *)RTHandleTableAllocWithCtx }, 313 { "RTHandleTableCreate", (void *)RTHandleTableCreate }, 314 { "RTHandleTableCreateEx", (void *)RTHandleTableCreateEx }, 315 { "RTHandleTableDestroy", (void *)RTHandleTableDestroy }, 316 { "RTHandleTableFreeWithCtx", (void *)RTHandleTableFreeWithCtx }, 317 { "RTHandleTableLookupWithCtx", (void *)RTHandleTableLookupWithCtx }, 304 318 { "RTNetIPv4AddDataChecksum", (void *)RTNetIPv4AddDataChecksum }, 305 319 { "RTNetIPv4AddTCPChecksum", (void *)RTNetIPv4AddTCPChecksum }, … … 322 336 { "RTNetTCPChecksum", (void *)RTNetTCPChecksum }, 323 337 { "RTNetUDPChecksum", (void *)RTNetUDPChecksum }, 324 { "RTStrFormat", (void *)RTStrFormat },325 { "RTStrFormatNumber", (void *)RTStrFormatNumber },326 { "RTStrFormatTypeDeregister", (void *)RTStrFormatTypeDeregister },327 { "RTStrFormatTypeRegister", (void *)RTStrFormatTypeRegister },328 { "RTStrFormatTypeSetUser", (void *)RTStrFormatTypeSetUser },329 { "RTStrFormatV", (void *)RTStrFormatV },330 { "RTStrPrintf", (void *)RTStrPrintf },331 { "RTStrPrintfEx", (void *)RTStrPrintfEx },332 { "RTStrPrintfExV", (void *)RTStrPrintfExV },333 { "RTStrPrintfV", (void *)RTStrPrintfV },334 338 { "RTCrc32", (void *)RTCrc32 }, 335 339 { "RTCrc32Finish", (void *)RTCrc32Finish }, 336 340 { "RTCrc32Process", (void *)RTCrc32Process }, 337 341 { "RTCrc32Start", (void *)RTCrc32Start }, 338 { "RTHandleTableAllocWithCtx", (void *)RTHandleTableAllocWithCtx },339 { "RTHandleTableCreate", (void *)RTHandleTableCreate },340 { "RTHandleTableCreateEx", (void *)RTHandleTableCreateEx },341 { "RTHandleTableDestroy", (void *)RTHandleTableDestroy },342 { "RTHandleTableFreeWithCtx", (void *)RTHandleTableFreeWithCtx },343 { "RTHandleTableLookupWithCtx", (void *)RTHandleTableLookupWithCtx },344 #endif345 342 }; 346 343 … … 353 350 { 354 351 /* VBoxNetFlt */ 355 (PFNRT)RTCrc32,356 352 (PFNRT)RTErrConvertFromErrno, 357 (PFNRT)RTNetIPv4IsHdrValid,358 (PFNRT)RTNetIPv4TCPChecksum,359 (PFNRT)RTNetIPv4UDPChecksum,360 353 (PFNRT)RTUuidCompare, 361 354 (PFNRT)RTUuidCompareStr, -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r31157 r31829 193 193 * - Nothing. 194 194 */ 195 #define SUPDRV_IOC_VERSION 0x0015000 0195 #define SUPDRV_IOC_VERSION 0x00150001 196 196 197 197 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r31157 r31829 268 268 strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC); 269 269 CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION; 270 const uint32_t uMinVersion = /*(SUPDRV_IOC_VERSION & 0xffff0000) == 0x00150000270 const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00150000 271 271 ? 0x00150001 272 : */SUPDRV_IOC_VERSION & 0xffff0000;272 : SUPDRV_IOC_VERSION & 0xffff0000; 273 273 CookieReq.u.In.u32MinVersion = uMinVersion; 274 274 rc = suplibOsIOCtl(&g_supLibData, SUP_IOCTL_COOKIE, &CookieReq, SUP_IOCTL_COOKIE_SIZE); -
trunk/src/VBox/HostDrivers/Support/freebsd/Makefile
r28800 r31829 105 105 SRCS += \ 106 106 crc32.c \ 107 ipv4.c 107 ipv4.c \ 108 ipv6.c 108 109 109 110 .PATH: ${.CURDIR}/common/table -
trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv
r29250 r31829 36 36 ${PATH_ROOT}/include/iprt/cdefs.h=>include/iprt/cdefs.h \ 37 37 ${PATH_ROOT}/include/iprt/cpuset.h=>include/iprt/cpuset.h \ 38 ${PATH_ROOT}/include/iprt/crc.h=>include/iprt/crc.h \ 38 39 ${PATH_ROOT}/include/iprt/ctype.h=>include/iprt/ctype.h \ 39 40 ${PATH_ROOT}/include/iprt/err.h=>include/iprt/err.h \ … … 119 120 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/crc32.cpp=>common/checksum/crc32.c \ 120 121 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/ipv4.cpp=>common/checksum/ipv4.c \ 122 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/ipv6.cpp=>common/checksum/ipv6.c \ 121 123 ${PATH_ROOT}/src/VBox/Runtime/common/table/avlpv.cpp=>common/table/avlpv.c \ 122 124 ${PATH_ROOT}/src/VBox/Runtime/common/table/avl_Base.cpp.h=>common/table/avl_Base.cpp.h \ -
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r31245 r31829 6 6 # 7 7 # 8 # Copyright (C) 2006-20 07Oracle Corporation8 # Copyright (C) 2006-2010 Oracle Corporation 9 9 # 10 10 # This file is part of VirtualBox Open Source Edition (OSE), as … … 98 98 r0drv/generic/semspinmutex-r0drv-generic.o \ 99 99 common/alloc/alloc.o \ 100 common/checksum/crc32.o \ 100 101 common/checksum/ipv4.o \ 101 102 common/checksum/ipv6.o \ -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r31250 r31829 35 35 ${PATH_ROOT}/include/iprt/cdefs.h=>include/iprt/cdefs.h \ 36 36 ${PATH_ROOT}/include/iprt/cpuset.h=>include/iprt/cpuset.h \ 37 ${PATH_ROOT}/include/iprt/crc.h=>include/iprt/crc.h \ 37 38 ${PATH_ROOT}/include/iprt/ctype.h=>include/iprt/ctype.h \ 38 39 ${PATH_ROOT}/include/iprt/err.h=>include/iprt/err.h \ … … 80 81 ${PATH_ROOT}/src/VBox/Runtime/common/alloc/alloc.cpp=>common/alloc/alloc.c \ 81 82 ${PATH_ROOT}/src/VBox/Runtime/common/alloc/heapsimple.cpp=>common/alloc/heapsimple.c \ 83 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/crc32.cpp=>common/checksum/crc32.c \ 82 84 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/ipv4.cpp=>common/checksum/ipv4.c \ 83 85 ${PATH_ROOT}/src/VBox/Runtime/common/checksum/ipv6.cpp=>common/checksum/ipv6.c \ -
trunk/src/VBox/Runtime/Makefile.kmk
r31252 r31829 1256 1256 $(RuntimeNoCrt_SOURCES) 1257 1257 1258 ifneq ($(KBUILD_TARGET),win)1259 RuntimeR0_SOURCES += \1260 common/checksum/crc32.cpp \1261 common/checksum/crc64.cpp \1262 common/checksum/md5.cpp \1263 common/checksum/ipv4.cpp \1264 common/checksum/ipv6.cpp \1265 common/misc/handletable.cpp \1266 common/misc/handletablectx.cpp \1267 common/misc/handletablesimple.cpp \1268 common/string/strformat.cpp \1269 common/string/strformatrt.cpp \1270 common/string/strformattype.cpp \1271 common/string/strprintf.cpp1272 endif1273 1274 1258 if1of ($(KBUILD_TARGET), darwin solaris freebsd) 1275 1259 RuntimeR0_SOURCES += \
Note:
See TracChangeset
for help on using the changeset viewer.