VirtualBox

Changeset 33279 in vbox


Ignore:
Timestamp:
Oct 20, 2010 9:37:58 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66847
Message:

IPRT: Use the mmap+heap stuff on all posixy platforms.

Location:
trunk/src/VBox/Runtime
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r33269 r33279  
    643643        generic/RTProcIsRunningByName-generic.cpp \
    644644        generic/RTThreadGetNativeState-generic.cpp \
    645         r3/darwin/alloc-darwin.cpp \
    646645        r3/darwin/filelock-darwin.cpp \
    647646        r3/darwin/mp-darwin.cpp \
     
    652651        r3/darwin/time-darwin.cpp \
    653652        r3/posix/RTFileQueryFsSizes-posix.cpp \
     653        r3/posix/RTMemProtect-posix.cpp \
    654654        r3/posix/RTSystemQueryOSInfo-posix.cpp \
    655655        r3/posix/RTTimeSet-posix.cpp \
     
    659659        r3/posix/fs-posix.cpp \
    660660        r3/posix/ldrNative-posix.cpp \
     661        r3/posix/rtmempage-exec-mmap-heap-posix.cpp \
    661662        r3/posix/path-posix.cpp \
    662663        r3/posix/pipe-posix.cpp \
     
    700701        generic/RTThreadGetNativeState-generic.cpp \
    701702        r3/freebsd/mp-freebsd.cpp \
    702         r3/freebsd/alloc-freebsd.cpp \
    703703        r3/freebsd/rtProcInitExePath-freebsd.cpp \
    704704        r3/posix/RTFileQueryFsSizes-posix.cpp \
     705        r3/posix/RTMemProtect-posix.cpp \
    705706        r3/posix/RTSystemQueryOSInfo-posix.cpp \
    706707        r3/posix/dir-posix.cpp \
     
    710711        r3/posix/fs-posix.cpp \
    711712        r3/posix/ldrNative-posix.cpp \
     713        r3/posix/rtmempage-exec-mmap-heap-posix.cpp \
    712714        r3/posix/path-posix.cpp \
    713715        r3/posix/pathhost-posix.cpp \
     
    747749        generic/RTThreadGetNativeState-generic.cpp \
    748750        r3/posix/RTFileQueryFsSizes-posix.cpp \
     751        r3/posix/RTMemProtect-posix.cpp \
    749752        r3/posix/RTSystemQueryOSInfo-posix.cpp \
    750753        r3/posix/dir-posix.cpp \
     
    754757        r3/posix/fs-posix.cpp \
    755758        r3/posix/ldrNative-posix.cpp \
     759        r3/posix/rtmempage-exec-mmap-heap-posix.cpp \
    756760        r3/posix/path-posix.cpp \
    757761        r3/posix/pathhost-posix.cpp \
     
    772776        r3/posix/tls-posix.cpp \
    773777        r3/posix/utf8-posix.cpp \
    774         r3/solaris/alloc-solaris.cpp \
    775778        r3/solaris/mp-solaris.cpp \
    776779        r3/solaris/rtProcInitExePath-solaris.cpp
  • trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-heap-posix.cpp

    r33269 r33279  
    4545#include <errno.h>
    4646#include <sys/mman.h>
     47#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
     48# define MAP_ANONYMOUS MAP_ANON
     49#endif
     50
    4751
    4852
  • trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp

    r33269 r33279  
    4141#include <errno.h>
    4242#include <sys/mman.h>
     43#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
     44# define MAP_ANONYMOUS MAP_ANON
     45#endif
    4346
    4447
Note: See TracChangeset for help on using the changeset viewer.

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