Changeset 96b02eb9 in mainline for kernel/generic/src/ddi/irq.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/irq.c
r554debd r96b02eb9 106 106 * 107 107 */ 108 static size_t irq_ht_hash( unative_t *key);109 static bool irq_ht_compare( unative_t *key, size_t keys, link_t *item);108 static size_t irq_ht_hash(sysarg_t *key); 109 static bool irq_ht_compare(sysarg_t *key, size_t keys, link_t *item); 110 110 static void irq_ht_remove(link_t *item); 111 111 … … 123 123 * 124 124 */ 125 static size_t irq_lin_hash( unative_t *key);126 static bool irq_lin_compare( unative_t *key, size_t keys, link_t *item);125 static size_t irq_lin_hash(sysarg_t *key); 126 static bool irq_lin_compare(sysarg_t *key, size_t keys, link_t *item); 127 127 static void irq_lin_remove(link_t *item); 128 128 … … 194 194 void irq_register(irq_t *irq) 195 195 { 196 unative_t key[] = {197 ( unative_t) irq->inr,198 ( unative_t) irq->devno196 sysarg_t key[] = { 197 (sysarg_t) irq->inr, 198 (sysarg_t) irq->devno 199 199 }; 200 200 … … 212 212 { 213 213 link_t *lnk; 214 unative_t key[] = {215 ( unative_t) inr,216 ( unative_t) -1 /* Search will use claim() instead of devno */214 sysarg_t key[] = { 215 (sysarg_t) inr, 216 (sysarg_t) -1 /* Search will use claim() instead of devno */ 217 217 }; 218 218 … … 235 235 { 236 236 link_t *lnk; 237 unative_t key[] = {238 ( unative_t) inr,239 ( unative_t) -1 /* Search will use claim() instead of devno */237 sysarg_t key[] = { 238 (sysarg_t) inr, 239 (sysarg_t) -1 /* Search will use claim() instead of devno */ 240 240 }; 241 241 … … 306 306 * 307 307 */ 308 size_t irq_ht_hash( unative_t key[])308 size_t irq_ht_hash(sysarg_t key[]) 309 309 { 310 310 inr_t inr = (inr_t) key[KEY_INR]; … … 333 333 * 334 334 */ 335 bool irq_ht_compare( unative_t key[], size_t keys, link_t *item)335 bool irq_ht_compare(sysarg_t key[], size_t keys, link_t *item) 336 336 { 337 337 irq_t *irq = hash_table_get_instance(item, irq_t, link); … … 381 381 * 382 382 */ 383 size_t irq_lin_hash( unative_t key[])383 size_t irq_lin_hash(sysarg_t key[]) 384 384 { 385 385 inr_t inr = (inr_t) key[KEY_INR]; … … 408 408 * 409 409 */ 410 bool irq_lin_compare( unative_t key[], size_t keys, link_t *item)410 bool irq_lin_compare(sysarg_t key[], size_t keys, link_t *item) 411 411 { 412 412 irq_t *irq = list_get_instance(item, irq_t, link);
Note:
See TracChangeset
for help on using the changeset viewer.