Changeset 569fd50 in rtems for cpukit/libpci


Ignore:
Timestamp:
Jan 2, 2018, 10:56:36 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4e100058
Parents:
3b392b6
git-author:
Sebastian Huber <sebastian.huber@…> (01/02/18 10:56:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/02/18 13:49:56)
Message:

sparc: Remove BSP specifics from <pci/irq.h>

Update #3254.
Update #3260.
Update #3269.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libpci/pci/irq.h

    r3b392b6 r569fd50  
    1515#define __PCI_IRQ_H__
    1616
    17 #include <bsp.h>
    1817#include <rtems/irq-extension.h>
    1918#include <rtems/score/basedefs.h>
     19
     20/*
     21 * FIXME: This should be available via the IRQ extensions API.
     22 *
     23 * https://devel.rtems.org/ticket/3269
     24 */
     25void BSP_shared_interrupt_clear(int irq);
     26void BSP_shared_interrupt_unmask(int irq);
     27void BSP_shared_interrupt_mask(int irq);
    2028
    2129/* PCI Handler (ISR) called when IRQ is generated by any of the PCI devices
     
    4452                                                pci_isr isr, void *arg)
    4553{
    46         return BSP_PCI_shared_interrupt_register(irq, info, isr, arg);
     54        return rtems_interrupt_handler_install(irq, info,
     55                                               RTEMS_INTERRUPT_SHARED, isr,
     56                                               arg);
    4757}
    4858
     
    5767                                                  void *arg)
    5868{
    59         return BSP_PCI_shared_interrupt_unregister(irq, isr, arg);
     69        return rtems_interrupt_handler_remove(irq, isr, arg);
    6070}
    6171
     
    7383RTEMS_INLINE_ROUTINE void pci_interrupt_unmask(int irq)
    7484{
    75         BSP_PCI_shared_interrupt_unmask(irq);
     85        BSP_shared_interrupt_unmask(irq);
    7686}
    7787
     
    8999RTEMS_INLINE_ROUTINE void pci_interrupt_mask(int irq)
    90100{
    91         BSP_PCI_shared_interrupt_mask(irq);
     101        BSP_shared_interrupt_mask(irq);
    92102}
    93103
     
    103113RTEMS_INLINE_ROUTINE void pci_interrupt_clear(int irq)
    104114{
    105         BSP_PCI_shared_interrupt_clear(irq);
     115        BSP_shared_interrupt_clear(irq);
    106116}
    107117
Note: See TracChangeset for help on using the changeset viewer.