mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 00:23:16 +00:00
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:
committed by
Christian Helmuth
parent
6c0dd9fe3b
commit
e5f27b44b5
@ -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;
|
||||
|
Reference in New Issue
Block a user