mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 13:48:30 +00:00
part_blk: increase ep stack size and bulk buffer
* Increase entrypoint stack size for part_blk server, since it crashes on 64 bit * Consider packet alignment in bulk buffer size calculation of test-blk-cli
This commit is contained in:
parent
af86e33c3f
commit
ea9c0e20ba
@ -42,7 +42,7 @@ int main()
|
||||
return 1;
|
||||
}
|
||||
|
||||
enum { STACK_SIZE = 512 * sizeof(Genode::size_t) };
|
||||
enum { STACK_SIZE = 1024 * sizeof(Genode::size_t) };
|
||||
static Cap_connection cap;
|
||||
static Rpc_entrypoint ep(&cap, STACK_SIZE, "part_ep");
|
||||
static Block::Root block_root(&ep, env()->heap(), receiver);
|
||||
|
@ -69,7 +69,8 @@ class Test
|
||||
{
|
||||
return bulk +
|
||||
sizeof(Block::Session::Tx_policy::Ack_queue) +
|
||||
sizeof(Block::Session::Tx_policy::Submit_queue);
|
||||
sizeof(Block::Session::Tx_policy::Submit_queue) +
|
||||
(1 << Block::Packet_descriptor::PACKET_ALIGNMENT) - 1;
|
||||
}
|
||||
|
||||
void _ack_avail(unsigned) { ack_avail(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user