Changeset e518323 in rtems for c/src/lib/libbsp


Ignore:
Timestamp:
Jun 25, 2021, 1:52:16 PM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b910e60
Parents:
70357f1
git-author:
Sebastian Huber <sebastian.huber@…> (06/25/21 13:52:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/26/21 17:57:31)
Message:

bsps/irq: Add rtems_interrupt_entry_install()

Add rtems_interrupt_entry_remove(). Split up irq-generic.c into several files.
In particular, place all functions which use dynamic memory into their own
file.

Add optional macros to let the BSP customize the vector installation after
installing the first entry and the vector removal before removing the last
entry:

  • bsp_interrupt_vector_install()
  • bsp_interrupt_vector_remove()

Use these new customization options in the m68k/genmcf548x BSP so re-use the
generic interrupt controller support.

Update #3269.

Location:
c/src/lib/libbsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/genmcf548x/Makefile.am

    r70357f1 re518323  
    3939
    4040# IRQ
    41 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-affinity.c
    42 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-raise-clear.c
    4341librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
    44 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-enable-disable.c
    45 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-iterate.c
    46 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
    47 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-legacy.c
    48 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
    49 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
    50 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
    5142librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/irq.c
    5243librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/irq/intc-icr-init-values.c
     
    6051librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/genmcf548x/start/cache.c
    6152
     53include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
    6254include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
    6355include $(srcdir)/../../../../../../bsps/m68k/genmcf548x/headers.am
  • c/src/lib/libbsp/powerpc/ss555/Makefile.am

    r70357f1 re518323  
    5252librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
    5353librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-enable-disable.c
     54librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-entry-remove.c
    5455librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-generic.c
     56librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-install.c
    5557librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-iterate.c
     58librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-handler-remove.c
    5659librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
    5760librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
Note: See TracChangeset for help on using the changeset viewer.