usb_session: pass Region_map explicitly

Issue #2280.
This commit is contained in:
Josef Söntgen
2017-02-13 14:55:37 +01:00
committed by Christian Helmuth
parent a2cff03539
commit 3c57a8b3c2
2 changed files with 10 additions and 7 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (C) 2014 Genode Labs GmbH
* Copyright (C) 2014-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 Usb::Session_rpc_object : public Genode::Rpc_object<Session, Session_rpc_o
* \param ep entry point used for packet-stream channel
*/
Session_rpc_object(Genode::Dataspace_capability tx_ds,
Genode::Rpc_entrypoint &ep)
: _tx(tx_ds, *Genode::env()->rm_session(), ep) { }
Genode::Rpc_entrypoint &ep,
Genode::Region_map &rm)
: _tx(tx_ds, rm, ep) { }
/**
* Return capability to packet-stream channel