os/include/file_system_session: API transition (fix 'deprecated' warnings)

...and adaptation of the users of 'File_system::Session_rpc_object' to the
modified interface.

Issue #1987
This commit is contained in:
Christian Prochaska
2017-01-16 17:04:28 +01:00
committed by Norman Feske
parent 344f6f9e53
commit 201bfabdac
9 changed files with 55 additions and 45 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
* Copyright (C) 2012-2017 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.
@ -36,8 +36,9 @@ class File_system::Session_rpc_object : public Genode::Rpc_object<Session, Sessi
* \param ep entry point used for packet-stream channel
*/
Session_rpc_object(Genode::Dataspace_capability tx_ds,
Genode::Region_map &rm,
Genode::Rpc_entrypoint &ep)
: _tx(tx_ds, *Genode::env()->rm_session(), ep) { }
: _tx(tx_ds, rm, ep) { }
/**
* Return capability to packet-stream channel