Changes between Version 9 and Version 10 of ioc_device_api


Ignore:
Timestamp:
Jan 21, 2020, 1:18:11 PM (4 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ioc_device_api

    v9 v10  
    2020In the IOC-RDK implementation the IOC block device is actually implemented as physical memory. This IOC-RDK implementation does not use DMA, and does not use an IRQ. The data transfer is directly executed by the ''ioc_driver_cmd()''  software function.
    2121
    22 To access the various drivers, this FBF device defines a lower-level ''driver'' API, that is detailed in section D below.
     22To access the various drivers, the IOC device defines a lower-level ''driver'' API, that is detailed in section D below.
    2323
    2424All IOC device structures and access functions are defined in the [https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/devices/dev_ioc.c  dev_ioc.c] et [https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/devices/dev_ioc.h dev_ioc.h] files.
     
    2727
    2828The IOC device '''dev_ioc_init()''' function makes the following initializations :
    29  * It selects a core in cluster containing the IOC chdev to execute the IOC server thread.
    30  * it links the IOC IRQ to the core executing the IOC server thread.
     29 * It selects a core in cluster containing the IOC chdev to execute the server thread.
     30 * it links the IOC IRQ to the core executing the server thread.
    3131 * it initialises the IOC specific fields of the chdev descriptor.
    3232 * it initialises the implementation specific IOC hardware device,
    33  * it initializes the specific software data structures required by a given hardware implementation.
     33 * it initializes the specific software data structures required by the hardware implementation.
    3434It must be called by a local thread.
    3535