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:
Norman Feske
2025-04-07 00:13:47 +02:00
parent 8c4bd7d9da
commit 1ef80e86e2
214 changed files with 1075 additions and 952 deletions

View File

@ -36,7 +36,7 @@ class Block::Session_rpc_object : public Genode::Rpc_object<Session, Session_rpc
* for the tx packet stream
* \param ep entry point used for packet-stream channel
*/
Session_rpc_object(Genode::Region_map &local_rm,
Session_rpc_object(Genode::Env::Local_rm &local_rm,
Genode::Dataspace_capability tx_ds,
Genode::Rpc_entrypoint &ep)
: _tx(tx_ds, local_rm, ep) { }