Changeset 671


Ignore:
Timestamp:
Jul 27, 2015, 10:03:19 PM (9 years ago)
Author:
alain
Message:

Introduce the "shared" argument in the giet_tty_alloc() system call.

Location:
soft/giet_vm/giet_libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.c

    r666 r671  
    172172//////////////////////////////////////////////////////////////////////////////
    173173
    174 /////////////////////
    175 void giet_tty_alloc()
     174//////////////////////////////////////////
     175void giet_tty_alloc( unsigned int shared )
    176176{
    177177    if ( sys_call( SYSCALL_TTY_ALLOC,
    178                    0, 0, 0, 0 ) )  giet_exit("error in giet_tty_alloc()");
     178                   shared,
     179                   0, 0, 0 ) )  giet_exit("error in giet_tty_alloc()");
    179180}
    180181
  • soft/giet_vm/giet_libs/stdio.h

    r663 r671  
    207207//////////////////////////////////////////////////////////////////////////
    208208
    209 extern void giet_tty_alloc();
     209extern void giet_tty_alloc( unsigned int shared );
    210210
    211211extern void giet_tty_printf( char* format, ... );
    212 
    213 extern void giet_shr_printf( char* format, ... );
    214212
    215213extern void giet_tty_getc( char* byte );
Note: See TracChangeset for help on using the changeset viewer.