Changeset 435 for trunk/libs


Ignore:
Timestamp:
Feb 20, 2018, 5:32:17 PM (7 years ago)
Author:
alain
Message:

Fix a bad bug in scheduler...

Location:
trunk/libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/stdio.c

    r426 r435  
    292292/////////////     Non standard system calls ////////////////////////////////////
    293293
     294
    294295//////////////////////////
    295296int fg( unsigned int pid )
     
    345346}
    346347
    347 ///////////////////////////////////////
    348 int display_process( unsigned int cxy )
    349 {
    350     return hal_user_syscall( SYS_DISPLAY,
    351                              DISPLAY_PROCESS,
     348/////////////////////////////////////////////////
     349int display_cluster_processes( unsigned int cxy )
     350{
     351    return hal_user_syscall( SYS_DISPLAY,
     352                             DISPLAY_CLUSTER_PROCESSES,
    352353                             (reg_t)cxy, 0, 0 );
    353354}
     
    365366    return hal_user_syscall( SYS_DISPLAY,
    366367                             DISPLAY_VFS, 0, 0, 0 );
     368}
     369
     370////////////////////////////////////////////////
     371int display_txt_processes( unsigned int txt_id )
     372{
     373    return hal_user_syscall( SYS_DISPLAY,
     374                             DISPLAY_TXT_PROCESSES,
     375                             (reg_t)txt_id, 0, 0 );
    367376}
    368377
  • trunk/libs/stdio.h

    r434 r435  
    347347int wait( int * status );
    348348
     349
    349350/****************** Non standard (ALMOS_MKH specific) system calls **********************/
    350351
     
    429430 * @ return 0 if success / return -1 if illegal argument.
    430431 **************************************************************************************/
    431 int display_process( unsigned int  cxy );
     432int display_cluster_processes( unsigned int  cxy );
    432433
    433434/***************************************************************************************
     
    448449 **************************************************************************************/
    449450int display_vfs();
     451
     452/***************************************************************************************
     453 * This debug function displays on the kernel terminal TXT0
     454 * the list of processes attached to a given TXT channel.
     455 * It can be called by any thread running in any cluster.
     456 ***************************************************************************************
     457 * @ return always 0.
     458 **************************************************************************************/
     459int display_txt_processes( unsigned int txt_id );
    450460
    451461/*****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.