Ignore:
Timestamp:
Nov 19, 2020, 11:44:34 PM (4 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/do_syscall.c

    r657 r669  
    3737int sys_undefined( void )
    3838{
    39     assert( false , "undefined system call" );
     39    assert( __FUNCTION__, false , "undefined system call" );
    4040    return 0;
    4141}
     
    199199        int  error = 0;
    200200       
    201     assert( (this == CURRENT_THREAD),
     201    assert( __FUNCTION__, (this == CURRENT_THREAD),
    202202    "wrong <this> argument\n" );
    203203
     
    223223
    224224    // check kernel stack overflow
    225     assert( (CURRENT_THREAD->signature == THREAD_SIGNATURE),
     225    assert( __FUNCTION__, (CURRENT_THREAD->signature == THREAD_SIGNATURE),
    226226    "kernel stack overflow after for thread %x in cluster %x\n", CURRENT_THREAD, local_cxy );
    227227
Note: See TracChangeset for help on using the changeset viewer.