History log of /seL4-camkes-master/projects/musllibc/arch/x86_64/bits/mman.h
Revision Date Author Comments
# 28fa19b9 04-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Fix up x86_64_sel4 arch after merge


# e9f1c798 17-Mar-2016 Szabolcs Nagy <nsz@port70.net>

deduplicate bits/mman.h

currently five targets use the same mman.h constants and the rest
share most constants too, so move them to sys/mman.h before the
bits/mman.h include where the differences can be corrected by
redefinition of the macros.

this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most
targets (it should be the same as MADV_DONTNEED), and sh defined
the x86-only MAP_32BIT mmap flag.


# 789ff6a9 23-Jan-2016 Szabolcs Nagy <nsz@port70.net>

add MCL_ONFAULT and MLOCK_ONFAULT mlockall and mlock2 flags

they lock faulted pages into memory (useful when a small part of a
large mapped file needs efficient access), new in linux v4.4, commit
b0f205c2a3082dd9081f9a94e50658c5fa906ff1

MLOCK_* is not in the POSIX reserved namespace for sys/mman.h


# de8621ca 16-Aug-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Support a seL4 x86_64 build


# 2d67ae92 28-Jan-2015 Trutz Behn <me@trutz.be>

move MREMAP_MAYMOVE and MREMAP_FIXED out of bits

the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.


# 000806cd 10-Jan-2013 Szabolcs Nagy <nsz@port70.net>

add missing mmap options and madvices to bits/mman.h based on linux headers


# 7e0d4fce 06-Dec-2012 rofl0r <retnyg@gmx.net>

add more arch-specific MAP_ macros to bits/mman.h

these are also needed by qemu.


# 0e10f740 05-Dec-2012 rofl0r <retnyg@gmx.net>

add MAP_NORESERVE to bits/mman.h

this is needed for qemu, and since it differs for each arch
it can't be circumvented easily by using a macro in CFLAGS.


# 030b452b 22-May-2012 Rich Felker <dalias@aerifal.cx>

fix missing _BSD_SOURCE support in bits/*.h

this is actually rather ugly, and would get even uglier if we ever
want to support further feature test macros. at some point i may
factor the bits headers into separate files for C base, POSIX base,
and nonstandard extensions (the only distinctions that seem to matter
now) and then the logic for which to include can go in the main header
rather than being duplicated for each arch. the downside of this is
that it would result in more files having to be opened during
compilation, so as long as the ugliness does not grow, i'm inclined to
leave it alone for now.


# b052f13c 20-Apr-2011 Rich Felker <dalias@aerifal.cx>

namespace fixes for sys/mman.h


# 1e126325 15-Feb-2011 Nicholas J. Kain <njkain@gmail.com>

Port musl to x86-64. One giant commit!