mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-20 08:03:56 +00:00
@ -100,14 +100,6 @@ void prepare_init_main_thread()
|
||||
}
|
||||
}
|
||||
|
||||
void prepare_reinit_main_thread()
|
||||
{
|
||||
using namespace Genode;
|
||||
construct_at<Capability_map>(&cap_map());
|
||||
construct_at<Initial_cap_range>(&initial_cap_range());
|
||||
prepare_init_main_thread();
|
||||
}
|
||||
|
||||
|
||||
/************
|
||||
** Thread **
|
||||
|
@ -81,7 +81,7 @@ void Thread::_init_platform_thread(size_t weight, Type type)
|
||||
native_thread().ec_sel = Native_thread::INVALID_INDEX;
|
||||
|
||||
/* for main threads the member initialization differs */
|
||||
if (type == MAIN || type == REINITIALIZED_MAIN) {
|
||||
if (type == MAIN) {
|
||||
_thread_cap = main_thread_cap();
|
||||
|
||||
native_thread().exc_pt_sel = 0;
|
||||
|
Reference in New Issue
Block a user