mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 09:15:36 +00:00
os/packet_stream: avoid global env
Pass an explicit Region_map reference to stream constructors. Issue #1987 Issue #2034
This commit is contained in:
committed by
Norman Feske
parent
ce3170f3f7
commit
9bae4823a0
@ -37,10 +37,11 @@ class File_system::Session_client : public Genode::Rpc_client<Session>
|
||||
* transmission buffer
|
||||
*/
|
||||
Session_client(Session_capability session,
|
||||
Genode::Range_allocator &tx_buffer_alloc)
|
||||
Genode::Range_allocator &tx_buffer_alloc,
|
||||
Genode::Region_map &rm)
|
||||
:
|
||||
Rpc_client<Session>(session),
|
||||
_tx(call<Rpc_tx_cap>(), &tx_buffer_alloc)
|
||||
_tx(call<Rpc_tx_cap>(), rm, tx_buffer_alloc)
|
||||
{ }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user