cli_monitor: API transition

Issue #1987
This commit is contained in:
Norman Feske
2017-02-17 10:53:59 +01:00
committed by Christian Helmuth
parent bfdadc55b2
commit e17811fb7a
4 changed files with 21 additions and 7 deletions

View File

@ -28,6 +28,7 @@ struct Cli_monitor::Child : Child_base, List<Child>::Element
Argument argument;
Child(Ram &ram,
Genode::Allocator &alloc,
Name const &label,
Binary_name const &binary,
Genode::Pd_session &pd_session,
@ -40,6 +41,7 @@ struct Cli_monitor::Child : Child_base, List<Child>::Element
Genode::Signal_context_capability exit_sig_cap)
:
Child_base(ram,
alloc,
label,
binary,
pd_session,

View File

@ -113,8 +113,8 @@ class Cli_monitor::Start_command : public Command
Child *child = 0;
try {
child = new (_alloc)
Child(_ram, label, binary_name, _pd, _ref_ram, _ref_ram_cap,
_local_rm, ram, ram_limit,
Child(_ram, _alloc, label, binary_name, _pd, _ref_ram,
_ref_ram_cap, _local_rm, ram, ram_limit,
_yield_response_sigh_cap, _exit_sig_cap);
}
catch (Genode::Parent::Service_denied) {