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

    r662 r669  
    6666
    6767/****************************************************************************************
    68  * This define the generic prototypes for the three functions that must be defined
    69  * by the drivers implementing a generic device:
     68 * This defines the generic prototypes for the functions that must be defined
     69 * by all drivers implementing a generic device:
    7070 * - "cmd"     : start a blocking I/O operation.
    7171 * - "isr"     : complete an I/O operation.
     
    272272/****************************************************************************************
    273273 * This function returns an extended pointer on the chdev associated to a pseudo file
    274  * descriptor (type INODE_TYPE_DEV) identified by the <file_xp> argument.
     274 * descriptor (type FILE_TYPE_DEV) identified by the <file_xp> argument.
    275275 * It can be called by a thread running in any cluster.
    276276 * It enters kernel panic if the inode has not the expected type.
Note: See TracChangeset for help on using the changeset viewer.