/* * \brief Client-side Fiasco.OC specific PD session interface * \author Stefan Kalkowski * \date 2011-04-14 */ /* * Copyright (C) 2011-2013 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ #ifndef _INCLUDE__FOC_PD_SESSION__CLIENT_H_ #define _INCLUDE__FOC_PD_SESSION__CLIENT_H_ #include #include namespace Genode { struct Foc_pd_session_client : Rpc_client { explicit Foc_pd_session_client(Capability session) : Rpc_client(session) { } int bind_thread(Thread_capability thread) { return call(thread); } int assign_parent(Parent_capability parent) { return call(parent); } Native_capability task_cap() { return call(); } }; } #endif /* _INCLUDE__FOC_PD_SESSION__CLIENT_H_ */