Changeset 641 for trunk/libs


Ignore:
Timestamp:
Oct 10, 2019, 1:42:04 PM (5 years ago)
Author:
alain
Message:
  • Fix several bugs.
  • Introduce the "stat" command in KSH.

This almos-mkh version sucessfully executed the FFT application
(65536 complex points) on the TSAR architecture from 1 to 64 cores.

Location:
trunk/libs/libalmosmkh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libalmosmkh/almosmkh.c

    r640 r641  
    279279///////////////    non standard debug functions    ///////////////////////////////////
    280280//////////////////////////////////////////////////////////////////////////////////////
     281
     282///////////////////////////////////////////
     283int get_thread_info( thread_info_t * info )
     284{
     285    return hal_user_syscall( SYS_GET_THREAD_INFO,
     286                             (reg_t)info, 0, 0, 0 );
     287}
    281288
    282289////////////////////////////////////
  • trunk/libs/libalmosmkh/almosmkh.h

    r640 r641  
    148148/***************** Non standard (ALMOS-MKH specific) debug functions ******************/
    149149
     150/***************************************************************************************
     151 * This syscall copies in the user structure defined by the <info> argument the values
     152 * registered in the calling thread "thread_info_t" kernel structure.
     153 ******************************************************************************************
     154 * @ info    : [out] pointer on thread_info_t structure in user space.
     155 * @ return 0 if success / return -1 if illegal argument.
     156 *****************************************************************************************/
     157int get_thread_info( thread_info_t * info );
    150158
    151159/***************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.