/* * \brief Client-side stub for the NOVA-specific PD session interface * \author Norman Feske * \date 2016-01-19 */ /* * Copyright (C) 2016 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__NOVA_NATIVE_PD__CLIENT_H_ #define _INCLUDE__NOVA_NATIVE_PD__CLIENT_H_ #include #include namespace Genode { struct Nova_native_pd_client; } struct Genode::Nova_native_pd_client : Rpc_client { explicit Nova_native_pd_client(Capability cap) : Rpc_client(static_cap_cast(cap)) { } Native_capability alloc_rpc_cap(Native_capability ep, addr_t entry, addr_t mtd) override { return call(ep, entry, mtd); } void imprint_rpc_cap(Native_capability cap, unsigned long badge) override { call(cap, badge); } }; #endif /* _INCLUDE__PD_SESSION__CLIENT_H_ */