mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
committed by
Christian Helmuth
parent
06b25a9082
commit
6f8dc9054a
@ -101,10 +101,9 @@ Parent::Close_result Local_parent::close(Client::Id id)
|
||||
|
||||
|
||||
Local_parent::Local_parent(Parent_capability parent_cap,
|
||||
Emergency_ram_reserve &reserve,
|
||||
Allocator &alloc)
|
||||
:
|
||||
Expanding_parent_client(parent_cap, reserve), _alloc(alloc)
|
||||
Expanding_parent_client(parent_cap), _alloc(alloc)
|
||||
{ }
|
||||
|
||||
|
||||
@ -148,7 +147,7 @@ static Parent_capability obtain_parent_cap()
|
||||
|
||||
Local_parent &Platform_env::_parent()
|
||||
{
|
||||
static Local_parent local_parent(obtain_parent_cap(), *this, _heap);
|
||||
static Local_parent local_parent(obtain_parent_cap(), _heap);
|
||||
return local_parent;
|
||||
}
|
||||
|
||||
@ -157,8 +156,7 @@ Platform_env::Platform_env()
|
||||
:
|
||||
Platform_env_base(static_cap_cast<Cpu_session>(_parent().session_cap(Parent::Env::cpu())),
|
||||
static_cap_cast<Pd_session> (_parent().session_cap(Parent::Env::pd()))),
|
||||
_heap(Platform_env_base::ram_session(), Platform_env_base::rm_session()),
|
||||
_emergency_ram_ds(ram_session()->alloc(_emergency_ram_size()))
|
||||
_heap(Platform_env_base::ram_session(), Platform_env_base::rm_session())
|
||||
{
|
||||
_attach_stack_area();
|
||||
|
||||
|
Reference in New Issue
Block a user