Ignore:
Timestamp:
Nov 19, 2020, 11:45:52 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.

Location:
trunk/kernel/syscalls/shared_include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/shared_include/shared_almos.h

    r664 r670  
    5656    DISPLAY_FAT               = 11,
    5757    DISPLAY_SOCKET            = 12,
     58    DISPLAY_FD                = 13,
     59    DISPLAY_WINDOWS           = 14,
    5860}
    5961display_type_t;
  • trunk/kernel/syscalls/shared_include/shared_fbf.h

    r657 r670  
    11/*
    2  * shared_fbf.h - Shared mnemonics used by the frame buffer related syscalls.
     2 * shared_fbf.h - Shared mnemonics used by the Frame Buffer related syscalls.
    33 *
    44 * Author  Alain Greiner (2016,2017,2018,2019,2020)
     
    3535    FBF_DIRECT_WRITE   = 2,
    3636    FBF_CREATE_WINDOW  = 3,
    37     FBF_DELETE_WINDOW  = 4,
    38     FBF_REFRESH_WINDOW = 5,
    39     FBF_MOVE_WINDOW    = 6,
    40     FBF_RESIZE_WINDOW  = 7,
     37    FBF_ACTIVE_WINDOW  = 4,
     38    FBF_DELETE_WINDOW  = 5,
     39    FBF_REFRESH_WINDOW = 6,
     40    FBF_FRONT_WINDOW   = 7,
     41    FBF_MOVE_WINDOW    = 8,
     42    FBF_RESIZE_WINDOW  = 9,
    4143}
    4244fbf_usr_operation_type_t;
  • trunk/kernel/syscalls/shared_include/shared_socket.h

    r664 r670  
    6969    SOCK_SEND        = 5,
    7070    SOCK_RECV        = 6,
    71     SOCK_SENDTO      = 7,
    72     SOCK_RECVFROM    = 8,
    7371}
    7472socket_operation_type_t;
  • trunk/kernel/syscalls/shared_include/shared_stat.h

    r611 r670  
    2828 * This structure define the informations associated to a file descriptor,
    2929 * returned to user space by the stat() syscall.
     30 *
     31 * The st_mode field contains informations on both access rights and file types.
     32 * - access rights (defined by the inode <rights> field) are stored in st_mode[15:0]
     33 * - file types (defined by the inode <type> field) are stored in st_mode[19:16]
    3034 *****************************************************************************************/
    3135
     
    4549
    4650/******************************************************************************************
    47  * The st_mode field contains informations on both access rights and file types.
    48  * - access rights (defined by the inode <rights> field) are stored in st_mode[15:0]
    49  * - file types (defined by the inode <type> field) are stored in st_mode[19:16]
    5051 * The following macros can be used to extract file type information.
    5152 *
Note: See TracChangeset for help on using the changeset viewer.