2012-05-30 20:13:09 +02:00
|
|
|
/*
|
|
|
|
* \brief Platform-specific helper functions for the _main() function
|
|
|
|
* \author Martin Stein
|
|
|
|
* \date 2010-09-13
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-10 21:44:47 +01:00
|
|
|
* Copyright (C) 2010-2013 Genode Labs GmbH
|
2012-05-30 20:13:09 +02:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SRC__PLATFORM__MAIN_HELPER_H_
|
|
|
|
#define _SRC__PLATFORM__MAIN_HELPER_H_
|
|
|
|
|
2013-02-25 21:18:26 +01:00
|
|
|
#include <base/native_types.h>
|
|
|
|
|
|
|
|
|
|
|
|
Genode::Native_thread_id main_thread_tid;
|
|
|
|
|
|
|
|
|
|
|
|
static void main_thread_bootstrap()
|
|
|
|
{
|
|
|
|
main_thread_tid = Kernel::current_thread_id();
|
|
|
|
}
|
2012-05-30 20:13:09 +02:00
|
|
|
|
|
|
|
#endif /* _SRC__PLATFORM__MAIN_HELPER_H_ */
|
|
|
|
|