[PATCH] bsps: Always build generic interrupt support
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon May 13 13:43:33 UTC 2019
This makes it possible to write tests for the generic interrupt
controller support.
Update #3296.
---
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(-)
create mode 100644 bsps/bfin/TLL6527M/include/bsp/irq.h
create mode 100644 bsps/bfin/bf537Stamp/include/bsp/irq.h
create mode 100644 bsps/bfin/eZKit533/include/bsp/irq.h
create mode 100644 bsps/include/bsp/irq-default.h
create mode 100644 bsps/lm32/lm32_evr/include/bsp/irq.h
create mode 100644 bsps/lm32/milkymist/include/bsp/irq.h
create mode 100644 bsps/m68k/av5282/include/bsp/irq.h
create mode 100644 bsps/m68k/csb360/include/bsp/irq.h
create mode 100644 bsps/m68k/gen68340/include/bsp/irq.h
create mode 100644 bsps/m68k/gen68360/include/bsp/irq.h
create mode 100644 bsps/m68k/mcf5206elite/include/bsp/irq.h
create mode 100644 bsps/m68k/mcf52235/include/bsp/irq.h
create mode 100644 bsps/m68k/mcf5225x/include/bsp/irq.h
create mode 100644 bsps/m68k/mcf5235/include/bsp/irq.h
create mode 100644 bsps/m68k/mcf5329/include/bsp/irq.h
create mode 100644 bsps/m68k/mrm332/include/bsp/irq.h
create mode 100644 bsps/m68k/mvme147/include/bsp/irq.h
create mode 100644 bsps/m68k/mvme147s/include/bsp/irq.h
create mode 100644 bsps/m68k/mvme162/include/bsp/irq.h
create mode 100644 bsps/m68k/mvme167/include/bsp/irq.h
create mode 100644 bsps/m68k/uC5282/include/bsp/irq.h
create mode 100644 bsps/moxie/moxiesim/include/bsp/irq.h
create mode 100644 bsps/nios2/nios2_iss/include/bsp/irq.h
create mode 100644 bsps/no_cpu/no_bsp/include/bsp/irq.h
create mode 100644 bsps/sh/gensh1/include/bsp/irq.h
create mode 100644 bsps/sh/gensh2/include/bsp/irq.h
create mode 100644 bsps/sh/gensh4/include/bsp/irq.h
create mode 100644 bsps/sh/shsim/include/bsp/irq.h
create mode 100644 bsps/shared/irq-default-sources.am
create mode 100644 bsps/shared/irq/irq-default.c
create mode 100644 bsps/sparc64/niagara/include/bsp/irq.h
create mode 100644 bsps/sparc64/usiii/include/bsp/irq.h
create mode 100644 bsps/v850/gdbv850sim/include/bsp/irq.h
diff --git a/bsps/bfin/TLL6527M/include/bsp/irq.h b/bsps/bfin/TLL6527M/include/bsp/irq.h
new file mode 100644
index 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..a94e045e0d
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 e5f9558ecf..bd8d9d49a2 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 c413ec3172..d4d1d818da 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 2d575d8122..3690dbbff7 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 fb11951959..b71d77660e 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 6704c2f626..0a864f2925 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 44e39608b1..d1f44fc977 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 45ef69adbf..4db8b3551e 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 066090de7f..a61a434236 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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..1c4072e294
--- /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 0000000000..9295f1fb44
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 0000000000..8a97d7a1b0
--- /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 2e457471be..ff8d7b9f25 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 6bd99a936a..0b0fecb95c 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 e15b51c84c..b879e9ba92 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 7e2995c68d..234bf75b39 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 cddce2f5f0..0d75781d9c 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 818d71e1cb..d720b861f1 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 11d9bc2692..a079489116 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 ee39ecd115..1bf0aeaabe 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 2e8055b1b6..eb8bf5e258 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 5264985317..356e10643f 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 fdc1820ad8..913285ebf1 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 c6dae92736..101fde4eb4 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 793e89f527..0acd94fbce 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 54907f728e..c4938d1342 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 8123be5f68..e2afd60f17 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 86c7c45a60..791ac209e0 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 2a604c16e4..7ad79a239c 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 bf753b541c..b213a83205 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 a72ca8556e..922fe7c042 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 28cd33fb78..a702461e08 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 f689cf5de1..1e2099e5f0 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 9b18a446bb..9729f08d82 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 e42f03cbd4..9f9b6426bd 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 f48cfcfe32..0a3324d728 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 e58a42a530..90ff593cc8 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 c79d81e5e6..caa4abbb78 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 85c6a533a6..48a61b9329 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 a739e30fae..a86e219807 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 c6276e15e9..63889f0c41 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 56845f95de..5d3e0b6b3c 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 fae04ed02d..18d2bd921f 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 3fe5318006..e4f3aae14b 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 027f15947d..00a874f90c 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 26bb8b5df9..421561f5e9 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 947ff53e22..d5f93ac5e8 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 ec5763e738..dfda425ec9 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 1fbb6d6f58..a9cf18dc24 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 b502e32935..d5a20eedc2 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
--
2.16.4
More information about the devel
mailing list