23 lines
459 B
C++
Executable File
23 lines
459 B
C++
Executable File
/*
|
|
* \brief Default thread bootstrap code
|
|
* \author Norman Feske
|
|
* \date 2009-04-02
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2009-2013 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.
|
|
*/
|
|
|
|
#include <base/thread.h>
|
|
#include <kernel/print.h>
|
|
|
|
using namespace Genode;
|
|
|
|
void Thread_base::_thread_bootstrap()
|
|
{
|
|
myself()->_tid=*((Native_thread_id*)myself()->utcb());
|
|
}
|