Ignore:
Timestamp:
Nov 19, 2020, 11:44:34 PM (3 years ago)
Author:
alain
Message:

1) Introduce up to 4 command lines arguments in the KSH "load" command.
These arguments are transfered to the user process through the
argc/argv mechanism, using the user space "args" vseg.

2) Introduce the named and anonymous "pipes", for inter-process communication
through the pipe() and mkfifo() syscalls.

3) Introduce the "chat" application to validate the two above mechanisms.

4) Improve printk() and assert() fonctions in printk.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/cluster.c

    r657 r669  
    533533
    534534    // check lpid
    535     assert( (lpid < CONFIG_MAX_PROCESS_PER_CLUSTER),
     535    assert( __FUNCTION__, (lpid < CONFIG_MAX_PROCESS_PER_CLUSTER),
    536536    "illegal LPID = %d" , lpid );
    537537
    538538    // check owner cluster
    539     assert( (owner_cxy == local_cxy) ,
     539    assert( __FUNCTION__, (owner_cxy == local_cxy) ,
    540540    "local_cluster %x !=  owner_cluster %x" , local_cxy , owner_cxy );
    541541
     
    732732    uint32_t      pref_nr;       // number of owned processes in cluster cxy
    733733
    734 assert( (cluster_is_active( cxy ) ), "illegal cluster index" );
     734assert( __FUNCTION__, (cluster_is_active( cxy ) ), "illegal cluster index" );
    735735
    736736    // get extended pointer on root and lock for local process list in cluster
Note: See TracChangeset for help on using the changeset viewer.