hw: use reliable start message in run env

Previously for determining wether boot-up succeeded or not, we looked
for a message that is switched off in release mode. Now the kernel
provides a reliable message as soon as initialization is done.

ref #1096
This commit is contained in:
Martin Stein 2014-03-12 13:34:53 +01:00 committed by Norman Feske
parent 7fc26d496a
commit a34227cdda
2 changed files with 2 additions and 1 deletions

View File

@ -207,7 +207,7 @@ proc run_genode_until {{wait_for_re forever} {timeout_value 0} {running_spawn_id
return
}
if {[is_serial_available]} {
spawn_serial $wait_for_re $timeout_value "create local services"
spawn_serial $wait_for_re $timeout_value "kernel initialized"
return
}

View File

@ -267,6 +267,7 @@ extern "C" void init_kernel_multiprocessor()
/* kernel initialization finished */
init_platform();
Genode::printf("kernel initialized\n");
}
reset_scheduling_time(processor_id);
}