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

@ -78,7 +78,7 @@ class Block::Driver
Genode::Tslab<Request, BLK_SZ> _r_slab;
Genode::List<Request> _r_list { };
Genode::Allocator_avl _block_alloc;
Block::Connection _session;
Block::Connection<> _session;
Block::Session::Info const _info { _session.info() };
Genode::Signal_handler<Driver> _source_ack;
Genode::Signal_handler<Driver> _source_submit;