2 * (c) 2010 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
10 #include <l4/re/namespace>
11 #include <l4/re/util/cap_alloc>
12 #include <l4/re/util/object_registry>
13 #include <l4/re/error_helper>
15 #include <l4/cxx/ipc_server>
20 L4::Cap<void> rcv_cap = L4Re::Util::cap_alloc.alloc<void>();
23 public L4::Ipc_svr::Ignore_errors,
24 public L4::Ipc_svr::Default_timeout,
25 public L4::Ipc_svr::Compound_reply
28 static void setup_wait(L4::Ipc::Istream &istr, bool)
31 istr << L4::Ipc::Small_buf(rcv_cap.cap(), L4_RCV_ITEM_LOCAL_ID);
32 l4_utcb_br()->bdr = 0;
37 static L4Re::Util::Registry_server<Loop_hooks> server;
39 L4Re::Util::Object_registry *registry = server.registry();