/*
- * (c) 2009 Technische Universität Dresden
+ * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
+ * Alexander Warg <warg@os.inf.tu-dresden.de>,
+ * Torsten Frenzel <frenzel@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.
*/
-#include <l4/re/env>
-#include <l4/re/error_helper>
-#include <l4/re/namespace>
-#include <l4/re/util/cap_alloc>
+
+#include <l4/sys/capability>
+#include <l4/sys/typeinfo_svr>
#include <l4/cxx/ipc_server>
-#include <l4/cxx/l4iostream>
+
#include <cstdio>
#include <getopt.h>
#include <cstdlib>
ios >> tag;
switch (tag.label())
{
+ case L4::Meta::Protocol:
+ return L4::Util::handle_meta_request<L4Re::Video::Goos>(ios);
case L4Re::Protocol::Goos:
return L4Re::Util::Video::Goos_svr::dispatch(obj, ios);
case L4Re::Protocol::Dataspace:
default:
printf("Unknown option '%c'\n", c);
break;
- };
+ }
}
}
if (!fb->obj_cap().is_valid())
{
- printf("Failed to register in namespace, maybe ro?\n");
+ printf("Failed to connect.\n");
return 1;
}