X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/c06638d2e57a3230381daf1ccce3cf0dfd0eaa92..72f8c5b742f7e0c579f3025c1e736ab5011c10ee:/l4/pkg/l4sys/include/ARCH-arm/kdebug.h diff --git a/l4/pkg/l4sys/include/ARCH-arm/kdebug.h b/l4/pkg/l4sys/include/ARCH-arm/kdebug.h index 624a05990..6ab0d006a 100644 --- a/l4/pkg/l4sys/include/ARCH-arm/kdebug.h +++ b/l4/pkg/l4sys/include/ARCH-arm/kdebug.h @@ -4,7 +4,10 @@ * \ingroup api_calls */ /* - * (c) 2008-2009 Technische Universität Dresden + * (c) 2008-2009 Adam Lackorzynski , + * Alexander Warg + * economic rights: Technische Universität Dresden (Germany) + * * This file is part of TUD:OS and distributed under the terms of the * GNU General Public License 2. * Please see the COPYING-GPL-2 file for details. @@ -84,6 +87,9 @@ l4_sys_sti(void) L4_NOTHROW; EXTERN_C long int l4_atomic_add(volatile long int* mem, long int offset) L4_NOTHROW L4_LONG_CALL; +EXTERN_C long int +l4_atomic_xchg(volatile long int* mem, long int newval) L4_NOTHROW L4_LONG_CALL; + EXTERN_C long int l4_atomic_cmpxchg(volatile long int* mem, long int oldval, long int newval) L4_NOTHROW L4_LONG_CALL;