Ignore:
Timestamp:
Jul 27, 2015, 8:40:45 PM (9 years ago)
Author:
alain
Message:

Introduce support for the "shared" argument in the giet_tty_alloc() system call,
and replace the giet_shr_printf() system call by giet_tty_printf().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/classif/main.c

    r549 r669  
    1111// It can run on architectures containing up to 16 * 16 clusters,
    1212// and up to 8 processors per cluster.
     13//
     14// It requires N+2 TTY terminals, as each task in cluster[0][0] displays messages.
    1315//
    1416// This application is described as a TCG (Task and Communication Graph)
     
    142144    if ( (x==0) && (y==0) )
    143145    {
    144         giet_tty_alloc();
     146        // allocate a private TTY
     147        giet_tty_alloc(0);
    145148
    146149        giet_tty_printf("\n*** Task load on P[%d][%d][%d] starts at cycle %d\n"
     
    299302    if ( (x==0) && (y==0) )
    300303    {
    301         giet_tty_alloc();
     304        // allocate a private TTY
     305        giet_tty_alloc(0);
    302306
    303307        giet_tty_printf("\n*** Task store on P[%d][%d][%d] starts at cycle %d\n"
     
    439443    if ( (x==0) && (y==0) )
    440444    {
    441         giet_tty_alloc();
     445        // allocate a private TTY
     446        giet_tty_alloc(0);
    442447
    443448        giet_tty_printf("\n*** Task analyse on P[%d][%d][%d] starts at cycle %d\n"
Note: See TracChangeset for help on using the changeset viewer.