Changes in kernel/generic/include/ddi/irq.h [48bcf49:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ddi/irq.h
r48bcf49 r9d58539 43 43 #include <proc/task.h> 44 44 #include <ipc/ipc.h> 45 #include <mm/slab.h>46 47 typedef enum {48 IRQ_HT_KEY_INR,49 IRQ_HT_KEY_MODE50 } irq_ht_key_t;51 52 typedef enum {53 IRQ_HT_MODE_CLAIM,54 IRQ_HT_MODE_NO_CLAIM55 } irq_ht_mode_t;56 45 57 46 typedef enum { … … 81 70 /** When false, notifications are not sent. */ 82 71 bool notify; 83 /** True if the structure is in irq_uspace_hash_table_table */84 bool hashed_in;85 72 /** Answerbox for notifications. */ 86 73 answerbox_t *answerbox; … … 89 76 /** Arguments that will be sent if the IRQ is claimed. */ 90 77 uint32_t scratch[IPC_CALL_LEN]; 91 /** Top-half IRQcode. */78 /** Top-half pseudocode. */ 92 79 irq_code_t *code; 93 80 /** Counter. */ 94 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; 95 88 } ipc_notif_cfg_t; 96 89 … … 98 91 * 99 92 * If one device has multiple interrupts, there will be multiple irq_t 100 * instantions. 93 * instantions with the same devno. 94 * 101 95 */ 102 96 typedef struct irq { … … 118 112 */ 119 113 bool preack; 114 115 /** Unique device number. -1 if not yet assigned. */ 116 devno_t devno; 120 117 121 118 /** Actual IRQ number. -1 if not yet assigned. */ … … 142 139 extern hash_table_t irq_uspace_hash_table; 143 140 144 extern slab_cache_t *irq_slab;145 146 141 extern inr_t last_inr; 147 142
Note:
See TracChangeset
for help on using the changeset viewer.