Changeset 623 for trunk/libs/libalmosmkh


Ignore:
Timestamp:
Mar 6, 2019, 4:37:15 PM (6 years ago)
Author:
alain
Message:

Introduce three new types of vsegs (KCODE,KDATA,KDEV)
to map the kernel vsegs in the process VSL and GPT.
This now used by both the TSAR and the I86 architectures.

Location:
trunk/libs/libalmosmkh
Files:
2 edited

Legend:

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

    r611 r623  
    288288                             (reg_t)page_id,
    289289                             (reg_t)nbytes );
     290}
     291
     292///////////////////////////////////////
     293int display_barrier( unsigned int pid )
     294{
     295    return hal_user_syscall( SYS_DISPLAY,
     296                             DISPLAY_BARRIER,
     297                             (reg_t)pid, 0, 0 );
    290298}
    291299
  • trunk/libs/libalmosmkh/almosmkh.h

    r611 r623  
    227227                    unsigned int  nbytes);
    228228
     229/***************************************************************************************
     230 * This debug syscall displays on the kernel terminal TXT0
     231 * the state of the barrier used by the process identified by the <pid> argument.
     232 * It can be called by any thread running in any cluster.
     233 ***************************************************************************************
     234 * @ pid      : [in] process identifier.
     235 * @ return 0 if success / return -1 if illegal arguments.
     236 **************************************************************************************/
     237int display_barrier( unsigned int pid );
     238
    229239/*****************************************************************************************
    230240* This debug syscall is used to activate / desactivate the context switches trace
Note: See TracChangeset for help on using the changeset viewer.