/* * \brief Client-side HW specific PD session interface * \author Stefan Kalkowski * \date 2017-06-12 */ /* * Copyright (C) 2017 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU Affero General Public License version 3. */ #ifndef _INCLUDE__HW_NATIVE_PD__CLIENT_H_ #define _INCLUDE__HW_NATIVE_PD__CLIENT_H_ #include #include namespace Genode { struct Hw_native_pd_client; } struct Genode::Hw_native_pd_client : Rpc_client { explicit Hw_native_pd_client(Capability cap) : Rpc_client(cap) { } void upgrade_cap_slab() override { call(); } size_t avail_cap_slab() override { return call(); } }; #endif /* _INCLUDE__HW_NATIVE_PD__CLIENT_H_ */