Ignore:
Timestamp:
Aug 4, 2015, 11:42:57 AM (9 years ago)
Author:
alain
Message:

Introduce the giet_tasks-status() syscall.

File:
1 edited

Legend:

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

    r671 r689  
    9292{
    9393    sys_call( SYSCALL_CTX_SWITCH,
     94              0, 0, 0, 0 );
     95}
     96
     97////////////////////////
     98void giet_tasks_status()
     99{
     100    sys_call( SYSCALL_TASKS_STATUS,
    94101              0, 0, 0, 0 );
    95102}
     
    512519    }
    513520} // end giet_tty_printf()
    514 
    515 ////////////////////////////////////////
    516 void giet_shr_printf( char* format, ...)
    517 {
    518     va_list args;
    519     volatile unsigned int sr_save;
    520 
    521     sys_call( SYSCALL_TTY_GET_LOCK,
    522               0,
    523               (unsigned int)&sr_save,
    524               0, 0 );
    525 
    526     va_start( args, format );
    527     int ret = __printf(format, 0, &args);
    528     va_end( args );
    529 
    530     sys_call( SYSCALL_TTY_RELEASE_LOCK,
    531               0,
    532               (unsigned int)&sr_save,
    533               0, 0 );
    534 
    535     if (ret)
    536     {
    537         giet_exit("error in giet_shr_printf()");
    538     }
    539 } // end giet_shr_printf()
    540521
    541522/////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.