Skip to content

sys: interrupts: add shared interrupts support #58

@d4ilyrun

Description

@d4ilyrun

Shared interrupts

Some devices may need to share a single interrupt line. This is the case for legacy PCI devices that
share the same interrupt line, originating from the PCI root complex.

Implementation idea

Use a list of interrupt handlers structures instead of a single interrupt handler. The default_interrupt_handler()
function should walk along this list, and each handler should first check whether the interrupts they are meant
to handle have been raised (using the device's registers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch: noneNot architecture specifictarget: kernelKernel related featurestype: enhancementImprove an already existing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions