base: unify page-fault notification for kernels

* Enable page-fault messages for regions not directly managed by core
* Unify output given when a page-fault occurs related to those regions

Fix #2082
This commit is contained in:
Stefan Kalkowski
2016-09-05 11:24:51 +02:00
committed by Christian Helmuth
parent 97201e6778
commit 2147c42ec6
27 changed files with 142 additions and 141 deletions

View File

@ -20,6 +20,7 @@
#include <util/list.h>
#include <base/allocator.h>
#include <base/rpc_server.h>
#include <base/session_label.h>
#include <region_map/region_map.h>
/* core includes */
@ -73,7 +74,8 @@ struct Genode::Rm_client : Pager_object, Rm_member
Rm_client(Cpu_session_capability, Thread_capability,
Region_map_component *rm, unsigned long badge,
Weak_ptr<Address_space> &address_space,
Affinity::Location location)
Affinity::Location location, Cpu_session::Name const&,
Session_label const&)
{ }
};

View File

@ -58,7 +58,7 @@ void Thread::_thread_start()
lx_sigaltstack(stack_base, stack_size);
if (stack_size < 0x1000)
raw("small stack of ", stack_size, " bytes for \"", thread->name(),
"\" may may break Linux signal handling");
"\" may break Linux signal handling");
/*
* Set signal handler such that canceled system calls get not