Ignore:
Timestamp:
Nov 20, 2020, 12:04:01 AM (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/devices/dev_dma.c

    r657 r674  
    4545
    4646    // set dma name
    47     snprintf( dma->name , 16 , "dma%d_%x" , channel , local_cxy );
     47    snprintk( dma->name , 16 , "dma%d_%x" , channel , local_cxy );
    4848
    4949    // call driver init function
     
    6969    if( error )
    7070    {
    71         assert( false , "cannot create server thread" );
     71        assert( __FUNCTION__, false , "cannot create server thread" );
    7272    }
    7373
     
    104104
    105105// check DMA chdev definition
    106 assert( (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );
     106assert( __FUNCTION__, (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );
    107107
    108108    // register command in calling thread descriptor
     
    151151
    152152// check DMA chdev definition
    153 assert( (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );
     153assert( __FUNCTION__, (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );
    154154
    155155    // register command in calling thread descriptor
Note: See TracChangeset for help on using the changeset viewer.