/* * \brief Client-side pd session interface * \author Christian Helmuth * \date 2006-07-12 */ /* * Copyright (C) 2006-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__PD_SESSION__CLIENT_H_ #define _INCLUDE__PD_SESSION__CLIENT_H_ #include #include namespace Genode { struct Pd_session_client : Rpc_client { explicit Pd_session_client(Pd_session_capability session) : Rpc_client(session) { } int bind_thread(Thread_capability thread) { return call(thread); } int assign_parent(Parent_capability parent) { parent.solely_map(); return call(parent); } bool assign_pci(addr_t pci_config_memory_address) { return call(pci_config_memory_address); } }; } #endif /* _INCLUDE__PD_SESSION__CLIENT_H_ */