mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
a2743dcaeb
commit
a9851aca55
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user