Changeset 28303 in vbox
- Timestamp:
- Apr 14, 2010 1:17:56 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r28298 r28303 3769 3769 # This mostly about zapping the VBOXR3EXE linker flags and libraries. 3770 3770 # 3771 TEMPLATE_VBOXGUESTR3XF86MOD = VBox Guest Program with C++ library dependencies3771 TEMPLATE_VBOXGUESTR3XF86MOD = VBox XFree86 Guest Module 3772 3772 TEMPLATE_VBOXGUESTR3XF86MOD_EXTENDS = VBOXGUESTR3EXE 3773 3773 TEMPLATE_VBOXGUESTR3XF86MOD_LIBS.$(KBUILD_TYPE) = $(NO_SUCH_VARIABLE) … … 3786 3786 TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \ 3787 3787 $(VBOX_LIB_VBGL_R3_XFREE86) 3788 TEMPLATE_VBOXGUESTR3XF86MOD_DEFS = $(TEMPLATE_VBOXGUESTR3DLL_DEFS) LOG_TO_BACKDOOR VBOX_GUESTR3XF86MOD 3788 TEMPLATE_VBOXGUESTR3XF86MOD_DEFS = $(TEMPLATE_VBOXGUESTR3DLL_DEFS) LOG_TO_BACKDOOR VBOX_GUESTR3XF86MOD RTMEM_NO_WRAP_TO_EF_APIS 3789 3789 3790 3790 … … 3793 3793 # This mostly about zapping unnecessary LIBS from VBOXGUESTR3DLL and adding some flags. 3794 3794 # 3795 TEMPLATE_VBOXGUESTR3XORGMOD = VBox Guest Program with C++ library dependencies3795 TEMPLATE_VBOXGUESTR3XORGMOD = VBox X.org Guest Module 3796 3796 TEMPLATE_VBOXGUESTR3XORGMOD_EXTENDS = VBOXGUESTR3DLL 3797 3797 TEMPLATE_VBOXGUESTR3XORGMOD_LIBS.$(KBUILD_TYPE) = $(NO_SUCH_VARIABLE) 3798 3798 TEMPLATE_VBOXGUESTR3XORGMOD_LIBS.$(KBUILD_TARGET) = $(NO_SUCH_VARIABLE) 3799 3799 TEMPLATE_VBOXGUESTR3XORGMOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3DLL_CFLAGS) -std=c99 3800 TEMPLATE_VBOXGUESTR3XORGMOD_DEFS = $(TEMPLATE_VBOXGUESTR3DLL_DEFS) LOG_TO_BACKDOOR VBOX_GUESTR3XORGMOD 3800 TEMPLATE_VBOXGUESTR3XORGMOD_DEFS = $(TEMPLATE_VBOXGUESTR3DLL_DEFS) LOG_TO_BACKDOOR VBOX_GUESTR3XORGMOD RTMEM_NO_WRAP_TO_EF_APIS 3801 3801 ifeq ($(KBUILD_TARGET_ARCH),amd64) 3802 3802 TEMPLATE_VBOXGUESTR3XORGMOD_DEFS += _XSERVER64 -
trunk/include/iprt/mem.h
r28298 r28303 452 452 * Define RTMEM_WRAP_TO_EF_APIS to wrap RTMem APIs to RTMemEf APIs. 453 453 */ 454 #if defined(RTMEM_WRAP_TO_EF_APIS) && defined(IN_RING3) 454 #if defined(RTMEM_WRAP_TO_EF_APIS) && defined(IN_RING3) && !defined(RTMEM_NO_WRAP_TO_EF_APIS) 455 455 # define RTMemTmpAlloc(cb) RTMemEfTmpAlloc((cb), RT_SRC_POS) 456 456 # define RTMemTmpAllocZ(cb) RTMemEfTmpAllocZ((cb), RT_SRC_POS) -
trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
r27703 r28303 139 139 # C library is not available. 140 140 # 141 ## @todo We're quite probably using the wrong template here. 141 142 VBoxGuestR3LibXFree86_TEMPLATE = VBOXGUESTR3LIB 142 143 VBoxGuestR3LibXFree86_DEFS = \ 143 VBOX_WITH_HGCM VBOX_VBGLR3_XFREE86 \ 144 VBOX_WITH_HGCM \ 145 VBOX_VBGLR3_XFREE86 \ 146 RTMEM_NO_WRAP_TO_EF_APIS \ 144 147 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) 145 148 VBoxGuestR3LibXFree86_SOURCES = \ … … 152 155 VBoxGuestR3LibVideo.cpp \ 153 156 VBoxGuestR3LibRuntimeXF86.cpp 154 VBoxGuestR3LibRuntimeXF86.cpp_CXXFLAGS = -Wno-shadow155 157 VBoxGuestR3LibXFree86_INCS = \ 156 158 $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/common/ \ … … 160 162 $(VBOX_PATH_X11_XFREE_4_3)/exports/include/X11 161 163 164 VBoxGuestR3LibRuntimeXF86.cpp_CXXFLAGS = -Wno-shadow 162 165 163 166 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibRuntimeXF86.cpp
r27687 r28303 2 2 /** @file 3 3 * VBoxGuestR3Lib - Ring-3 Support Library for VirtualBox guest additions, 4 * implements the minimum of runtime functions needed for XFree86 driver5 * code.4 * implements the minimum of runtime functions needed for 5 * XFree86 driver code. 6 6 */ 7 7 8 8 /* 9 * Copyright (C) 2007-20 09Sun Microsystems, Inc.9 * Copyright (C) 2007-2010 Sun Microsystems, Inc. 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 46 46 } 47 47 48 /* This is risky as it restricts call to the ANSI format type specifiers. */ 48 49 RTDECL(size_t) RTStrPrintf(char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...) 49 50 { … … 140 141 xfree(pv); 141 142 } 143 -
trunk/src/VBox/Runtime/Makefile.kmk
r28271 r28303 879 879 RuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST)) 880 880 RuntimeGuestR3Mini_SOURCES = \ 881 common/alloc/alloc.cpp \ 881 882 common/err/errmsg.cpp \ 882 883 common/err/errmsgxpcom.cpp \ … … 927 928 common/string/utf-8-case.cpp \ 928 929 common/string/utf-16.cpp \ 930 common/table/avlpv.cpp \ 929 931 generic/pathhost-generic.cpp \ 930 932 generic/RTAssertShouldPanic-generic.cpp \ 931 933 r3/alloc.cpp \ 934 r3/alloc-ef.cpp \ 932 935 r3/fileio.cpp \ 933 936 r3/fs.cpp 934 937 RuntimeGuestR3Mini_SOURCES.freebsd = \ 938 r3/posix/alloc-posix.cpp \ 935 939 r3/posix/env-posix.cpp \ 936 940 r3/posix/fileio-posix.cpp \ … … 938 942 r3/posix/utf8-posix.cpp 939 943 RuntimeGuestR3Mini_SOURCES.linux = \ 944 r3/posix/alloc-posix.cpp \ 940 945 r3/posix/env-posix.cpp \ 941 946 r3/posix/fileio-posix.cpp \ … … 943 948 r3/posix/utf8-posix.cpp 944 949 RuntimeGuestR3Mini_SOURCES.solaris = \ 950 r3/posix/alloc-posix.cpp \ 945 951 r3/posix/env-posix.cpp \ 946 952 r3/posix/fileio-posix.cpp \ … … 948 954 r3/posix/utf8-posix.cpp 949 955 RuntimeGuestR3Mini_SOURCES.win = \ 956 r3/win/alloc-win.cpp \ 950 957 r3/win/fileio-win.cpp \ 951 958 r3/win/path-win.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.