Changeset 6845 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Feb 7, 2008 12:50:50 PM (17 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r5999 r6845 163 163 vboxdrv_DEFS += VBOX_WITH_IDT_PATCHING 164 164 endif 165 vboxdrv_INCS := $(PATH_SUB_CURRENT) 165 vboxdrv_INCS := \ 166 $(PATH_SUB_CURRENT) \ 167 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux 166 168 vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 167 169 vboxdrv_LIBS.debug = $(vboxdrv_LIBS) $(VBOX_GCC_LIBGCC) -
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r6418 r6845 30 30 *******************************************************************************/ 31 31 #include "SUPDRV.h" 32 #include "the-linux-kernel.h" 32 33 #include "version-generated.h" 33 34 … … 40 41 #include <iprt/mem.h> 41 42 42 #include <linux/module.h>43 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)44 # include <linux/moduleparam.h>45 #endif46 #include <linux/kernel.h>47 #include <linux/init.h>48 #include <linux/fs.h>49 #include <linux/mm.h>50 #include <linux/pagemap.h>51 43 #include <linux/sched.h> 52 #include <linux/slab.h>53 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)54 # include <linux/jiffies.h>55 #endif56 #include <asm/mman.h>57 #include <asm/io.h>58 #include <asm/uaccess.h>59 44 #ifdef CONFIG_DEVFS_FS 60 45 # include <linux/devfs_fs_kernel.h> … … 69 54 # endif 70 55 #endif 71 #ifndef HAVE_UNLOCKED_IOCTL /* linux/fs.h defines this */72 # include <linux/smp_lock.h>73 #endif74 56 75 57 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 76 # ifndef page_to_pfn77 # define page_to_pfn(page) ((page) - mem_map)78 # endif79 58 # include <asm/pgtable.h> 80 59 # define global_flush_tlb __flush_tlb_global -
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.mod.c
r5999 r6845 27 27 28 28 #include "SUPDRV.h" /* for KBUILD_STR */ 29 #include <linux/module.h> 30 #include <linux/vermagic.h> 31 #include <linux/compiler.h> 29 #include "the-linux-kernel.h" 32 30 33 31 MODULE_INFO(vermagic, VERMAGIC_STRING);
Note:
See TracChangeset
for help on using the changeset viewer.