2011-12-22 15:19:25 +00:00
|
|
|
/*
|
|
|
|
* \brief Client-side I/O-memory session interface
|
|
|
|
* \author Christian Helmuth
|
|
|
|
* \date 2006-08-01
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-10 20:44:47 +00:00
|
|
|
* Copyright (C) 2006-2013 Genode Labs GmbH
|
2011-12-22 15:19:25 +00:00
|
|
|
*
|
|
|
|
* 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__IO_MEM_SESSION__CLIENT_H_
|
|
|
|
#define _INCLUDE__IO_MEM_SESSION__CLIENT_H_
|
|
|
|
|
|
|
|
#include <io_mem_session/capability.h>
|
|
|
|
#include <base/rpc_client.h>
|
|
|
|
|
2015-03-04 20:12:14 +00:00
|
|
|
namespace Genode { struct Io_mem_session_client; }
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
|
2015-03-04 20:12:14 +00:00
|
|
|
struct Genode::Io_mem_session_client : Rpc_client<Io_mem_session>
|
|
|
|
{
|
|
|
|
explicit Io_mem_session_client(Io_mem_session_capability session)
|
|
|
|
: Rpc_client<Io_mem_session>(session) { }
|
|
|
|
|
|
|
|
Io_mem_dataspace_capability dataspace() override { return call<Rpc_dataspace>(); }
|
|
|
|
};
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
#endif /* _INCLUDE__IO_MEM_SESSION__CLIENT_H_ */
|