History log of /seL4-refos-master/projects/seL4_libs/libsel4muslcsys/src/sys_morecore.c
Revision Date Author Comments
# e9a9ff4f 18-Jul-2019 Yu Hou <Yu.Hou@data61.csiro.au>

Trivial: Style fix

make the style checker happy


# e23dc54b 19-May-2019 Yu Hou <Yu.Hou@data61.csiro.au>

seL4_libs: remove autoconf.h from seL4_libs

this commit removes autoconf.h generation from each lib and
append '#include <<lib_name>/gen_config.h>' after each
'#include <autoconf.h>' since autoconf.h is only the for the
kernel config now. This is a temporarily solution, since we
currently don't have a way to tell which header files each file
is trying to include when it includes 'autoconf.h'


# fd6e2939 26-Sep-2018 Curtis Millar <curtis.millar@data61.csiro.au>

Force page alignment of morecore.


# 9c7164c0 27-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

muslcsys: remove reservation checks in mmap

mmap does not use the reservation, it's for brk


# 9b03899c 28-Jul-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

sel4muslcsys: Fix macro typo


# 05975470 27-Jul-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Revert "Use vspace_new_pages_at() to resolve circular malloc() issue."

This reverts commit 921dc17b8a8560271d9ff1abb72ff1fe8c7e7328.

Reverting this commit as the brk region is contiguous, and the prior change
tries to take portions and make it discontiguous, which will result in brk
failing to work correctly.


# b6c8b66b 25-Jul-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

Use BYTES_TO_PAGES


# 921dc17b 25-Jul-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

Use vspace_new_pages_at() to resolve circular malloc() issue.

Use vspace_new_pages_at() for mmap's dynamic implementation and manually
update the position of the reservation.


# 0016dfc6 13-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix all the whitespace

- remove trailing whitespace
- remove duplicate blank lines
- remove blank lines at end of files


# 9214341c 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# cb07ae96 06-Mar-2017 Andrew Gacek <andrew.gacek@gmail.com>

libsel4muslcsys: Expose morecore_top


# bc2d1669 05-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libsel4muslcsys: Implement mmap syscall

Changes the current mmap2 implementation to be an mmap implementation,
and redirects the mmap2 syscall to mmap


# 5d225e23 08-Dec-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

Change `int` types to `uintptr_t`

These types are used to pointers or other machine word sized
pieces of data. Making them `uintptr_t` allows them to be
portable


# 7fb43d3e 08-Dec-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

Cast pointer types to `uintptr_t`

Adds casts of pointer types to `uintptr_t` instead of fixed sized
integer types. This makes these casts stable across changes of
pointer sizes.


# c5c7aeb1 07-Nov-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

SELFOUR-572: muslcsys: Init morecore before mmap

It is possible, by doing a large `malloc` that mmap could be called
before muslc ever needs to initialize the morecore region. As our
implementation 'steals' memory from the morecore region for mmap
it will fail if the morecore region is not initialized.

This change factors out the initialization of the morecore region
for both brk and mmap


# 7241dba3 12-Oct-2016 Alexander Wharton <awharton@alexw.keg.ertos.in.nicta.com.au>

libsel4muslcsys: create dummy implementation of sys_madvise()


# e34269b4 21-Aug-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

libsel4muslcsys: Remove overflow in calculation


# 67c869cf 29-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

all: s/LOG_*/ZF_LOG*


# 7820af98 22-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

muslcsys: define morecore_size for both morecores