Subversion Repositories HelenOS

Rev

Rev 2787 | Rev 3425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 3424
Line 62... Line 62...
62
 
62
 
63
    (void) as_area_create(&_heap, 1, AS_AREA_WRITE | AS_AREA_READ);
63
    (void) as_area_create(&_heap, 1, AS_AREA_WRITE | AS_AREA_READ);
64
    _async_init();
64
    _async_init();
65
    f = fibril_setup();
65
    f = fibril_setup();
66
    __tcb_set(f->tcb);
66
    __tcb_set(f->tcb);
67
}
67
   
68
 
-
 
69
void __io_init(void)
-
 
70
{
-
 
71
    open_stdin();
-
 
72
    open_stdout();
68
    open_console();
73
}
69
}
74
 
70
 
75
void __exit(void)
71
void __exit(void)
76
{
72
{
77
    fibril_teardown(__tcb_get()->fibril_data);
73
    fibril_teardown(__tcb_get()->fibril_data);