Changeset 85a4350 in mainline for uspace/lib/drv/generic/interrupt.c


Ignore:
Timestamp:
2012-06-03T15:09:27Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
652b776
Parents:
840e227 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge with mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/interrupt.c

    r840e227 r85a4350  
    117117}
    118118
    119 static void
    120 add_interrupt_context(interrupt_context_list_t *list, interrupt_context_t *ctx)
     119static void add_interrupt_context(interrupt_context_list_t *list,
     120    interrupt_context_t *ctx)
    121121{
    122122        fibril_mutex_lock(&list->mutex);
     
    134134}
    135135
    136 static interrupt_context_t *
    137 find_interrupt_context_by_id(interrupt_context_list_t *list, int id)
     136static interrupt_context_t *find_interrupt_context_by_id(
     137    interrupt_context_list_t *list, int id)
    138138{
    139139        interrupt_context_t *ctx;
     
    153153}
    154154
    155 static interrupt_context_t *
    156 find_interrupt_context(interrupt_context_list_t *list, ddf_dev_t *dev, int irq)
     155static interrupt_context_t *find_interrupt_context(
     156    interrupt_context_list_t *list, ddf_dev_t *dev, int irq)
    157157{
    158158        interrupt_context_t *ctx;
     
    173173
    174174
    175 int
    176 register_interrupt_handler(ddf_dev_t *dev, int irq, interrupt_handler_t *handler,
    177     irq_code_t *pseudocode)
     175int register_interrupt_handler(ddf_dev_t *dev, int irq,
     176    interrupt_handler_t *handler, irq_code_t *pseudocode)
    178177{
    179178        interrupt_context_t *ctx = create_interrupt_context();
     
    193192                delete_interrupt_context(ctx);
    194193        }
    195 
     194       
    196195        return res;
    197196}
Note: See TracChangeset for help on using the changeset viewer.