49typedef void (*pci_isr)(
void *arg);
52extern int pci_dev_irq(pci_dev_t dev);
66static inline int pci_interrupt_register(
int irq,
const char *info,
67 pci_isr isr,
void *arg)
81static inline int pci_interrupt_unregister(
int irq, pci_isr isr,
98static inline void pci_interrupt_unmask(
int irq)
114static inline void pci_interrupt_mask(
int irq)
128static inline void pci_interrupt_clear(
int irq)
This header file provides basic definitions used by the API and the implementation.
rtems_status_code rtems_interrupt_vector_disable(rtems_vector_number vector)
Disables the interrupt vector.
Definition: irq-enable-disable.c:94
rtems_status_code rtems_interrupt_handler_install(rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler routine, void *arg)
Installs the interrupt handler routine and argument at the interrupt vector.
Definition: irq-handler-install.c:85
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
#define RTEMS_INTERRUPT_SHARED
This interrupt handler install option allows that the interrupt handler may share the interrupt vecto...
Definition: intr.h:960
rtems_status_code rtems_interrupt_handler_remove(rtems_vector_number vector, rtems_interrupt_handler routine, void *arg)
Removes the interrupt handler routine and argument from the interrupt vector.
Definition: irq-handler-remove.c:62
rtems_status_code rtems_interrupt_vector_enable(rtems_vector_number vector)
Enables the interrupt vector.
Definition: irq-enable-disable.c:85
rtems_status_code rtems_interrupt_clear(rtems_vector_number vector)
Clears the interrupt vector.
Definition: irq-raise-clear.c:92
This header file defines the Interrupt Manager API.