[rtems commit] bsps: Always build generic interrupt support

Sebastian Huber sebh at rtems.org
Thu May 16 07:59:17 UTC 2019


Module:    rtems
Branch:    master
Commit:    45d06591f12c108ab27207c464ce46f0d0f26980
Changeset: http://git.rtems.org/rtems/commit/?id=45d06591f12c108ab27207c464ce46f0d0f26980

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat May 11 14:57:39 2019 +0200

bsps: Always build generic interrupt support

This makes it possible to write tests for the generic interrupt
controller support.

Update #3269.

---

 bsps/bfin/TLL6527M/include/bsp/irq.h               |  1 +
 bsps/bfin/bf537Stamp/include/bsp/irq.h             |  1 +
 bsps/bfin/eZKit533/include/bsp/irq.h               |  1 +
 bsps/include/bsp/irq-default.h                     | 63 ++++++++++++++++++++++
 bsps/lm32/lm32_evr/include/bsp/irq.h               |  1 +
 bsps/lm32/milkymist/include/bsp/irq.h              |  1 +
 bsps/m68k/av5282/include/bsp/irq.h                 |  1 +
 bsps/m68k/csb360/include/bsp/irq.h                 |  1 +
 bsps/m68k/gen68340/include/bsp/irq.h               |  1 +
 bsps/m68k/gen68360/include/bsp/irq.h               |  1 +
 bsps/m68k/mcf5206elite/include/bsp/irq.h           |  1 +
 bsps/m68k/mcf52235/include/bsp/irq.h               |  1 +
 bsps/m68k/mcf5225x/include/bsp/irq.h               |  1 +
 bsps/m68k/mcf5235/include/bsp/irq.h                |  1 +
 bsps/m68k/mcf5329/include/bsp/irq.h                |  1 +
 bsps/m68k/mrm332/include/bsp/irq.h                 |  1 +
 bsps/m68k/mvme147/include/bsp/irq.h                |  1 +
 bsps/m68k/mvme147s/include/bsp/irq.h               |  1 +
 bsps/m68k/mvme162/include/bsp/irq.h                |  1 +
 bsps/m68k/mvme167/include/bsp/irq.h                |  1 +
 bsps/m68k/uC5282/include/bsp/irq.h                 |  1 +
 bsps/moxie/moxiesim/include/bsp/irq.h              |  1 +
 bsps/nios2/nios2_iss/include/bsp/irq.h             |  1 +
 bsps/no_cpu/no_bsp/include/bsp/irq.h               |  1 +
 bsps/powerpc/beatnik/include/bsp/irq.h             |  1 +
 bsps/powerpc/haleakala/include/bsp/irq.h           |  2 +
 bsps/powerpc/motorola_powerpc/include/bsp/irq.h    |  1 +
 bsps/powerpc/mvme3100/include/bsp/irq.h            |  2 +
 bsps/powerpc/mvme5500/include/bsp/irq.h            |  2 +
 bsps/powerpc/ss555/include/bsp/irq.h               |  2 +
 bsps/powerpc/virtex4/include/bsp/irq.h             |  1 +
 bsps/powerpc/virtex5/include/bsp/irq.h             |  1 +
 bsps/sh/gensh1/include/bsp/irq.h                   |  1 +
 bsps/sh/gensh2/include/bsp/irq.h                   |  1 +
 bsps/sh/gensh4/include/bsp/irq.h                   |  1 +
 bsps/sh/shsim/include/bsp/irq.h                    |  1 +
 bsps/shared/irq-default-sources.am                 |  8 +++
 bsps/shared/irq/irq-default.c                      | 51 ++++++++++++++++++
 bsps/sparc64/niagara/include/bsp/irq.h             |  1 +
 bsps/sparc64/usiii/include/bsp/irq.h               |  1 +
 bsps/v850/gdbv850sim/include/bsp/irq.h             |  1 +
 c/src/lib/libbsp/bfin/TLL6527M/Makefile.am         |  2 +-
 c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am       |  1 +
 c/src/lib/libbsp/bfin/eZKit533/Makefile.am         |  2 +-
 c/src/lib/libbsp/lm32/lm32_evr/Makefile.am         |  2 +-
 c/src/lib/libbsp/lm32/milkymist/Makefile.am        |  1 +
 c/src/lib/libbsp/m68k/av5282/Makefile.am           |  1 +
 c/src/lib/libbsp/m68k/csb360/Makefile.am           |  1 +
 c/src/lib/libbsp/m68k/gen68340/Makefile.am         |  1 +
 c/src/lib/libbsp/m68k/gen68360/Makefile.am         |  1 +
 c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am     |  1 +
 c/src/lib/libbsp/m68k/mcf52235/Makefile.am         |  1 +
 c/src/lib/libbsp/m68k/mcf5225x/Makefile.am         |  1 +
 c/src/lib/libbsp/m68k/mcf5235/Makefile.am          |  1 +
 c/src/lib/libbsp/m68k/mcf5329/Makefile.am          |  1 +
 c/src/lib/libbsp/m68k/mrm332/Makefile.am           |  1 +
 c/src/lib/libbsp/m68k/mvme147/Makefile.am          |  2 +-
 c/src/lib/libbsp/m68k/mvme147s/Makefile.am         |  2 +-
 c/src/lib/libbsp/m68k/mvme162/Makefile.am          |  2 +-
 c/src/lib/libbsp/m68k/mvme167/Makefile.am          |  2 +-
 c/src/lib/libbsp/m68k/uC5282/Makefile.am           |  1 +
 c/src/lib/libbsp/moxie/moxiesim/Makefile.am        |  2 +-
 c/src/lib/libbsp/nios2/nios2_iss/Makefile.am       |  1 +
 c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am         |  2 +-
 c/src/lib/libbsp/powerpc/beatnik/Makefile.am       |  2 +-
 c/src/lib/libbsp/powerpc/haleakala/Makefile.am     |  1 +
 .../libbsp/powerpc/motorola_powerpc/Makefile.am    |  1 +
 c/src/lib/libbsp/powerpc/mvme3100/Makefile.am      |  2 +-
 c/src/lib/libbsp/powerpc/mvme5500/Makefile.am      |  1 +
 c/src/lib/libbsp/powerpc/ss555/Makefile.am         |  8 +++
 c/src/lib/libbsp/powerpc/virtex4/Makefile.am       |  2 +-
 c/src/lib/libbsp/powerpc/virtex5/Makefile.am       |  2 +-
 c/src/lib/libbsp/sh/gensh1/Makefile.am             |  2 +-
 c/src/lib/libbsp/sh/gensh2/Makefile.am             |  1 +
 c/src/lib/libbsp/sh/gensh4/Makefile.am             |  2 +-
 c/src/lib/libbsp/sh/shsim/Makefile.am              |  1 +
 c/src/lib/libbsp/sparc64/niagara/Makefile.am       |  1 +
 c/src/lib/libbsp/sparc64/usiii/Makefile.am         |  1 +
 c/src/lib/libbsp/v850/gdbv850sim/Makefile.am       |  1 +
 79 files changed, 209 insertions(+), 15 deletions(-)

