summaryrefslogtreecommitdiffstats
path: root/spec/build
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-25 15:52:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-26 19:57:31 +0200
commite5183238723bb35f5f5d2f0624b821f75f8b424b (patch)
tree6c410c8ae06dfeb9abaee226d7fdf025095d9dac /spec/build
parentbsps/irq: Move bsp_interrupt_handler_is_empty() (diff)
downloadrtems-e5183238723bb35f5f5d2f0624b821f75f8b424b.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/m68k/genmcf548x/grp.yml2
-rw-r--r--spec/build/bsps/m68k/genmcf548x/obj.yml9
-rw-r--r--spec/build/bsps/objirq.yml3
-rw-r--r--spec/build/bsps/powerpc/ss555/bspss555.yml3
4 files changed, 8 insertions, 9 deletions
diff --git a/spec/build/bsps/m68k/genmcf548x/grp.yml b/spec/build/bsps/m68k/genmcf548x/grp.yml
index 0a3a463513..57bdb23566 100644
--- a/spec/build/bsps/m68k/genmcf548x/grp.yml
+++ b/spec/build/bsps/m68k/genmcf548x/grp.yml
@@ -28,6 +28,8 @@ links:
- role: build-dependency
uid: ../../obj
- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
uid: ../../optconsolebaud
- role: build-dependency
uid: ../../bspopts
diff --git a/spec/build/bsps/m68k/genmcf548x/obj.yml b/spec/build/bsps/m68k/genmcf548x/obj.yml
index 915f5b613f..e65e0c8934 100644
--- a/spec/build/bsps/m68k/genmcf548x/obj.yml
+++ b/spec/build/bsps/m68k/genmcf548x/obj.yml
@@ -38,16 +38,7 @@ source:
- bsps/m68k/shared/m68kidle.c
- bsps/m68k/shared/memProbe.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/irq/irq-affinity.c
-- bsps/shared/irq/irq-raise-clear.c
- bsps/shared/irq/irq-default-handler.c
-- bsps/shared/irq/irq-enable-disable.c
-- bsps/shared/irq/irq-handler-iterate.c
-- bsps/shared/irq/irq-info.c
-- bsps/shared/irq/irq-legacy.c
-- bsps/shared/irq/irq-lock.c
-- bsps/shared/irq/irq-server.c
-- bsps/shared/irq/irq-shell.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/bspreset-loop.c
diff --git a/spec/build/bsps/objirq.yml b/spec/build/bsps/objirq.yml
index 467d0789ba..0766c1ea58 100644
--- a/spec/build/bsps/objirq.yml
+++ b/spec/build/bsps/objirq.yml
@@ -13,8 +13,11 @@ source:
- bsps/shared/irq/irq-affinity.c
- bsps/shared/irq/irq-raise-clear.c
- bsps/shared/irq/irq-enable-disable.c
+- bsps/shared/irq/irq-entry-remove.c
- bsps/shared/irq/irq-generic.c
+- bsps/shared/irq/irq-handler-install.c
- bsps/shared/irq/irq-handler-iterate.c
+- bsps/shared/irq/irq-handler-remove.c
- bsps/shared/irq/irq-info.c
- bsps/shared/irq/irq-legacy.c
- bsps/shared/irq/irq-lock.c
diff --git a/spec/build/bsps/powerpc/ss555/bspss555.yml b/spec/build/bsps/powerpc/ss555/bspss555.yml
index 2eabfa5d28..bc367a64ea 100644
--- a/spec/build/bsps/powerpc/ss555/bspss555.yml
+++ b/spec/build/bsps/powerpc/ss555/bspss555.yml
@@ -72,8 +72,11 @@ source:
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/irq/irq-default.c
- bsps/shared/irq/irq-enable-disable.c
+- bsps/shared/irq/irq-entry-remove.c
- bsps/shared/irq/irq-generic.c
+- bsps/shared/irq/irq-handler-install.c
- bsps/shared/irq/irq-handler-iterate.c
+- bsps/shared/irq/irq-handler-remove.c
- bsps/shared/irq/irq-info.c
- bsps/shared/irq/irq-lock.c
- bsps/shared/irq/irq-server.c