VirtualBox

Ignore:
Timestamp:
Dec 16, 2008 8:31:44 PM (16 years ago)
Author:
vboxsync
Message:

Linux additions: recover the R0 hack which was removed in r39344 to make the shared folders work again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.cpp

    r14218 r15606  
    2727
    2828#include <iprt/assert.h>
    29 #if !defined(RT_OS_WINDOWS)
     29#if !defined(RT_OS_WINDOWS) && !defined(RT_OS_LINUX)
    3030#include <iprt/memobj.h>
    3131#endif
     
    6262    }
    6363
    64 #elif defined(RT_OS_FREEBSD) /** @todo r=bird: I don't think FreeBSD shouldn't go here, solaris and OS/2 doesn't
    65                               * That said, the assumption below might be wrong for in kernel calls... */
     64#elif defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
     65    /** @todo r=bird: I don't think FreeBSD shouldn't go here, solaris and OS/2 doesn't
     66      * That said, the assumption below might be wrong for in kernel calls... */
     67
     68    /** @todo r=frank: Linux: pv is at least in some cases, e.g. with VBoxMapFolder,
     69     *  an R0 address -- the memory was allocated with kmalloc(). I don't know
     70     *  if this is true in any case. */
    6671    NOREF(ppvCtx);
    6772    NOREF(pv);
     
    97102    }
    98103
    99 #elif defined(RT_OS_FREEBSD)
     104#elif defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
    100105    NOREF(pvCtx);
    101106
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