Changes in kernel/generic/include/ddi/irq.h [ca207e0:9d58539] in mainline
- File:
-
- 1 edited
-
kernel/generic/include/ddi/irq.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ddi/irq.h
rca207e0 r9d58539 43 43 #include <proc/task.h> 44 44 #include <ipc/ipc.h> 45 #include <mm/slab.h>46 45 47 46 typedef enum { … … 71 70 /** When false, notifications are not sent. */ 72 71 bool notify; 73 /** True if the structure is in irq_uspace_hash_table_table */74 bool hashed_in;75 72 /** Answerbox for notifications. */ 76 73 answerbox_t *answerbox; … … 79 76 /** Arguments that will be sent if the IRQ is claimed. */ 80 77 uint32_t scratch[IPC_CALL_LEN]; 81 /** Top-half IRQcode. */78 /** Top-half pseudocode. */ 82 79 irq_code_t *code; 83 80 /** Counter. */ 84 81 size_t counter; 82 83 /** 84 * Link between IRQs that are notifying the same answerbox. The list is 85 * protected by the answerbox irq_lock. 86 */ 87 link_t link; 85 88 } ipc_notif_cfg_t; 86 89 … … 88 91 * 89 92 * If one device has multiple interrupts, there will be multiple irq_t 90 * instantions. 93 * instantions with the same devno. 94 * 91 95 */ 92 96 typedef struct irq { 93 97 /** Hash table link. */ 94 ht_link_t link;98 link_t link; 95 99 96 100 /** Lock protecting everything in this structure … … 108 112 */ 109 113 bool preack; 114 115 /** Unique device number. -1 if not yet assigned. */ 116 devno_t devno; 110 117 111 118 /** Actual IRQ number. -1 if not yet assigned. */ … … 132 139 extern hash_table_t irq_uspace_hash_table; 133 140 134 extern slab_cache_t *irq_slab;135 136 141 extern inr_t last_inr; 137 142
Note:
See TracChangeset
for help on using the changeset viewer.
