VirtualBox

Changeset 4163 in vbox


Ignore:
Timestamp:
Aug 15, 2007 9:32:13 PM (17 years ago)
Author:
vboxsync
Message:

Use the RTR0MemObj API on Linux. (seems to work - just disable it in the Makefile if it does not).

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r4071 r4163  
    66#
    77#  Copyright (C) 2006-2007 innotek GmbH
    8 # 
     8#
    99#  This file is part of VirtualBox Open Source Edition (OSE), as
    1010#  available from http://www.virtualbox.org. This file is free software;
     
    143143ifeq ($(BUILD_TARGET),linux)
    144144vboxdrv_TEMPLATE      = VBOXR0DRV
    145 vboxdrv_DEFS          = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC
     145vboxdrv_DEFS          = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC USE_NEW_OS_INTERFACE_FOR_MM
    146146vboxdrv_INCS         := $(PATH_SUB_CURRENT)
    147147vboxdrv_LIBS          = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r4071 r4163  
    77#
    88#  Copyright (C) 2006 innotek GmbH
    9 # 
     9#
    1010#  This file is part of VirtualBox Open Source Edition (OSE), as
    1111#  available from http://www.virtualbox.org. This file is free software;
     
    5656OBJS  += alloc/heapsimple.o
    5757endif
    58 
    5958
    6059ifneq ($(MAKECMDGOALS),clean)
     
    131130#endif
    132131
     132#
     133# Use the RTR0MemObj API - testing.
     134# If this makes testboxes crash/burn/leak disable it and add a comment to defect #2116.
     135#
     136KFLAGS += -DUSE_NEW_OS_INTERFACE_FOR_MM
     137OBJS += r0drv/memobj-r0drv.o \
     138        r0drv/linux/memobj-r0drv-linux.o
     139
    133140ifeq ($(KERN_VERSION), 24)
    134141# 2.4
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette