base: use 'Ram_allocator' as stack-area back end

The 'Stack_area_ram_session' is now a 'Stack_area_ram_allocator', which
simplifies the code and remove a dependency from the 'Ram_session'
interface, which we want to remove after all.

Issue #2407
This commit is contained in:
Norman Feske
2017-05-11 19:39:46 +02:00
committed by Christian Helmuth
parent d31642e8be
commit 5a3a1c704b
9 changed files with 32 additions and 66 deletions

View File

@ -163,8 +163,8 @@ Platform_env::Platform_env()
{
_attach_stack_area();
env_stack_area_region_map = &_local_pd_session._stack_area;
env_stack_area_ram_session = ram_session();
env_stack_area_region_map = &_local_pd_session._stack_area;
env_stack_area_ram_allocator = ram_session();
/* register TID and PID of the main thread at core */
Linux_native_cpu_client native_cpu(cpu_session()->native_cpu());