Changeset afa6e74 in mainline for libc/generic/libc.c


Ignore:
Timestamp:
2006-05-16T23:37:58Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04a73cdf
Parents:
6efe0ddf
Message:

Earliest version of Userspace Framebuffer driver, with stream support in libc.
Also Virtual framebuffers made as split on main fb and its usage by streams

(please test it and report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/libc.c

    r6efe0ddf rafa6e74  
    3232#include <malloc.h>
    3333#include <psthread.h>
     34#include <io/stream.h>
     35
     36int __DONT_OPEN_STDIO__;
    3437
    3538/* We should probably merge libc and libipc together */
     
    4245void __main(void) {
    4346        tcb_t *tcb;
     47       
     48        if(!__DONT_OPEN_STDIO__)
     49        {
     50                open("stdin",0);
     51                open("stdout",0);
     52                open("stderr",0);
     53        }       
    4454       
    4555        tcb = __make_tls();
Note: See TracChangeset for help on using the changeset viewer.