/* * \brief Root client interface * \author Norman Feske * \date 2006-05-11 */ /* * Copyright (C) 2006-2013 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__ROOT__CLIENT_H_ #define _INCLUDE__ROOT__CLIENT_H_ #include #include namespace Genode { struct Root_client : Rpc_client { explicit Root_client(Root_capability root) : Rpc_client(root) { } Session_capability session(Session_args const &args, Affinity const &affinity) { return call(args, affinity); } void upgrade(Session_capability session, Upgrade_args const &args) { call(session, args); } void close(Session_capability session) { call(session); } }; } #endif /* _INCLUDE__ROOT__CLIENT_H_ */