mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-22 08:50:09 +00:00
base: introduce Local_rm for local Region_map
The new 'Local_rm' type offers a narrow interface for the interaction with the component-local address space, managing the lifetime of attachments by using the 'Allocation' API. Fixes #5516
This commit is contained in:
@ -51,7 +51,7 @@ class Input::Session_component : public Rpc_object<Input::Session>
|
||||
* \param ram allocator for the shared-memory input buffer
|
||||
*/
|
||||
Session_component(Entrypoint &ep, Ram_allocator &ram,
|
||||
Region_map &rm, Action &action)
|
||||
Env::Local_rm &rm, Action &action)
|
||||
:
|
||||
_ep(ep), _action(action),
|
||||
_ds(ram, rm, Event_queue::QUEUE_SIZE*sizeof(Input::Event))
|
||||
|
Reference in New Issue
Block a user