]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/l4sys/include/ARCH-arm/kdebug.h
update
[l4.git] / l4 / pkg / l4sys / include / ARCH-arm / kdebug.h
index 624a059903344e99ae13714d6692507208e2d31d..6ab0d006a177ff7bcd11e6ca4f6ce93c5e75d8c2 100644 (file)
@@ -4,7 +4,10 @@
  * \ingroup api_calls
  */
 /*
- * (c) 2008-2009 Technische Universität Dresden
+ * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
+ *               Alexander Warg <warg@os.inf.tu-dresden.de>
+ *     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;