Loading...
Searching...
No Matches
typeinfo_svr
Go to the documentation of this file.
// vi:set ft=cpp: -*- Mode: C++ -*-
/*
* (c) 2010 Alexander Warg <warg@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
#include <l4/sys/meta>
#include <l4/sys/cxx/ipc_epiface>
namespace L4 { namespace Util {
template<typename KO, typename IOS>
long handle_meta_request(IOS &ios)
{
using L4::Ipc::Msg::dispatch_call;
typedef L4::Ipc::Detail::Meta_svr<KO> Msvr;
typedef L4::Meta::Rpcs Rpcs;
Msvr *svr = nullptr;
l4_msgtag_t tag = dispatch_call<Rpcs>(svr, ios.utcb(), ios.tag(), 0);
ios.set_ipc_params(tag);
return tag.label();
}
}}
l4_msgtag_t
struct l4_msgtag_t l4_msgtag_t
Message tag data structure.
L4
L4 low-level kernel interface.
Definition l4sys-l4f-groups.dox:50
l4_msgtag_t::label
long label() const L4_NOTHROW
Get the protocol value.
Definition types.h:158
meta
Meta interface for getting dynamic type information about objects behind capabilities.