/* * \brief Platform specific thread initialization * \author Martin Stein * \date 2014-01-06 */ /* * Copyright (C) 2014 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ /* Genode includes */ #include #include using namespace Genode; /***************************** ** Startup library support ** *****************************/ void prepare_init_main_thread() { } void prepare_reinit_main_thread() { } /***************** ** Thread_base ** *****************/ void Thread_base::_thread_bootstrap() { } void Thread_base::_init_platform_thread(size_t, Type type) { if (type == NORMAL) { return; } _thread_cap = Genode::env()->parent()->main_thread_cap(); }