/* * \brief Client-side NOVA-specific CPU session interface * \author Norman Feske * \date 2016-04-21 */ /* * 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_CPU__CLIENT_H_ #define _INCLUDE__NOVA_NATIVE_CPU__CLIENT_H_ #include #include namespace Genode { struct Nova_native_cpu_client; } struct Genode::Nova_native_cpu_client : Rpc_client { explicit Nova_native_cpu_client(Capability cap) : Rpc_client(static_cap_cast(cap)) { } Native_capability pager_cap(Thread_capability cap) { return call(cap); } }; #endif /* _INCLUDE__NOVA_NATIVE_CPU__CLIENT_H_ */