- Timestamp:
- Sep 26, 2007 9:52:01 AM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/Makefile.module
r5002 r5042 35 35 umoddi3.o \ 36 36 qdivrem.o \ 37 assert.o \ 37 38 logbackdoor.o \ 38 39 logformat.o \ … … 109 110 KFLAGS := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ \ 110 111 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_HGCM \ 111 -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE 112 -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 112 113 ifeq ($(BUILD_TYPE),debug) 113 114 KFLAGS += -DDEBUG -
trunk/src/VBox/Additions/linux/module/files_vboxadd
r4997 r5042 63 63 ${PATH_ROOT}/src/VBox/Runtime/VBox/strformat-vbox.cpp=>strformat-vbox.c \ 64 64 ${PATH_ROOT}/src/VBox/Runtime/RTErrConvertToErrno.cpp=>RTErrConvertToErrno.c \ 65 ${PATH_ROOT}/src/VBox/Runtime/assert.cpp=>assert.c \ 65 66 ${PATH_ROOT}/src/VBox/Runtime/logformat.cpp=>logformat.c \ 66 67 ${PATH_ROOT}/src/VBox/Runtime/strformat.cpp=>strformat.c \ -
trunk/src/VBox/Additions/linux/module/vboxmod.c
r4998 r5042 34 34 #endif 35 35 36 /* Runtime assert implementation for Linux ring 0 */ 37 RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, 38 const char *pszFile, const char *pszFunction) 39 { 40 Log(("!!Assertion Failed!!\n" 41 "Expression: %s\n" 42 "Location : %s(%d) %s\n", 43 pszExpr, pszFile, uLine, pszFunction)); 44 } 45 EXPORT_SYMBOL(AssertMsg1); 46 47 /* Runtime assert implementation for Linux ring 0 */ 48 RTDECL(void) AssertMsg2(const char *pszFormat, ...) 49 { 50 va_list ap; 51 char msg[256]; 52 53 va_start(ap, pszFormat); 54 vsnprintf(msg, sizeof(msg) - 1, pszFormat, ap); 55 msg[sizeof(msg) - 1] = '\0'; 56 Log(("%s", msg)); 57 va_end(ap); 58 } 59 EXPORT_SYMBOL(AssertMsg2); 60 36 /* This is called by our assert macros to find out whether we want 37 to insert a breakpoint after the assertion. In kernel modules we 38 do not of course. */ 61 39 RTDECL(bool) RTAssertDoBreakpoint(void) 62 40 { -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module
r5002 r5042 31 31 r0drv/linux/alloc-r0drv-linux.o \ 32 32 r0drv/linux/semaphore-r0drv-linux.o \ 33 RTErrConvertToErrno.o \34 33 divdi3.o \ 35 34 moddi3.o \ … … 108 107 endif 109 108 KFLAGS := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 \ 110 -DIN_SUP_R0 -DVBOX -DVBOX_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE 109 -DIN_SUP_R0 -DVBOX -DVBOX_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE \ 110 -DIN_GUEST_R0 111 111 ifeq ($(BUILD_TYPE),debug) 112 112 KFLAGS += -DDEBUG -
trunk/src/VBox/Additions/linux/sharedfolders/files_vboxvfs
r4822 r5042 64 64 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/string.h=>r0drv/linux/string.h \ 65 65 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \ 66 ${PATH_ROOT}/src/VBox/Runtime/RTErrConvertToErrno.cpp=>RTErrConvertToErrno.c \67 66 ${PATH_ROOT}/src/VBox/Additions/linux/sharedfolders/Makefile.module=>Makefile \ 68 67 ${PATH_ROOT}/src/VBox/Additions/linux/sharedfolders/dirops.c=>dirops.c \ -
trunk/src/VBox/Runtime/RTErrConvertToErrno.cpp
r5009 r5042 432 432 } 433 433 434 #if defined(RT_OS_LINUX) && defined(IN_MODULE) 435 EXPORT_SYMBOL(RTErrConvertToErrno); 436 #endif
Note:
See TracChangeset
for help on using the changeset viewer.