init test: conserve RAM in dummy app

This patch replaces the 'Heap' by a 'Sliced_heap' to avoid the
allocation of a 16 KiB memory block when 'dummy' acts as a server. On
seL4, such an allocation would exceed the 1M quota as assigned by the
init.run script.
This commit is contained in:
Norman Feske 2018-01-23 11:53:50 +01:00
parent 9175d801e0
commit faea43906f

View File

@ -116,7 +116,7 @@ struct Dummy::Log_connections
{
Env &_env;
Heap _heap { _env.ram(), _env.rm() };
Sliced_heap _heap { _env.ram(), _env.rm() };
typedef Registered<Log_connection> Connection;