History log of /seL4-camkes-master/projects/seL4_libs/libsel4allocman/src/bootstrap.c
Revision Date Author Comments
# daa3772f 10-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-1283: Use arch include dir and include sel4_arch from there


# 61c16cff 28-Feb-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

Remove timeout_ep from set space

The RT API has changed and timeout_ep is now set with its own function


# 08f9b7c2 04-Oct-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Changes for removal of seL4_CapData_t type in libsel4

This updates seL4_libs to not use what are now deprecated functions and types by using
the new API wrappers


# cc171929 28-Aug-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

allocman: use simple_helper for first free slot

This fixes a bug where bootstrap_new_1level_cspace would use an
incorrect first free slot. It also replaces a simplar instance with a
call to the correct helper function.


# 70b18fd3 22-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libsel4allocman: Copy all caps reported by simple

Previously the first two capabilities were arbitrarily being skipped. Given that
one of the first two is typically the cnode (which we want to skip anyway) and
some simple implementations erroneously report a null sentinal slot as a valid cap
this would typically work.

To avoid other simple implementations from having to work around the existance of
other broken ones this corrects this loop, and will break any existing mis behaving
implementations.


# 44d3866f 10-Aug-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

sel4utils: abstract over MCS vs master kernel API

- add api.h, which is intended to be used as a wrapper for functions
that are equivalent on MCS/master kernels, so we can seemlessly switch
between the two. This makes porting efforts easier, and without a
nasty proliferation of #ifdefs.
- use it everywhere relevant.


# 0cc05cee 13-Mar-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-277: support timeout fault api changes


# 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


# da164114 22-Jun-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libsel4allocman: fix bootstrap fencepost error

If a region list of 0 length is provided, this should prevent the
bootstrap code from trying to find a region list from somewhere else.


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

Fix licenses


# c8ffd35f 30-May-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libsel4allocman: Fix NULL pointer error


# 2a85522b 04-May-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libsel4allocman: Use grub mmap to find all ram


# 192d7cc9 05-Apr-2017 Stephen Sherratt <Stephen.Sherratt@data61.csiro.au>

sel4allocman: Correctly set first_slot in cspace


# c891cd1f 05-Apr-2017 Stephen Sherratt <Stephen.Sherratt@data61.csiro.au>

sel4allocman: Trivial comments


# a60034ea 27-Mar-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

sel4allocman: add bootstrap_new_1level_simple

Fix some issues along the way:

* change hardcoded position for new cnode from 1 to
SEL4UTILS_CNODE_SLOT. This is arguably not the best fix (should
probably be passed in) but it works with libsel4utils processes and is
better than the magic number '1'.
* change hardcoded position for old cnode from 2 to the last slot in
the cspace, which presumably has not been used yet, rather than
2, which is being used by sel4utils processes.
* remove assumption that bootstrap_transfer_caps_simple is being
called on a 2level cspace.


# 4ed4e0ac 28-Sep-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

Remove assumptions about the 0 paddr being invalid

There is no way to prevent platforms from having interesting memory
or devices at paddr 0, as such we should not be using 0 to signal
the absence of a physical address. This change fixes some cases
where we were doing this, and switches to sentinal value that cannot
collide with a valid page base physical address.


# 902a096c 18-Feb-2016 Adrian Danis <Adrian.Danis@nicta.com.au>

libsel4allocman: Memory mapped device IO allocation support

Adds support at the top level allocman interface for allocating
objects at a particular physical address (allocman_utspace_alloc_at)
as well as fullfilling allocations from 'device memory'. Uses this
for implementing the additional vka interface function vka_utspace_alloc_at

The split and twinkle untyped allocators are updated to support this
new interface. split implements the 'alloc_at' by brute force searches
over its untypeds, whilst twinkle with its lack of book keeping
is forced to fail any 'alloc_at' request


# 0c17e628 16-May-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

trivial: remove old includes


# 9b0f6e2a 16-May-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

Remove all references to KERNEL_STABLE


# e9556f8d 22-Nov-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

libsel4allocman: Add 64-bit paging reserve types


# 14ab04c3 12-Nov-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

libsel4allocman: Make allocman 64-bit friendly

When compiling for 32-bit there may be spurious warnings due to
some interface type changes. These will eventually be fixed when
other libraries are made 64-bit compatible