mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 14:48:20 +00:00
base: setup thread object for main thread in CRT0
For a main thread a thread object is created by the CRT0 before _main gets called so that _main can already run in a generic environment that, e.g., catches stack overflows as a page-fault instead of corrupting the BSS. Additionally dynamic programs have only one CRT0 - the one of the LDSO - which does the initialization for both LDSO and program. ref #989
This commit is contained in:
committed by
Norman Feske
parent
ba8e61653f
commit
0b64328944
@ -14,6 +14,7 @@
|
||||
#ifndef _INCLUDE__RM_SESSION__CLIENT_H_
|
||||
#define _INCLUDE__RM_SESSION__CLIENT_H_
|
||||
|
||||
/* Genode includes */
|
||||
#include <rm_session/capability.h>
|
||||
|
||||
namespace Genode {
|
||||
@ -22,6 +23,8 @@ namespace Genode {
|
||||
{
|
||||
Rm_session_capability const _cap;
|
||||
|
||||
typedef Rm_session Rpc_interface;
|
||||
|
||||
/**
|
||||
* Return pointer to locally implemented RM session
|
||||
*
|
||||
|
Reference in New Issue
Block a user