mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
nova: early message on successful boot
This patch fixes a regression with run/log_core introduced by 2064ffd64b41a6 nova: support multidimensional affinity space The run tool uses a log message 'run_boot_string' to detect successful boot as well as to detect unexpected reboots. This message should never be logged twice and, thus, should not be part of the core_log. The patch mentioned above moved the former run_boot_string after the core_log initialization.
This commit is contained in:
parent
9da428dccf
commit
0df358a550
@ -336,6 +336,14 @@ Platform::Platform()
|
||||
* Now that we can access the I/O ports for comport 0, printf works...
|
||||
*/
|
||||
|
||||
/*
|
||||
* Mark successful boot of hypervisor for automatic tests. This must be
|
||||
* done before core_log is initialized to prevent unexpected-reboot
|
||||
* detection.
|
||||
*/
|
||||
log("\nHypervisor ", String<sizeof(hip.signature)+1>((char const *)&hip.signature),
|
||||
" (API v", hip.api_version, ")");
|
||||
|
||||
/*
|
||||
* remap main utcb to default utcb address
|
||||
* we do this that early, because Core_mem_allocator uses
|
||||
|
@ -14,8 +14,6 @@ proc log_service { } {
|
||||
|
||||
if {[have_spec nova]} {
|
||||
proc kernel_output { } { return "novga logmem" }
|
||||
# differs because \n is missing, since kernel serial is off
|
||||
proc run_boot_string { } { return "Hypervisor reports "}
|
||||
}
|
||||
|
||||
build "core init timer server/vfs server/fs_log app/log_core"
|
||||
|
@ -6,7 +6,7 @@ proc kernel_files { } { return hypervisor }
|
||||
proc kernel_output { } { return "novga serial" }
|
||||
|
||||
proc run_boot_string { } {
|
||||
return "\nHypervisor reports "
|
||||
return "\nHypervisor NOVA "
|
||||
}
|
||||
|
||||
proc apply_microcode { } { return false }
|
||||
|
Loading…
x
Reference in New Issue
Block a user