Changeset 46035 in vbox
- Timestamp:
- May 13, 2013 4:47:40 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85702
- Location:
- trunk
- Files:
-
- 3 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.kmk
r46030 r46035 349 349 # compile things. 350 350 # 351 ifn1of ($(KBUILD_TARGET), l 4 linux win)351 ifn1of ($(KBUILD_TARGET), linux win) 352 352 VBOX_PATH_STAGED ?= . 353 353 … … 481 481 src/VBox/HostDrivers/Support/darwin \ 482 482 src/VBox/HostDrivers/Support/freebsd \ 483 src/VBox/HostDrivers/Support/l4 \484 483 src/VBox/HostDrivers/Support/linux \ 485 484 src/VBox/HostDrivers/Support/os2 \ -
trunk/src/VBox/Devices/Makefile.kmk
r44824 r46035 97 97 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib 98 98 endif 99 ifeq ($(KBUILD_TARGET),l4)100 VBoxDDU_LIBS += \101 $(L4_LIBDIR)/libl4sys.p.a102 endif103 99 VBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib 104 100 ifdef VBOX_WITH_USB … … 109 105 110 106 VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined 111 VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined112 113 #114 # VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)115 #116 ifeq ($(KBUILD_TARGET),l4)117 LIBRARIES += VBoxDDULnxHostR3118 VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB119 VBoxDDULnxHostR3_DEFS = IN_VBOXDDU120 VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)121 endif122 107 123 108 # … … 212 197 -framework DiskArbitration 213 198 VBoxDD_LDFLAGS.linux = -Wl,--no-undefined 214 VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined215 199 216 200 # --- Tracing bits. --- … … 287 271 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) 288 272 VBoxDD_SOURCES.linux += \ 289 USB/USBProxyDevice.cpp \290 USB/linux/USBProxyDevice-linux.cpp291 292 VBoxDD_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE293 VBoxDD_SOURCES.l4 += \294 273 USB/USBProxyDevice.cpp \ 295 274 USB/linux/USBProxyDevice-linux.cpp … … 599 578 endif # freebsd 600 579 601 ifeq ($(KBUILD_TARGET),l4)602 $(error L4 is busted. Fix when needed.)603 #VBoxDD_SOURCES = filter needed604 VBoxDD_SOURCES.l4 += \605 Audio/ossaudio.c606 endif # l4607 608 580 VBoxDD_SOURCES.linux += \ 609 581 Network/DrvTAP.cpp \ … … 659 631 $(VBoxDDU_1_STAGE_TARGET) \ 660 632 $(VBoxDD2_1_STAGE_TARGET) 661 endif662 ifeq ($(KBUILD_TARGET),l4)663 VBoxDD_LIBS += \664 $(L4_LIBDIR)/libl4sys.p.a665 633 endif 666 634 … … 883 851 $(LIB_VMM) \ 884 852 $(LIB_RUNTIME) 885 ifeq ($(KBUILD_TARGET),l4)886 VBoxDD2_LIBS += \887 $(L4_LIBDIR)/libl4sys.p.a888 endif889 853 VBoxDD2_LIBS.darwin += $(LIB_REM) 890 854 VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib 891 855 VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined 892 VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined893 856 894 857 ifdef VBOX_WITH_PXE_ROM -
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r45061 r46035 63 63 #include <errno.h> 64 64 #include <unistd.h> 65 66 #ifdef RT_OS_L467 # include <l4/vboxserver/file.h>68 #endif69 65 70 66 #include "VBoxDD.h" -
trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp
r45061 r46035 34 34 # include <mach/mach_error.h> 35 35 # define USE_MEDIA_POLLING 36 37 #elif defined(RT_OS_L4)38 /* nothing (yet). */39 36 40 37 #elif defined RT_OS_LINUX … … 438 435 rc = VERR_DEV_IO_ERROR; 439 436 440 #elif defined(RT_OS_L4)441 /* Not really ported to L4 yet. */442 rc = VERR_INTERNAL_ERROR;443 444 437 #elif defined(RT_OS_LINUX) 445 438 int direction; … … 778 771 #endif 779 772 780 #ifndef RT_OS_L4 /* Passthrough is not supported on L4 yet */781 773 bool fPassthrough; 782 774 rc = CFGMR3QueryBool(pCfg, "Passthrough", &fPassthrough); … … 786 778 /* Passthrough requires opening the device in R/W mode. */ 787 779 pThis->fReadOnlyConfig = false; 788 # 780 #ifdef VBOX_WITH_SUID_WRAPPER /* Solaris setuid for Passthrough mode. */ 789 781 rc = solarisCheckUserAuth(); 790 782 if (RT_FAILURE(rc)) … … 793 785 return rc; 794 786 } 795 # 787 #endif /* VBOX_WITH_SUID_WRAPPER */ 796 788 } 797 #endif /* !RT_OS_L4 */798 789 799 790 pThis->IMount.pfnUnmount = drvHostDvdUnmount; -
trunk/src/VBox/Runtime/Makefile.kmk
r45994 r46035 95 95 endif # VBOX_WITH_ADDITIONS 96 96 LIBRARIES.win.x86 += RuntimeR3VccTricks 97 LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR398 97 DLLS += VBoxRT 99 98 endif … … 245 244 $(PATH_ROOT)/src/libs/kStuff/kStuff/include 246 245 endif 247 RuntimeR3_INCS.l4 = \248 $(L4_INCDIR)249 246 250 247 # RuntimeR3_INCS.solaris = \ … … 1023 1020 1024 1021 # 1025 # L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.1026 #1027 RuntimeR3L4_TEMPLATE = VBOXR3NP1028 RuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE1029 ifneq ($(KBUILD_TARGET_ARCH),amd64)1030 RuntimeR3L4_DEFS += __PIC__1031 endif1032 RuntimeR3L4_INCS = \1033 include \1034 $(L4_INCDIR)1035 1036 RuntimeR3L4_SOURCES = \1037 generic/cdrom-generic.cpp \1038 generic/errvars-generic.cpp \1039 generic/fs-stubs-generic.cpp \1040 generic/pathhost-generic.cpp \1041 generic/RTDirQueryInfo-generic.cpp \1042 generic/RTDirSetTimes-generic.cpp \1043 generic/RTFileMove-generic.cpp \1044 generic/RTLogWriteDebugger-generic.cpp \1045 generic/RTProcDaemonize-generic.cpp \1046 generic/RTSystemQueryOSInfo-generic.cpp \1047 generic/RTSystemQueryDmiString-generic.cpp \1048 generic/RTSystemShutdown-generic.cpp \1049 generic/RTThreadGetAffinity-stub-generic.cpp \1050 generic/RTThreadSetAffinity-stub-generic.cpp \1051 generic/RTThreadSetAffinityToCpu-generic.cpp \1052 generic/RTTimeLocalNow-generic.cpp \1053 generic/RTUuidCreate-generic.cpp \1054 generic/mppresent-generic.cpp \1055 generic/sched-generic.cpp \1056 generic/RTSemEventWait-generic.cpp \1057 generic/RTSemEventMultiWait-generic.cpp \1058 generic/RTSemMutexRequest-generic.cpp \1059 generic/RTSemMutexRequestDebug-generic.cpp \1060 generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \1061 generic/utf16locale-generic.cpp \1062 generic/uuid-generic.cpp \1063 generic/RTProcIsRunningByName-generic.cpp \1064 generic/RTThreadGetNativeState-generic.cpp \1065 l4/l4-errno.cpp \1066 l4/rtProcInitExePath-l4.cpp \1067 l4/process-l4env.cpp \1068 l4/sems-l4env.cpp \1069 l4/thread-l4env.cpp \1070 l4/timer-l4env.cpp \1071 l4/utf8-l4env.cpp \1072 r3/posix/RTFileQueryFsSizes-posix.cpp \1073 r3/posix/RTMemProtect-posix.cpp \1074 r3/posix/rtmempage-exec-mmap-heap-posix.cpp \1075 r3/posix/RTPathUserHome-posix.cpp \1076 r3/posix/RTTimeNow-posix.cpp \1077 r3/posix/RTTimeSet-posix.cpp \1078 r3/posix/dir-posix.cpp \1079 r3/posix/env-posix.cpp \1080 r3/posix/fileio-posix.cpp \1081 r3/posix/fileio2-posix.cpp \1082 r3/posix/filelock-posix.cpp \1083 r3/posix/ldrNative-posix.cpp \1084 r3/posix/path-posix.cpp \1085 r3/posix/path2-posix.cpp \1086 r3/posix/RTPathUserDocuments-posix.cpp \1087 r3/posix/rand-posix.cpp \1088 r3/posix/time-posix.cpp \1089 r3/posix/timelocal-posix.cpp1090 1091 1092 #1093 1022 # RuntimeBldProg - Static Runtime for build programs. 1094 1023 # … … 1105 1034 # 1106 1035 # RuntimeGuestR3 - Guest Additions Runtime (static/exe). 1107 # (The KBUILD_HOST inheritance here is for l4cross building the linux1036 # (The KBUILD_HOST inheritance here is for cross building the linux 1108 1037 # additions, while .x86 is for cross building x86 while targeting amd64.) 1109 1038 # … … 1300 1229 1301 1230 # 1302 # RuntimeLnxHostR3 Linux host program runtime1303 # (Only used when building L4.)1304 #1305 RuntimeLnxHostR3_TEMPLATE := VBOXLNXHOSTR3LIB1306 RuntimeLnxHostR3_DEFS := IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP1307 RuntimeLnxHostR3_SOURCES := \1308 $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \1309 $(RuntimeR3_SOURCES.linux) \1310 $(RuntimeR3_SOURCES)1311 RuntimeLnxHostR3_INCS := \1312 $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \1313 $(RuntimeR3_INCS.linux) \1314 $(RuntimeR3_INCS)1315 1316 1317 #1318 1231 # VBoxRT - Shared Object / DLL version. 1319 1232 # … … 1406 1319 VBoxRT_LDFLAGS.darwin = -framework IOKit -framework CoreFoundation -framework CoreServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxRT.dylib 1407 1320 VBoxRT_LDFLAGS.win = /MANIFEST 1408 VBoxRT_LDFLAGS.l4 = \1409 -Wl,-whole-archive \1410 $(PATH_STAGE_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \1411 -Wl,-no-whole-archive1412 ifeq ($(KBUILD_TARGET),l4)1413 VBoxRT_LIBS += \1414 $(L4_LIBDIR)/libl4sys.a \1415 $(L4_LIBDIR)/libl4sys.p.a1416 endif1417 VBoxRT_LIBS.l4 = \1418 $(PATH_STAGE_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)1419 1321 1420 1322 if1of ($(DLLS), VBoxRT) … … 2221 2123 $(lib)_common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h 2222 2124 endef 2223 $(foreach lib,RuntimeR3 RuntimeBldProg VBoxRT RuntimeLnxHostR3,$(eval $(def_errmsgwin_deps)))2125 $(foreach lib,RuntimeR3 RuntimeBldProg VBoxRT,$(eval $(def_errmsgwin_deps))) 2224 2126 2225 2127 … … 2334 2236 $(dir)/darwin \ 2335 2237 $(dir)/haiku \ 2336 $(dir)/l4 \2337 2238 $(dir)/linux \ 2338 2239 $(dir)/nt \ -
trunk/src/VBox/Runtime/VBox/log-vbox.cpp
r45356 r46035 145 145 # include <sys/procfs.h> 146 146 # include <unistd.h> 147 # elif defined(RT_OS_L4)148 # include <l4/vboxserver/vboxserver.h>149 147 # elif defined(RT_OS_OS2) 150 148 # include <stdlib.h> … … 413 411 } 414 412 415 # elif defined(RT_OS_ L4) || defined(RT_OS_OS2) || defined(RT_OS_DARWIN)413 # elif defined(RT_OS_OS2) || defined(RT_OS_DARWIN) 416 414 /* commandline? */ 417 415 # else -
trunk/src/VBox/Runtime/generic/env-generic.cpp
r44528 r46035 102 102 #ifdef RT_OS_DARWIN 103 103 return *(_NSGetEnviron()); 104 #elif defined(RT_OS_L4)105 /* So far, our L4 libraries do not include environment support. */106 return NULL;107 104 #else 108 105 return environ; -
trunk/src/VBox/Runtime/r3/posix/fileio2-posix.cpp
r43363 r46035 47 47 # include <io.h> 48 48 #endif 49 #ifdef RT_OS_L450 /* This is currently ifdef'ed out in the relevant L4 header file */51 /* Same as `utimes', but takes an open file descriptor instead of a name. */52 extern int futimes(int __fd, __const struct timeval __tvp[2]) __THROW;53 #endif54 49 55 50 #ifdef RT_OS_SOLARIS -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r44528 r46035 49 49 #include "internal/process.h" 50 50 #include "internal/fs.h" 51 52 #ifdef RT_OS_L453 # include <l4/vboxserver/vboxserver.h>54 #endif55 56 51 57 52 -
trunk/src/VBox/Runtime/r3/posix/path2-posix.cpp
r34230 r46035 49 49 #include "internal/fs.h" 50 50 51 #ifdef RT_OS_L452 # include <l4/vboxserver/vboxserver.h>53 #endif54 55 51 56 52 RTR3DECL(int) RTPathQueryInfo(const char *pszPath, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAdditionalAttribs) -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r45512 r46035 150 150 PROGRAMS.solaris += \ 151 151 tstRTCoreDump 152 PROGRAMS.l4 += \153 tstIoCtl154 152 PROGRAMS.darwin += \ 155 153 tstDarwinSched \ … … 296 294 tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp 297 295 298 tstIoCtl_TEMPLATE = VBOXR3TSTEXE299 tstIoCtl_SOURCES = tstIoCtl.cpp300 301 296 tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE 302 297 tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp -
trunk/src/VBox/Runtime/testcase/tstTime-3.cpp
r44528 r46035 31 31 # include <Windows.h> 32 32 33 #elif defined RT_OS_L434 35 33 #else /* posix */ 36 34 # include <sys/time.h> … … 51 49 GetSystemTimeAsFileTime((LPFILETIME)&u64); 52 50 return u64 * 100; 53 54 #elif defined RT_OS_L455 /** @todo fix a different timesource on l4. */56 return RTTimeNanoTS();57 51 58 52 #else /* posix */
Note:
See TracChangeset
for help on using the changeset viewer.