Changes between Version 9 and Version 10 of ioc_device_api
- Timestamp:
- Jan 21, 2020, 1:18:11 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ioc_device_api
v9 v10 20 20 In 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. 21 21 22 To access the various drivers, th is FBFdevice defines a lower-level ''driver'' API, that is detailed in section D below.22 To access the various drivers, the IOC device defines a lower-level ''driver'' API, that is detailed in section D below. 23 23 24 24 All 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. … … 27 27 28 28 The IOC device '''dev_ioc_init()''' function makes the following initializations : 29 * It selects a core in cluster containing the IOC chdev to execute the IOCserver thread.30 * it links the IOC IRQ to the core executing the IOCserver 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. 31 31 * it initialises the IOC specific fields of the chdev descriptor. 32 32 * it initialises the implementation specific IOC hardware device, 33 * it initializes the specific software data structures required by a givenhardware implementation.33 * it initializes the specific software data structures required by the hardware implementation. 34 34 It must be called by a local thread. 35 35