block_session: turn 'Connection' into template

As a preparatory step for introducing the new block-client API, we have
to turn the 'Block::Connection' into a class template. The template
argument will be used to tie an application-defined job type to the
block connection.

Issue #3283
This commit is contained in:
Norman Feske
2019-04-10 20:11:18 +02:00
committed by Christian Helmuth
parent 6c0dd9fe3b
commit e5f27b44b5
22 changed files with 61 additions and 59 deletions

View File

@@ -30,7 +30,7 @@ class Backend
private:
Genode::Allocator_avl _alloc { &Rump::env().heap() };
Block::Connection _session { Rump::env().env(), &_alloc };
Block::Connection<> _session { Rump::env().env(), &_alloc };
Block::Session::Info _info { _session.info() };
Genode::Lock _session_lock;