Changeset 13314 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 15, 2008 10:46:08 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/linux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r13306 r13314 77 77 r0drv/memobj-r0drv.o \ 78 78 r0drv/mpnotification-r0drv.o \ 79 r0drv/linux/assert-r0drv-linux.o \ 79 80 r0drv/linux/alloc-r0drv-linux.o \ 80 81 r0drv/linux/initterm-r0drv-linux.o \ … … 91 92 r0drv/linux/timer-r0drv-linux.o \ 92 93 common/err/RTErrConvertFromErrno.o \ 93 generic/RTAssertShouldPanic-generic.o 94 ifeq ($(BUILD_TARGET_ARCH),x86) 95 OBJS += math/gcc/divdi3.o \ 96 math/gcc/moddi3.o \ 97 math/gcc/qdivrem.o \ 98 math/gcc/udivdi3.o 99 endif 100 ifeq ($(BUILD_TARGET_ARCH),amd64) 101 OBJS += alloc/heapsimple.o 102 endif 103 104 ifeq ($(BUILD_TYPE),debug) 105 OBJS += common/log/log.o \ 94 common/log/log.o \ 106 95 common/log/logellipsis.o \ 107 96 common/log/logrel.o \ … … 115 104 common/string/strtonum.o \ 116 105 r0drv/linux/RTLogWriteDebugger-r0drv-linux.o \ 106 generic/RTAssertShouldPanic-generic.o \ 117 107 generic/RTLogWriteStdErr-stub-generic.o \ 118 108 generic/RTLogWriteStdOut-stub-generic.o \ … … 122 112 ifeq ($(BUILD_TARGET_ARCH),x86) 123 113 OBJS += math/gcc/divdi3.o \ 114 math/gcc/moddi3.o \ 115 math/gcc/qdivrem.o \ 116 math/gcc/udivdi3.o \ 117 math/gcc/divdi3.o \ 124 118 math/gcc/umoddi3.o 125 119 endif 126 endif # debug 120 ifeq ($(BUILD_TARGET_ARCH),amd64) 121 OBJS += alloc/heapsimple.o 122 endif 127 123 128 124 ifneq ($(MAKECMDGOALS),clean) -
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r13306 r13314 944 944 } 945 945 946 947 /** @todo move to IPRT! */948 RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)949 {950 printk("!!Assertion Failed!!\n"951 "Expression: %s\n"952 "Location : %s(%d) %s\n",953 pszExpr, pszFile, uLine, pszFunction);954 }955 956 957 /** @todo move to IPRT! */958 RTDECL(void) AssertMsg2(const char *pszFormat, ...)959 { /* forwarder. */960 va_list ap;961 char msg[256];962 963 va_start(ap, pszFormat);964 vsnprintf(msg, sizeof(msg) - 1, pszFormat, ap);965 msg[sizeof(msg) - 1] = '\0';966 printk("%s", msg);967 va_end(ap);968 }969 970 971 /* GCC C++ hack. (shouldn't be necessary with the right exception flags...) */972 unsigned __gxx_personality_v0 = 0xcccccccc;973 974 975 946 module_init(VBoxDrvLinuxInit); 976 947 module_exit(VBoxDrvLinuxUnload); -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r13306 r13314 99 99 ${PATH_ROOT}/src/VBox/Runtime/r0drv/mpnotification-r0drv.c=>r0drv/mpnotification-r0drv.c \ 100 100 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/RTLogWriteDebugger-r0drv-linux.c=>r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \ 101 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/assert-r0drv-linux.c=>r0drv/linux/assert-r0drv-linux.c \ 101 102 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c=>r0drv/linux/alloc-r0drv-linux.c \ 102 103 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c=>r0drv/linux/initterm-r0drv-linux.c \
Note:
See TracChangeset
for help on using the changeset viewer.