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/chdev.c

    r662 r669  
    450450    chdev_t     * chdev_ptr;
    451451
    452     assert( (file_xp != XPTR_NULL) ,
     452    assert( __FUNCTION__, (file_xp != XPTR_NULL) ,
    453453    "file_xp == XPTR_NULL\n" );
    454454
     
    462462    inode_ptr  = (vfs_inode_t *)hal_remote_lpt( XPTR( file_cxy , &file_ptr->inode ) );
    463463
    464     assert( (inode_type == INODE_TYPE_DEV) ,
    465     "inode type %d is not INODE_TYPE_DEV\n", inode_type );
     464    assert( __FUNCTION__, (inode_type == FILE_TYPE_DEV) ,
     465    "inode type %d is not FILE_TYPE_DEV\n", inode_type );
    466466
    467467    // get chdev local pointer from inode extension
Note: See TracChangeset for help on using the changeset viewer.