From faea43906fff4fabfd4b696b0221ffdf7c0c0025 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Tue, 23 Jan 2018 11:53:50 +0100 Subject: [PATCH] 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. --- repos/os/src/app/dummy/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/src/app/dummy/main.cc b/repos/os/src/app/dummy/main.cc index 644bc0a00..3f65b06d5 100644 --- a/repos/os/src/app/dummy/main.cc +++ b/repos/os/src/app/dummy/main.cc @@ -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 Connection;