diff --git a/bsps/bfin/TLL6527M/include/bsp/irq.h b/bsps/bfin/TLL6527M/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/bfin/TLL6527M/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/bfin/bf537Stamp/include/bsp/irq.h b/bsps/bfin/bf537Stamp/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/bfin/bf537Stamp/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/bfin/eZKit533/include/bsp/irq.h b/bsps/bfin/eZKit533/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/bfin/eZKit533/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/include/bsp/irq-default.h b/bsps/include/bsp/irq-default.h
new file mode 100644
index 0000000..a94e045
--- /dev/null
+++ b/bsps/include/bsp/irq-default.h
@@ -0,0 +1,63 @@
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsShared
+ */
+
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (C) 2019 embedded brains GmbH
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_SHARED_IRQ_DEFAULT_H
+#define LIBBSP_SHARED_IRQ_DEFAULT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * @addtogroup RTEMSBSPsShared
+ *
+ * @{
+ */
+
+/**
+ * @brief Default minimum interrupt vector.
+ */
+#define BSP_INTERRUPT_VECTOR_MIN 0
+
+/**
+ * @brief Default maximum interrupt vector.
+ */
+#define BSP_INTERRUPT_VECTOR_MAX 0
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_SHARED_IRQ_DEFAULT_H */
diff --git a/bsps/lm32/lm32_evr/include/bsp/irq.h b/bsps/lm32/lm32_evr/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/lm32/lm32_evr/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/lm32/milkymist/include/bsp/irq.h b/bsps/lm32/milkymist/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/lm32/milkymist/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/av5282/include/bsp/irq.h b/bsps/m68k/av5282/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/av5282/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/csb360/include/bsp/irq.h b/bsps/m68k/csb360/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/csb360/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/gen68340/include/bsp/irq.h b/bsps/m68k/gen68340/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/gen68340/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/gen68360/include/bsp/irq.h b/bsps/m68k/gen68360/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/gen68360/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mcf5206elite/include/bsp/irq.h b/bsps/m68k/mcf5206elite/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mcf5206elite/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mcf52235/include/bsp/irq.h b/bsps/m68k/mcf52235/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mcf52235/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mcf5225x/include/bsp/irq.h b/bsps/m68k/mcf5225x/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mcf5225x/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mcf5235/include/bsp/irq.h b/bsps/m68k/mcf5235/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mcf5235/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mcf5329/include/bsp/irq.h b/bsps/m68k/mcf5329/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mcf5329/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mrm332/include/bsp/irq.h b/bsps/m68k/mrm332/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mrm332/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mvme147/include/bsp/irq.h b/bsps/m68k/mvme147/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mvme147/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mvme147s/include/bsp/irq.h b/bsps/m68k/mvme147s/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mvme147s/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mvme162/include/bsp/irq.h b/bsps/m68k/mvme162/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mvme162/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/mvme167/include/bsp/irq.h b/bsps/m68k/mvme167/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/mvme167/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/m68k/uC5282/include/bsp/irq.h b/bsps/m68k/uC5282/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/m68k/uC5282/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/moxie/moxiesim/include/bsp/irq.h b/bsps/moxie/moxiesim/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/moxie/moxiesim/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/nios2/nios2_iss/include/bsp/irq.h b/bsps/nios2/nios2_iss/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/nios2/nios2_iss/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/no_cpu/no_bsp/include/bsp/irq.h b/bsps/no_cpu/no_bsp/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/no_cpu/no_bsp/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/powerpc/beatnik/include/bsp/irq.h b/bsps/powerpc/beatnik/include/bsp/irq.h
index e5f9558..bd8d9d4 100644
--- a/bsps/powerpc/beatnik/include/bsp/irq.h
+++ b/bsps/powerpc/beatnik/include/bsp/irq.h
@@ -25,6 +25,7 @@
 #define BSP_SHARED_HANDLER_SUPPORT      1
 #include <rtems/irq.h>
 #include <bsp/vectors.h>
+#include <bsp/irq-default.h>
 
 /* This BSP also passes a pointer to the interrupt frame to the handler.
  * The PPC ABI guarantees that this will not mess up handlers written
diff --git a/bsps/powerpc/haleakala/include/bsp/irq.h b/bsps/powerpc/haleakala/include/bsp/irq.h
index c413ec3..d4d1d81 100644
--- a/bsps/powerpc/haleakala/include/bsp/irq.h
+++ b/bsps/powerpc/haleakala/include/bsp/irq.h
@@ -20,6 +20,8 @@
 
 #ifndef ASM
 
+#include <bsp/irq-default.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/bsps/powerpc/motorola_powerpc/include/bsp/irq.h b/bsps/powerpc/motorola_powerpc/include/bsp/irq.h
index 2d575d8..3690dbb 100644
--- a/bsps/powerpc/motorola_powerpc/include/bsp/irq.h
+++ b/bsps/powerpc/motorola_powerpc/include/bsp/irq.h
@@ -21,6 +21,7 @@
 
 #define BSP_SHARED_HANDLER_SUPPORT      1
 #include <rtems/irq.h>
+#include <bsp/irq-default.h>
 
 /*
  * 8259 edge/level control definitions at VIA
diff --git a/bsps/powerpc/mvme3100/include/bsp/irq.h b/bsps/powerpc/mvme3100/include/bsp/irq.h
index fb11951..b71d776 100644
--- a/bsps/powerpc/mvme3100/include/bsp/irq.h
+++ b/bsps/powerpc/mvme3100/include/bsp/irq.h
@@ -35,6 +35,8 @@
 
 #ifndef ASM
 
+#include <bsp/irq-default.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/bsps/powerpc/mvme5500/include/bsp/irq.h b/bsps/powerpc/mvme5500/include/bsp/irq.h
index 6704c2f..0a864f2 100644
--- a/bsps/powerpc/mvme5500/include/bsp/irq.h
+++ b/bsps/powerpc/mvme5500/include/bsp/irq.h
@@ -32,6 +32,8 @@
 
 #ifndef ASM
 
+#include <bsp/irq-default.h>
+
 #define OneTierIrqPrioTbl 1
 
 /*
diff --git a/bsps/powerpc/ss555/include/bsp/irq.h b/bsps/powerpc/ss555/include/bsp/irq.h
index 44e3960..d1f44fc 100644
--- a/bsps/powerpc/ss555/include/bsp/irq.h
+++ b/bsps/powerpc/ss555/include/bsp/irq.h
@@ -29,6 +29,8 @@
 
 #ifndef ASM
 
+#include <bsp/irq-default.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/bsps/powerpc/virtex4/include/bsp/irq.h b/bsps/powerpc/virtex4/include/bsp/irq.h
index 45ef69a..4db8b35 100644
--- a/bsps/powerpc/virtex4/include/bsp/irq.h
+++ b/bsps/powerpc/virtex4/include/bsp/irq.h
@@ -20,6 +20,7 @@
 #define VIRTEX4_IRQ_IRQ_H
 
 #include <rtems/irq.h>
+#include <bsp/irq-default.h>
 
 /*
  * the following definitions specify the indices used
diff --git a/bsps/powerpc/virtex5/include/bsp/irq.h b/bsps/powerpc/virtex5/include/bsp/irq.h
index 066090d..a61a434 100644
--- a/bsps/powerpc/virtex5/include/bsp/irq.h
+++ b/bsps/powerpc/virtex5/include/bsp/irq.h
@@ -20,6 +20,7 @@
 #define VIRTEX5_IRQ_IRQ_H
 
 #include <rtems/irq.h>
+#include <bsp/irq-default.h>
 
 /*
  * the following definitions specify the indices used
diff --git a/bsps/sh/gensh1/include/bsp/irq.h b/bsps/sh/gensh1/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sh/gensh1/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/sh/gensh2/include/bsp/irq.h b/bsps/sh/gensh2/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sh/gensh2/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/sh/gensh4/include/bsp/irq.h b/bsps/sh/gensh4/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sh/gensh4/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/sh/shsim/include/bsp/irq.h b/bsps/sh/shsim/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sh/shsim/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/shared/irq-default-sources.am b/bsps/shared/irq-default-sources.am
new file mode 100644
index 0000000..1c4072e
--- /dev/null
+++ b/bsps/shared/irq-default-sources.am
@@ -0,0 +1,8 @@
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-generic.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-legacy.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
diff --git a/bsps/shared/irq/irq-default.c b/bsps/shared/irq/irq-default.c
new file mode 100644
index 0000000..9295f1f
--- /dev/null
+++ b/bsps/shared/irq/irq-default.c
@@ -0,0 +1,51 @@
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsShared
+ */
+
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (C) 2019 embedded brains GmbH
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/irq-generic.h>
+
+void bsp_interrupt_vector_enable(rtems_vector_number vector)
+{
+  bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
+  (void)vector;
+}
+
+void bsp_interrupt_vector_disable(rtems_vector_number vector)
+{
+  bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
+  (void)vector;
+}
+
+rtems_status_code bsp_interrupt_facility_initialize(void)
+{
+  return RTEMS_NOT_IMPLEMENTED;
+}
diff --git a/bsps/sparc64/niagara/include/bsp/irq.h b/bsps/sparc64/niagara/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sparc64/niagara/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/sparc64/usiii/include/bsp/irq.h b/bsps/sparc64/usiii/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/sparc64/usiii/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/bsps/v850/gdbv850sim/include/bsp/irq.h b/bsps/v850/gdbv850sim/include/bsp/irq.h
new file mode 100644
index 0000000..8a97d7a
--- /dev/null
+++ b/bsps/v850/gdbv850sim/include/bsp/irq.h
@@ -0,0 +1 @@
+#include <bsp/irq-default.h>
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am b/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
index 2e45747..ff8d7b9 100644
--- a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
+++ b/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/TLL6527M/console/console.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/TLL6527M/start/interrupt.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/TLL6527M/headers.am
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am b/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
index 6bd99a9..0b0fecb 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
@@ -35,6 +35,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/bf537Stamp/net/networkconfi
 librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/bf537Stamp/net/ethernet.c
 endif
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/bf537Stamp/headers.am
diff --git a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am b/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
index e15b51c..b879e9b 100644
--- a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
+++ b/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
@@ -30,7 +30,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/eZKit533/console/console-io
 librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/interrupt.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/bfin/eZKit533/headers.am
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am b/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
index 7e2995c..234bf75 100644
--- a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
+++ b/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
@@ -42,6 +42,6 @@ if HAS_NETWORKING
 librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/net/tsmac.c
 endif
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/lm32/lm32_evr/headers.am
diff --git a/c/src/lib/libbsp/lm32/milkymist/Makefile.am b/c/src/lib/libbsp/lm32/milkymist/Makefile.am
index cddce2f..0d75781 100644
--- a/c/src/lib/libbsp/lm32/milkymist/Makefile.am
+++ b/c/src/lib/libbsp/lm32/milkymist/Makefile.am
@@ -89,5 +89,6 @@ if HAS_NETWORKING
 librtemsbsp_a_SOURCES += ../../../../../../bsps/lm32/shared/net/network.c
 endif
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/lm32/milkymist/headers.am
diff --git a/c/src/lib/libbsp/m68k/av5282/Makefile.am b/c/src/lib/libbsp/m68k/av5282/Makefile.am
index 818d71e..d720b86 100644
--- a/c/src/lib/libbsp/m68k/av5282/Makefile.am
+++ b/c/src/lib/libbsp/m68k/av5282/Makefile.am
@@ -41,5 +41,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/av5282/headers.am
diff --git a/c/src/lib/libbsp/m68k/csb360/Makefile.am b/c/src/lib/libbsp/m68k/csb360/Makefile.am
index 11d9bc2..a079489 100644
--- a/c/src/lib/libbsp/m68k/csb360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/csb360/Makefile.am
@@ -37,5 +37,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/dev/timer.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/dev/timerisr.S
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/csb360/start/idle-mcf5272.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/csb360/headers.am
diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
index ee39ecd..1bf0aea 100644
--- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
@@ -40,5 +40,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/gen68340/headers.am
diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
index 2e8055b..eb8bf5e 100644
--- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
@@ -49,5 +49,6 @@ if HAS_FPSP
 include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
 endif
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/gen68360/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
index 5264985..356e106 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
@@ -48,5 +48,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/mcfuart.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/timer.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mcf5206elite/dev/timerisr.S
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mcf5206elite/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
index fdc1820..913285e 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
@@ -41,5 +41,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5223x
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mcf52235/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
index c6dae92..101fde4 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
@@ -32,5 +32,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5225x
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mcf5225x/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
index 793e89f..0acd94f 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
@@ -45,5 +45,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5235.
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mcf5235/headers.am
diff --git a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
index 54907f7..c4938d1 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
@@ -43,5 +43,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf532x.
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mcf5329/headers.am
diff --git a/c/src/lib/libbsp/m68k/mrm332/Makefile.am b/c/src/lib/libbsp/m68k/mrm332/Makefile.am
index 8123be5..e2afd60 100644
--- a/c/src/lib/libbsp/m68k/mrm332/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mrm332/Makefile.am
@@ -40,5 +40,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mrm332/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme147/Makefile.am b/c/src/lib/libbsp/m68k/mvme147/Makefile.am
index 86c7c45..791ac20 100644
--- a/c/src/lib/libbsp/m68k/mvme147/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme147/Makefile.am
@@ -40,6 +40,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mvme147/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
index 2a604c1..7ad79a2 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
@@ -49,6 +49,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mvme147s/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
index bf753b5..b213a83 100644
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
@@ -50,6 +50,6 @@ if HAS_FPSP
 include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
 endif
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mvme162/headers.am
diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
index a72ca85..922fe7c 100644
--- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
@@ -42,7 +42,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/shared/fpsp-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/mvme167/headers.am
diff --git a/c/src/lib/libbsp/m68k/uC5282/Makefile.am b/c/src/lib/libbsp/m68k/uC5282/Makefile.am
index 28cd33f..a702461 100644
--- a/c/src/lib/libbsp/m68k/uC5282/Makefile.am
+++ b/c/src/lib/libbsp/m68k/uC5282/Makefile.am
@@ -41,5 +41,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/cache/cache-mcf5282.
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/m68kidle.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/memProbe.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/m68k/uC5282/headers.am
diff --git a/c/src/lib/libbsp/moxie/moxiesim/Makefile.am b/c/src/lib/libbsp/moxie/moxiesim/Makefile.am
index f689cf5..1e2099e 100644
--- a/c/src/lib/libbsp/moxie/moxiesim/Makefile.am
+++ b/c/src/lib/libbsp/moxie/moxiesim/Makefile.am
@@ -39,6 +39,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/moxie/moxiesim/headers.am
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
index 9b18a44..9729f08 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
+++ b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
@@ -38,5 +38,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/nios2/nios2_iss/btimer/btimer.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/nios2/nios2_iss/headers.am
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
index e42f03c..9f9b642 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
@@ -33,6 +33,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/getcfg.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/lock.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/no_cpu/no_bsp/mpci/mpisr.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/no_cpu/no_bsp/headers.am
diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
index f48cfcf..0a3324d 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
@@ -108,7 +108,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
index e58a42a..90ff593 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
@@ -45,6 +45,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc40
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
index c79d81e..caa4abb 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
@@ -94,6 +94,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(top_srcdir)/../../../../automake/subdirs.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
index 85c6a53..48a61b9 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
@@ -90,7 +90,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/e500-mmu.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
index a739e30..a86e219 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
@@ -83,6 +83,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/powerpc/ss555/Makefile.am b/c/src/lib/libbsp/powerpc/ss555/Makefile.am
index c6276e1..63889f0 100644
--- a/c/src/lib/libbsp/powerpc/ss555/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/ss555/Makefile.am
@@ -45,6 +45,14 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/raw_exceptio
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors_init.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/ss555/start/vectors.S
 
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-generic.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-info.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-lock.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-server.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-shell.c
+
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/ss555/headers.am
diff --git a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am
index 56845f9..5d3e0b6 100644
--- a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am
@@ -49,7 +49,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc403.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
index fae04ed..18d2bd9 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
@@ -51,7 +51,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/clock/clock-ppc-dec.c
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/btimer/btimer-ppc-dec.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am
index 3fe5318..e4f3aae 100644
--- a/c/src/lib/libbsp/sh/gensh1/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh1/Makefile.am
@@ -40,6 +40,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sh/gensh1/headers.am
diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am
index 027f159..00a874f 100644
--- a/c/src/lib/libbsp/sh/gensh2/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am
@@ -44,5 +44,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sh/gensh2/headers.am
diff --git a/c/src/lib/libbsp/sh/gensh4/Makefile.am b/c/src/lib/libbsp/sh/gensh4/Makefile.am
index 26bb8b5..421561f 100644
--- a/c/src/lib/libbsp/sh/gensh4/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh4/Makefile.am
@@ -39,6 +39,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh4/start/hw_init.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
-
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sh/gensh4/headers.am
diff --git a/c/src/lib/libbsp/sh/shsim/Makefile.am b/c/src/lib/libbsp/sh/shsim/Makefile.am
index 947ff53..d5f93ac 100644
--- a/c/src/lib/libbsp/sh/shsim/Makefile.am
+++ b/c/src/lib/libbsp/sh/shsim/Makefile.am
@@ -43,5 +43,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sh/shsim/headers.am
diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am
index ec5763e..dfda425 100644
--- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am
+++ b/c/src/lib/libbsp/sparc64/niagara/Makefile.am
@@ -45,5 +45,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
 
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sparc64/niagara/headers.am
diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am
index 1fbb6d6..a9cf18d 100644
--- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am
+++ b/c/src/lib/libbsp/sparc64/usiii/Makefile.am
@@ -56,5 +56,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
 
 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/sparc64/usiii/headers.am
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am b/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am
index b502e32..d5a20ee 100644
--- a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am
+++ b/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am
@@ -36,5 +36,6 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
 
 project_lib_LIBRARIES = librtemsbsp.a
 
+include $(srcdir)/../../../../../../bsps/shared/irq-default-sources.am
 include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
 include $(srcdir)/../../../../../../bsps/v850/gdbv850sim/headers.am




More information about the vc mailing list