Subversion Repositories Kolibri OS

Rev

Rev 3593 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3593 Serge 1
#include <_ansi.h>
2
#include 
3
#include 
4
 
5
void init_global_reent()
6
{
7
    struct _reent *ent;
8
 
9
    ent =_GLOBAL_REENT;
10
 
11
    _REENT_INIT_PTR(ent);
12
 
13
    __asm__ __volatile__(
3805 Serge 14
    "movl %0, %%fs:16"
3593 Serge 15
    ::"r"(ent));
16
//    __sinit(ent);
17
}
18