X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/c06638d2e57a3230381daf1ccce3cf0dfd0eaa92..8d488baf66093ccf04050c31a0d49828e4a40332:/l4/pkg/fb-drv/server/src/main.cc diff --git a/l4/pkg/fb-drv/server/src/main.cc b/l4/pkg/fb-drv/server/src/main.cc index 36f04d2f4..9b9cae7cd 100644 --- a/l4/pkg/fb-drv/server/src/main.cc +++ b/l4/pkg/fb-drv/server/src/main.cc @@ -1,15 +1,18 @@ /* - * (c) 2009 Technische Universität Dresden + * (c) 2009 Adam Lackorzynski , + * Alexander Warg , + * Torsten Frenzel + * 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 -#include -#include -#include + +#include +#include #include -#include + #include #include #include @@ -70,6 +73,8 @@ Phys_fb::dispatch(l4_umword_t obj, L4::Ipc_iostream &ios) ios >> tag; switch (tag.label()) { + case L4::Meta::Protocol: + return L4::Util::handle_meta_request(ios); case L4Re::Protocol::Goos: return L4Re::Util::Video::Goos_svr::dispatch(obj, ios); case L4Re::Protocol::Dataspace: @@ -110,7 +115,7 @@ Prog_args::Prog_args(int argc, char *argv[]) default: printf("Unknown option '%c'\n", c); break; - }; + } } } @@ -148,7 +153,7 @@ int main(int argc, char *argv[]) if (!fb->obj_cap().is_valid()) { - printf("Failed to register in namespace, maybe ro?\n"); + printf("Failed to connect.\n"); return 1; }