Changes between Version 21 and Version 22 of library_stdio


Ignore:
Timestamp:
Oct 28, 2014, 12:08:41 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v21 v22  
    4848 == __3) TTY related system calls__ ==
    4949
    50 === void '''giet_tty_open'''() ===
    51 This function allocates a private terminal to the calling task, and returns the terminal index.
    52 Exit if no available terminal.
     50The GIET_VM allows an user task to use a private TTY terminal, or to display log message on a shared TTY terminal.
     51
     52 === unsigned int '''giet_tty_open'''() ===
     53This function allocates a private terminal to the calling task, and returns the terminal index. This index is registered in the task context. Exit if no TTY terminal.
     54
    5355  === void '''giet_tty_printf'''( char* format, ... ) ===
    5456This function print formated text on a private terminal that must have been allocated to the calling task in the mapping (''use_tty'' argument). Therefore,  it does not take the TTY lock.
     
    6163   * %s : string
    6264
    63 Exit in case of illegal format.
    64 
    65  === void '''giet_shr_printf'''( char* format, ... ) ===
    66 This function print formated text on the shared terminal arbitrarily allocated by the kernel. It takes the TTY lock
    67 for exclusive access. It supports the same formats as the giet_tty_printf() function.
    68 
    69 Exit in case of illegal format.
     65Exit if  private terminal index not defined, or in case of illegal format.
    7066
    7167 === void '''giet_tty_getc'''( char* byte ) ===
     
    8783
    8884Exit if private TTY index not defined.
     85
     86 === void '''giet_shr_printf'''( char* format, ... ) ===
     87This function print formated text on the shared terminal arbitrarily allocated by the kernel. It takes the TTY lock
     88for exclusive access. It supports the same formats as the giet_tty_printf() function.
     89
     90Exit in case of illegal format.
    8991
    9092 == __4) File system related system calls__ ==
     
    110112 == __5) Network related system calls__ ==
    111113
     114The GIET_VM allows a user task to directly access a private NIC channel.
     115
     116 === unsigned int '''giet_nic_open'''( ) ===
     117 This function allocates a private NIC channel to the calling task, and returns the channel index.
     118Exit if no available NIC channel.
     119
    112120 === void '''giet_nic_sync_send'''( void* buffer ) ===
    113121This blocking function requires to transfer one container (4K bytes)  from an user space buffer to the Ethernet Network Controller.
     
    121129
    122130 == __6) Frame Buffer related system calls__ ==
     131
     132An user task can access the frame buffer through a memcpy() or through the chained buffer DMA controller.
    123133
    124134 === void '''giet_fb_sync_read'''( unsigned int offset, void* buffer, unsigned int length ) ===