VirtualBox

Ignore:
Timestamp:
Dec 22, 2010 12:13:10 PM (14 years ago)
Author:
vboxsync
Message:

Linux hosts: quick fix for CONFIG_DEBUG_SET_MODULE_RONX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r34856 r35294  
    137137#define DEVICE_NAME         "vboxdrv"
    138138
    139 #ifdef RT_ARCH_AMD64
     139#if defined(RT_ARCH_AMD64) && !defined(CONFIG_DEBUG_SET_MODULE_RONX)
    140140/**
    141141 * Memory for the executable memory heap (in IPRT).
     
    307307        {
    308308#ifdef RT_ARCH_AMD64
     309# ifdef CONFIG_DEBUG_SET_MODULE_RONX
     310            rc = RTR0MemExecInit(1572864 /* 1.5MB */);
     311# else
    309312            rc = RTR0MemExecDonate(&g_abExecMemory[0], sizeof(g_abExecMemory));
    310313            printk(KERN_DEBUG "VBoxDrv: dbg - g_abExecMemory=%p\n", (void *)&g_abExecMemory[0]);
     314# endif
    311315#endif
    312316            Log(("VBoxDrv::ModuleInit\n"));
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