mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +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
@ -45,9 +45,10 @@ class Packet_stream_rx::Rpc_object : public Genode::Rpc_object<CHANNEL, Rpc_obje
|
||||
* interface
|
||||
*/
|
||||
Rpc_object(Genode::Dataspace_capability ds,
|
||||
Genode::Range_allocator *buffer_alloc,
|
||||
Genode::Region_map &rm,
|
||||
Genode::Range_allocator &buffer_alloc,
|
||||
Genode::Rpc_entrypoint &ep)
|
||||
: _ep(ep), _cap(_ep.manage(this)), _source(buffer_alloc, ds),
|
||||
: _ep(ep), _cap(_ep.manage(this)), _source(ds, rm, buffer_alloc),
|
||||
|
||||
/* init signal handlers with default handlers of source */
|
||||
_sigh_ready_to_submit(_source.sigh_ready_to_submit()),
|
||||
|
Reference in New Issue
Block a user