Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (5 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/chdev.h

    r16 r23  
    4141 * This file defines the kernel representation of a generic (i.e. implementation
    4242 * independant) Channel Device descriptor (in brief "chdev").
    43  * ALMOS-MKH supports multi-channels peripherals, and defines one separated descriptor
    44  * for each channel (and for each RX/TX direction for the NIC device).
     43 * ALMOS-MKH supports multi-channels peripherals, and defines one separated chdev
     44 * descriptor for each channel (and for each RX/TX direction for the NIC device).
    4545 * Each chdev contains a waiting queue, registering the "client threads" requests,
    4646 * and an associated "server thread", handling these requests.
     
    107107/******************************************************************************************
    108108 * This structure defines a chdev descriptor.
    109  * There is one chdev descriptor per channel.
     109 * For multi-channels device, there is one chdev descriptor per channel.
    110110 * This structure is NOT replicated, and can be located in any cluster.
    111111 * One kernel thread, in charge of handling the commands registered in the waiting queue
     
    120120    uint32_t             channel;     /*! channel index                                  */
    121121    bool_t               is_rx;       /*! relevant for NIC peripheral channels only      */
    122         xptr_t               base;        /*! extended pointer on channel segment            */
     122        xptr_t               base;        /*! extended pointer on channel segment paddr      */
     123    char                 name[16];    /*! name (required by DEVFS)                       */
    123124
    124125    dev_cmd_t          * cmd;         /*! local pointer on driver command function       */
Note: See TracChangeset for help on using the changeset viewer.