Changeset 5 for trunk/kernel/kern/core.h
- Timestamp:
- Apr 26, 2017, 2:11:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/core.h
r1 r5 37 37 38 38 struct thread_s; 39 struct device_s;39 struct chdev_s; 40 40 41 41 42 42 /**************************************************************************************** 43 * This structure defines the core descriptor 43 * This structure defines the core descriptor. 44 * It contains the three interrupt vectors, that are implemented as array of pointers 45 * on the source channel devices, for all IRQs allocated to a given core. 44 46 ***************************************************************************************/ 45 47 … … 62 64 rpc_fifo_t rpc_fifo; /*! embedded private RPC fifo (one per core) */ 63 65 scheduler_t scheduler; /*! embedded private scheduler */ 64 struct device_s * icu; /*! pointer on local ICU device descriptor */65 66 66 xptr_thwi_vector[CONFIG_MAX_HWIS_PER_ICU]; /*! on source device */67 xptr_tpti_vector[CONFIG_MAX_PTIS_PER_ICU]; /*! on source device */68 xptr_twti_vector[CONFIG_MAX_WTIS_PER_ICU]; /*! on source device */67 struct chdev_s * hwi_vector[CONFIG_MAX_HWIS_PER_ICU]; /*! on source device */ 68 struct chdev_s * pti_vector[CONFIG_MAX_PTIS_PER_ICU]; /*! on source device */ 69 struct chdev_s * wti_vector[CONFIG_MAX_WTIS_PER_ICU]; /*! on source device */ 69 70 70 char name[CONFIG_SYSFS_NAME_LEN];71 71 sysfs_entry_t node; 72 72 } … … 159 159 * any thread in any cluster. 160 160 *************************************************************************************** 161 * @ core _xp : extendedpointer on the core descriptor.161 * @ core : local pointer on the core descriptor. 162 162 * @ irq_type : type of IRQ (HWI/WTI/PTI). 163 163 * @ irq_id : index in the IRQ vector. 164 * @ dev_xp : extended pointer on the "source"descriptor.164 * @ chdev : local pointer on the "source" chdev descriptor. 165 165 **************************************************************************************/ 166 void core_set_irq_vector_entry( xptr_t core_xp,167 uint32_t irq_type,168 uint32_t irq_id,169 xptr_t dev_xp);166 void core_set_irq_vector_entry( core_t * core, 167 uint32_t irq_type, 168 uint32_t irq_id, 169 struct chdev_s * chdev ); 170 170 171 171
Note: See TracChangeset
for help on using the changeset viewer.