History log of /seL4-test-master/projects/seL4_libs/libsel4sync/include/sync/sem-bare.h
Revision Date Author Comments
# 1baf531d 22-Apr-2020 Axel Heider <axelheider@gmx.de>

debug: add helper functions for cap type checking

This reduces the usage of magic values to one file only.

Signed-off-by: Axel Heider <axelheider@gmx.de>


# 38a475de 21-Aug-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

mcs: Rename CONFIG_KERNEL_RT to CONFIG_KERNEL_MCS

This is to be consistent with the name defined in the kernel.


# 1a87b0f7 01-Aug-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

sem-bare.h: Use seL4_WaitWithMRs syscall for mcs

This syscall doesn't need a reply cap to be set on mcs and can work
without an IPC buffer setup.


# 067dbb19 25-Mar-2019 Curtis Millar <curtis.millar@data61.csiro.au>

Ensure that semaphores do not rely on IPC buffers

So that semaphores can be used before TLS is initialised, they must not
use Send or Wait as these cause values to be read to and written from
the IPC buffer.


# fb479922 29-Jun-2018 Fabrizio Bertocci <fabrizio@rti.com>

No functional change, just added an UNUSED modifier to the ep argument of the sync_sem_bare_trywait as it is not used (and the compiler report warnings about unused parameter)


# 135c651f 27-Sep-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

pragma once and for all


# 11cbb122 17-Jul-2017 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libsel4sync: Move OS agnostic to platsupport


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

Fix licenses


# 5f1bb2bf 04-Apr-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Use CONFIG_DEBUG_BUILD instead of SEL4_DEBUG_KERNEL

SEL4_DEBUG_KERNEL is a historic define from before CONFIG_DEBUG_BUILD existed
and is considered deprecated. With using a CONFIG_ variable this commit also
adds #include <autoconf.h> where neccessary


# 44629c26 13-Dec-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libsel4sync: Move the implementation of bare semaphores to headers.

This change allows the bare semaphore operations to be inlined into calling
code. The effect of this commit has not been quantified, but the result for any
calling code should be increased or unaffected performance. Semantics of the
operations is unchanged.