Ignore:
Timestamp:
2008-11-29T20:24:47Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
57e76cb
Parents:
dfd77382
Message:

Add additional members to the irq_t structure so that an interrupt-driven driver
does not need to know how to clear the level interrupt. The z8530 was modified
in this way and is much more generic. The ns16550 driver has also been modified,
but awaits testing. The sparc64 interrupt mapping and dispatch code is now using
the new info and calls the clear-interrupt-routine itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/drivers/fhc.h

    rdfd77382 r8d2760f  
    4545extern fhc_t *central_fhc;
    4646
    47 extern fhc_t *fhc_init(ofw_tree_node_t *node);
    48 extern void fhc_enable_interrupt(fhc_t *fhc, int inr);
    49 extern void fhc_clear_interrupt(fhc_t *fhc, int inr);
     47extern fhc_t *fhc_init(ofw_tree_node_t *);
     48extern void fhc_enable_interrupt(fhc_t *, int);
     49extern void fhc_clear_interrupt(void *, int);
    5050
    5151#endif
Note: See TracChangeset for help on using the changeset viewer.