Ignore:
Timestamp:
Jul 27, 2015, 9:59:52 PM (9 years ago)
Author:
alain
Message:

Introduce the "shared" argument in the _sys_tty_alloc() function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/sys_handler.h

    r629 r670  
    9292///////////////////////////////////////////////////////////////////////////////
    9393
    94 int _sys_coproc_alloc( unsigned int   coproc_type,
    95                        unsigned int*  coproc_info );
    96 
    97 int _sys_coproc_release( unsigned int coproc_reg_index );
    98 
    99 int _sys_coproc_channel_init( unsigned int            channel,
    100                               giet_coproc_channel_t*  desc );
    101 
    102 int _sys_coproc_run( unsigned int coproc_reg_index );
    103 
    104 int _sys_coproc_completed();
    105 
    106 ///////////////////////////////////////////////////////////////////////////////
    107 //    TTY related syscall handlers
    108 ///////////////////////////////////////////////////////////////////////////////
    109 
    110 int _sys_tty_alloc();
    111 
    112 int _sys_tty_write( const char*  buffer,
    113                     unsigned int length,
    114                     unsigned int channel );
    115 
    116 int _sys_tty_read(  char*        buffer,
    117                     unsigned int length,
    118                     unsigned int channel );
    119 
    120 int _sys_tty_get_lock( unsigned int   channel,
    121                        unsigned int * save_sr_ptr );
    122 
    123 int _sys_tty_release_lock( unsigned int   channel,
    124                            unsigned int * save_sr_ptr );
    125 
    12694int _sys_coproc_register_set( unsigned int cluster_xy,
    12795                              unsigned int reg_index,
     
    13199                              unsigned int  reg_index,
    132100                              unsigned int* buffer );
     101
     102int _sys_coproc_alloc( unsigned int   coproc_type,
     103                       unsigned int*  coproc_info );
     104
     105int _sys_coproc_release( unsigned int coproc_reg_index );
     106
     107int _sys_coproc_channel_init( unsigned int            channel,
     108                              giet_coproc_channel_t*  desc );
     109
     110int _sys_coproc_run( unsigned int coproc_reg_index );
     111
     112int _sys_coproc_completed();
     113
     114///////////////////////////////////////////////////////////////////////////////
     115//    TTY related syscall handlers
     116///////////////////////////////////////////////////////////////////////////////
     117
     118int _sys_tty_alloc( unsigned int shared );
     119
     120int _sys_tty_write( const char*  buffer,
     121                    unsigned int length,
     122                    unsigned int channel );
     123
     124int _sys_tty_read(  char*        buffer,
     125                    unsigned int length,
     126                    unsigned int channel );
    133127
    134128//////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.