3 * \brief L4 IPC System Calls, ARM
7 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
8 * Alexander Warg <warg@os.inf.tu-dresden.de>
9 * economic rights: Technische Universität Dresden (Germany)
11 * This file is part of TUD:OS and distributed under the terms of the
12 * GNU General Public License 2.
13 * Please see the COPYING-GPL-2 file for details.
15 * As a special exception, you may use this file as part of a free software
16 * library without restriction. Specifically, if other files instantiate
17 * templates or use macros or inline functions from this file, or you compile
18 * this file and link it with other files to produce an executable, this
19 * file does not by itself cause the resulting executable to be covered by
20 * the GNU General Public License. This exception does not however
21 * invalidate any other reasons why the executable file might be covered by
22 * the GNU General Public License.
26 #include_next <l4/sys/ipc.h>
30 #include <l4/sys/compiler.h>
31 #include <l4/sys/syscall_defs.h>
34 l4_ipc(l4_cap_idx_t dest, l4_utcb_t *utcb,
39 l4_timeout_t timeout) L4_NOTHROW
41 register l4_umword_t _dest __asm__("r2") = dest | flags;
42 register l4_umword_t _timeout __asm__("r3") = timeout.raw;
43 register l4_umword_t _tag __asm__("r0") = tag.raw;
44 register l4_umword_t _label __asm__("r4") = slabel;
56 [sc] "i" (L4_SYSCALL_INVOKE)
58 "cc", "memory", "lr");