/* * \brief Client-side OKL4 specific pd session interface * \author Stefan Kalkowski * \date 2009-06-03 */ /* * Copyright (C) 2009-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__OKL4_PD_SESSION__CLIENT_H_ #define _INCLUDE__OKL4_PD_SESSION__CLIENT_H_ #include #include namespace Genode { struct Okl4_pd_session_client : Rpc_client { explicit Okl4_pd_session_client(Pd_session_capability cap) : Rpc_client(static_cap_cast(cap)) { } int bind_thread(Thread_capability thread) { return call(thread); } int assign_parent(Parent_capability parent) { return call(parent); } Okl4::L4_SpaceId_t space_id() { return call(); } void space_pager(Thread_capability thread) { call(thread); } }; } #endif /* _INCLUDE__OKL4_PD_SESSION__CLIENT_H_ */