- Timestamp:
- Jul 16, 2007 2:24:37 AM (18 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r3542 r3621 32 32 endif 33 33 ifdef VBOX_WITH_VBOXDRV 34 SYSMODS.darwin += VBoxDrv 35 SYSMODS.linux += vboxdrv 36 SYSMODS.win += VBoxDrv 37 SYSMODS.os2 += VBoxDrv 34 SYSMODS.darwin += VBoxDrv 35 SYSMODS.freebsd += vboxdrv 36 SYSMODS.linux += vboxdrv 37 SYSMODS.win += VBoxDrv 38 SYSMODS.os2 += VBoxDrv 38 39 endif 39 40 … … 142 143 143 144 # 144 # vboxdrv.ko - The Linux Kernel Module .145 # vboxdrv.ko - The Linux Kernel Module (syntax only). 145 146 # 146 147 ifeq ($(BUILD_TARGET),linux) … … 195 196 darwin/load.sh 196 197 197 endif 198 endif # darwin 198 199 199 200 … … 229 230 endif 230 231 232 233 # 234 # vboxdrv.ko - The FreeBSD Kernel Module. 235 # 236 ifeq ($(BUILD_TARGET),freebsd) 237 vboxdrv_TEMPLATE = VBOXR0DRV 238 vboxdrv_DEFS = IN_RT_R0 IN_SUP_R0 USE_NEW_OS_INTERFACE 239 vboxdrv_INCS := $(PATH_SUB_CURRENT) 240 vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 241 vboxdrv_SOURCES = \ 242 $(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).c 243 # SUPDRVShared.c 244 endif # freebsd 245 246 231 247 include $(PATH_KBUILD)/subfooter.kmk 232 248 -
trunk/src/VBox/HostDrivers/Support/SUPDRV.h
r3537 r3621 92 92 #elif defined(__OS2__) 93 93 94 #elif defined(__FREEBSD__) 95 # include <sys/libkern.h> 96 # include <iprt/string.h> 97 94 98 #else 95 99 # error "unsupported OS." … … 164 168 /* No log API in OS/2 only COM port. */ 165 169 # define OSDBGPRINT(a) SUPR0Printf a 170 171 172 /* 173 * FreeBSD 174 */ 175 #elif defined(__FREEBSD__) 176 177 /* No log API in OS/2 only COM port. */ 178 # define OSDBGPRINT(a) printf a 166 179 167 180
Note:
See TracChangeset
for help on using the changeset viewer.