Subversion Repositories Kolibri OS

Rev

Rev 4874 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 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
    __asm__ __volatile__(
12
    "movl %0, %%fs:16"
13
    ::"r"(ent));
14
}
15