2011-12-22 15:19:25 +00:00
|
|
|
/*
|
|
|
|
* \brief Client-side region manager session interface
|
2016-01-22 14:36:25 +00:00
|
|
|
* \author Norman Feske
|
2016-04-15 13:19:22 +00:00
|
|
|
* \date 2016-04-15
|
2011-12-22 15:19:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2016-2017 Genode Labs GmbH
|
2011-12-22 15:19:25 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2011-12-22 15:19:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__RM_SESSION__CLIENT_H_
|
|
|
|
#define _INCLUDE__RM_SESSION__CLIENT_H_
|
|
|
|
|
|
|
|
#include <rm_session/capability.h>
|
|
|
|
#include <base/rpc_client.h>
|
|
|
|
|
2016-04-15 13:19:22 +00:00
|
|
|
namespace Genode { struct Rm_session_client; }
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2015-03-04 20:12:14 +00:00
|
|
|
|
2016-04-15 13:19:22 +00:00
|
|
|
struct Genode::Rm_session_client : Rpc_client<Rm_session>
|
2015-03-04 20:12:14 +00:00
|
|
|
{
|
2016-04-15 13:19:22 +00:00
|
|
|
explicit Rm_session_client(Rm_session_capability);
|
|
|
|
|
|
|
|
Capability<Region_map> create(size_t) override;
|
|
|
|
void destroy(Capability<Region_map>) override;
|
2015-03-04 20:12:14 +00:00
|
|
|
};
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
#endif /* _INCLUDE__RM_SESSION__CLIENT_H_ */
|