Rev 1366 | Rev 1392 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1366 | Rev 1367 | ||
|---|---|---|---|
| Line 43... | Line 43... | ||
| 43 | 43 | ||
| 44 | tcb = __make_tls(); |
44 | tcb = __make_tls(); |
| 45 | __tcb_set(tcb); |
45 | __tcb_set(tcb); |
| 46 | psthread_setup(tcb); |
46 | psthread_setup(tcb); |
| 47 | _ipc_init(); |
47 | _ipc_init(); |
| 48 | 48 | } |
|
| - | 49 | ||
| - | 50 | void __io_init(void) { |
|
| 49 | open("stdin", 0); |
51 | open("stdin", 0); |
| 50 | open("stdout", 0); |
52 | open("stdout", 0); |
| 51 | open("stderr", 0); |
53 | open("stderr", 0); |
| 52 | } |
54 | } |
| 53 | 55 | ||