genode/repos/base-fiasco/src/lib/base/thread_bootstrap.cc
Norman Feske 65225a94b1 core: simplify initialization
This patch removes the 'Core_parent' and 'Core_pd_session', and reduces
the 'Core_env'.
2017-05-31 13:16:12 +02:00

45 lines
840 B
C++

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