base: remove initial heap chunk from heap

This change reduces the BSS segment by 32 KiB (on 64 bit).
This commit is contained in:
Norman Feske 2016-12-02 11:53:45 +01:00
parent ecff6f7375
commit 92460cdab7

View File

@ -80,8 +80,6 @@ class Genode::Platform_env : public Env_deprecated,
*/
Attached_stack_area _stack_area { _parent_client, _resources.pd };
char _initial_heap_chunk[sizeof(addr_t) * 4096];
/*
* Emergency RAM reserve
*
@ -99,8 +97,7 @@ class Genode::Platform_env : public Env_deprecated,
:
_parent_client(Genode::parent_cap(), *this),
_resources(_parent_client),
_heap(&_resources.ram, &_resources.rm, Heap::UNLIMITED,
_initial_heap_chunk, sizeof(_initial_heap_chunk)),
_heap(&_resources.ram, &_resources.rm, Heap::UNLIMITED),
_emergency_ram_ds(_resources.ram.alloc(_emergency_ram_size()))
{
env_stack_area_ram_session = &_resources.ram;