block/request: add member 'tag'

Issue #3274
This commit is contained in:
Martin Stein 2019-03-14 19:29:07 +01:00 committed by Christian Helmuth
parent a2743dcaeb
commit a9851aca55
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ struct Block::Request
Genode::uint64_t block_number;
Genode::uint64_t offset;
Genode::uint32_t count;
Genode::uint32_t tag;
bool operation_defined() const
{

View File

@ -196,7 +196,8 @@ class Block::Request_stream : Genode::Noncopyable
.success = Request::Success::FALSE,
.block_number = (uint64_t)packet.block_number(),
.offset = (uint64_t)packet.offset(),
.count = (uint32_t)packet.block_count() };
.count = (uint32_t)packet.block_count(),
.tag = 0};
Response const response = packet_valid
? fn(request)