Changeset 6677 in vbox
- Timestamp:
- Jan 31, 2008 7:27:56 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r6669 r6677 2631 2631 TEMPLATE_VBOXLNX32GUESTR3LIB_INST = $(INST_ADDITION_LIB) 2632 2632 2633 # 2634 # Template for building Linux host tools (only for BUILD_TARGET=l4) 2635 # 2636 TEMPLATE_VBOXLNXHOSTR3EXE = Template for building linux host programs. 2637 TEMPLATE_VBOXLNXHOSTR3EXE_INST = $(INST_BIN) 2638 TEMPLATE_VBOXLNXHOSTR3EXE_BLD_TRG = linux 2639 TEMPLATE_VBOXLNXHOSTR3EXE_TOOL = $(VBOX_GCC_TOOL) 2640 TEMPLATE_VBOXLNXHOSTR3EXE_ASTOOL = YASM 2641 TEMPLATE_VBOXLNXHOSTR3EXE_DLLSUFF = .so 2642 TEMPLATE_VBOXLNXHOSTR3EXE_ASFLAGS = $(VBOX_ASFLAGS) 2643 TEMPLATE_VBOXLNXHOSTR3EXE_DEFS = IN_RING3 $(ARCH_BITS_DEFS) 2644 TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -pipe $(VBOX_GCC_fno-stack-protector) 2645 TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug = -fno-inline 2646 TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release = -O2 -fno-omit-frame-pointer -fno-strict-aliasing 2647 TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release) 2648 TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release) 2649 TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.release = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release) 2650 TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug) 2651 TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile) 2652 TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile) 2653 TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -pipe -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations $(VBOX_GCC_fno-stack-protector) 2654 TEMPLATE_VBOXLNXHOSTR3EXE_LIBS = pthread m rt dl 2655 2656 TEMPLATE_VBOXLNXHOSTR3LIB = Template for linux host libraries. 2657 TEMPLATE_VBOXLNXHOSTR3LIB_EXTENDS = VBOXLNXHOSTR3EXE 2658 TEMPLATE_VBOXLNXHOSTR3LIB_INST = $(INST_LIB) 2659 2633 2660 2634 2661 # -
trunk/src/VBox/Devices/Makefile.kmk
r6597 r6677 96 96 VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined 97 97 98 # 99 # VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.) 100 # 101 ifeq ($(BUILD_TARGET),l4) 102 LIBRARIES += VBoxDDULnxHostR3 103 VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB 104 VBoxDDULnxHostR3_DEFS = IN_VBOXDDU 105 VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES) 106 endif 98 107 99 108 # -
trunk/src/VBox/Devices/Storage/testcase/Makefile.kmk
r6468 r6677 24 24 # 25 25 PROGRAMS += vditool 26 vditool_TEMPLATE = VBOXR3EXE 26 ifeq ($(BUILD_TARGET),l4) 27 vditool_TEMPLATE = VBOXLNXHOSTR3EXE 28 vditool_LIBS = \ 29 $(PATH_LIB)/VBoxDDULnxHostR3.a \ 30 $(PATH_LIB)/RuntimeLnxHostR3.a 31 else 32 vditool_TEMPLATE = VBOXR3EXE 33 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME) 34 endif 27 35 vditool_SOURCES = vditool.cpp 28 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)29 36 30 37 -
trunk/src/VBox/Runtime/Makefile.kmk
r6657 r6677 76 76 endif 77 77 endif # VBOX_WITH_ADDITIONS 78 LIBRARIES.l4 = RuntimeR3L4 78 LIBRARIES.l4 = RuntimeR3L4 RuntimeLnxHostR3 79 79 DLLS = VBoxRT 80 80 OTHER_CLEAN = \ … … 589 589 RuntimeLnx32GuestR3_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS) 590 590 591 # 592 # RuntimeLnxHostR3 Linux host program runtime 593 # 594 RuntimeLnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB 595 RuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP 596 RuntimeLnxHostR3_SOURCES = $(RuntimeR3_SOURCES.linux) $(RuntimeR3_SOURCES) 597 RuntimeLnxHostR3_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS) 598 591 599 592 600 # -
trunk/src/VBox/Runtime/common/time/timesup.cpp
r5999 r6677 45 45 * Internal Functions * 46 46 *******************************************************************************/ 47 #if ndef IN_GUEST47 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 48 48 static DECLCALLBACK(void) rtTimeNanoTSInternalBitch(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS); 49 49 static DECLCALLBACK(uint64_t) rtTimeNanoTSInternalFallback(PRTTIMENANOTSDATA pData); … … 55 55 * Global Variables * 56 56 *******************************************************************************/ 57 #if ndef IN_GUEST57 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 58 58 /** The previous timestamp value returned by RTTimeNanoTS. */ 59 59 static uint64_t g_TimeNanoTSPrev = 0; … … 162 162 } 163 163 164 #endif /* !IN_GUEST */164 #endif /* !IN_GUEST && !RT_NO_GIP */ 165 165 166 166 … … 170 170 DECLINLINE(uint64_t) rtTimeNanoTSInternal(void) 171 171 { 172 #if ndef IN_GUEST172 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 173 173 return g_apfnWorkers[g_iWorker](&g_TimeNanoTSData); 174 174 #else … … 200 200 201 201 202 #if ndef IN_GUEST202 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 203 203 /** 204 204 * Debugging the time api. … … 243 243 return g_TimeNanoTSData.cUpdateRaces; 244 244 } 245 #endif 245 #endif /* !IN_GUEST && !RT_NO_GIP */ -
trunk/src/VBox/Runtime/r3/init.cpp
r5999 r6677 45 45 #include <iprt/string.h> 46 46 #include <iprt/param.h> 47 #if ndef IN_GUEST47 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 48 48 # include <iprt/file.h> 49 49 # include <VBox/sup.h> … … 111 111 /* no entry log flow, because prefixes and thread may freak out. */ 112 112 113 #if ndef IN_GUEST113 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 114 114 # ifdef VBOX 115 115 /* … … 127 127 } 128 128 # endif /* VBOX */ 129 #endif /* !IN_GUEST */129 #endif /* !IN_GUEST && !RT_NO_GIP */ 130 130 131 131 /* … … 141 141 } 142 142 143 #if ndef IN_GUEST143 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 144 144 if (fInitSUPLib) 145 145 { … … 159 159 g_u64ProgramStartMilliTS = g_u64ProgramStartNanoTS / 1000000; 160 160 161 #if ndef IN_GUEST161 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 162 162 /* 163 163 * The threading is initialized we can safely sleep a bit if GIP
Note:
See TracChangeset
for help on using the changeset viewer.