summaryrefslogtreecommitdiffstats
path: root/bsps/shared/irq
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/shared/irq')
-rw-r--r--bsps/shared/irq/irq-affinity.c17
-rw-r--r--bsps/shared/irq/irq-default-handler.c4
-rw-r--r--bsps/shared/irq/irq-default.c4
-rw-r--r--bsps/shared/irq/irq-enable-disable.c4
-rw-r--r--bsps/shared/irq/irq-entry-remove.c10
-rw-r--r--bsps/shared/irq/irq-generic.c54
-rw-r--r--bsps/shared/irq/irq-handler-install.c4
-rw-r--r--bsps/shared/irq/irq-handler-iterate.c8
-rw-r--r--bsps/shared/irq/irq-handler-remove.c4
-rw-r--r--bsps/shared/irq/irq-info.c4
-rw-r--r--bsps/shared/irq/irq-legacy.c4
-rw-r--r--bsps/shared/irq/irq-lock.c4
-rw-r--r--bsps/shared/irq/irq-raise-clear.c4
-rw-r--r--bsps/shared/irq/irq-record.c97
-rw-r--r--bsps/shared/irq/irq-server.c4
-rw-r--r--bsps/shared/irq/irq-shell.c4
16 files changed, 167 insertions, 63 deletions
diff --git a/bsps/shared/irq/irq-affinity.c b/bsps/shared/irq/irq-affinity.c
index d8ac6d55c1..7e9250a948 100644
--- a/bsps/shared/irq/irq-affinity.c
+++ b/bsps/shared/irq/irq-affinity.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_get_affinity() and rtems_interrupt_set_affinity().
*/
/*
- * Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2017, 2022 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -36,7 +36,7 @@
#include <bsp/irq-generic.h>
-#include <rtems/score/processormask.h>
+#include <rtems/score/smpimpl.h>
rtems_status_code rtems_interrupt_set_affinity(
rtems_vector_number vector,
@@ -51,17 +51,22 @@ rtems_status_code rtems_interrupt_set_affinity(
return RTEMS_INVALID_ADDRESS;
}
- if (!bsp_interrupt_is_valid_vector(vector)) {
+ if ( !bsp_interrupt_is_valid_vector( vector ) ) {
return RTEMS_INVALID_ID;
}
- status = _Processor_mask_From_cpu_set_t(&set, affinity_size, affinity);
+ status = _Processor_mask_From_cpu_set_t( &set, affinity_size, affinity );
if ( !_Processor_mask_Is_at_most_partial_loss( status ) ) {
return RTEMS_INVALID_NUMBER;
}
+ _Processor_mask_And( &set, _SMP_Get_online_processors(), &set );
+ if ( _Processor_mask_Is_zero( &set ) ) {
+ return RTEMS_INVALID_NUMBER;
+ }
+
#if defined(RTEMS_SMP)
- return bsp_interrupt_set_affinity(vector, &set);
+ return bsp_interrupt_set_affinity( vector, &set );
#else
return RTEMS_SUCCESSFUL;
#endif
diff --git a/bsps/shared/irq/irq-default-handler.c b/bsps/shared/irq/irq-default-handler.c
index 666d48aaa8..3f765a2a64 100644
--- a/bsps/shared/irq/irq-default-handler.c
+++ b/bsps/shared/irq/irq-default-handler.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the default implementation of
* bsp_interrupt_handler_default().
*/
/*
- * Copyright (C) 2008, 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2008, 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-default.c b/bsps/shared/irq/irq-default.c
index bd93bd72c6..7210235aa6 100644
--- a/bsps/shared/irq/irq-default.c
+++ b/bsps/shared/irq/irq-default.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the default implementation of
* bsp_interrupt_vector_enable(), bsp_interrupt_vector_disable(), and
@@ -11,7 +11,7 @@
*/
/*
- * Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2019 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-enable-disable.c b/bsps/shared/irq/irq-enable-disable.c
index 75d3d5ec46..2e0a675b85 100644
--- a/bsps/shared/irq/irq-enable-disable.c
+++ b/bsps/shared/irq/irq-enable-disable.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_get_attributes(), rtems_interrupt_vector_is_enabled(),
@@ -11,7 +11,7 @@
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-entry-remove.c b/bsps/shared/irq/irq-entry-remove.c
index 3e5fd33fbe..d2f290d595 100644
--- a/bsps/shared/irq/irq-entry-remove.c
+++ b/bsps/shared/irq/irq-entry-remove.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_entry_remove() and bsp_interrupt_entry_remove().
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -46,8 +46,8 @@ void bsp_interrupt_entry_remove(
rtems_interrupt_entry *first;
rtems_interrupt_entry *entry_next;
- index = bsp_interrupt_handler_index( vector );
- first = bsp_interrupt_handler_table[ index ];
+ index = bsp_interrupt_dispatch_index( vector );
+ first = *bsp_interrupt_get_dispatch_table_slot( index );
entry_next = entry->next;
if ( entry == first && entry_next == NULL ) {
@@ -60,7 +60,7 @@ void bsp_interrupt_entry_remove(
#endif
bsp_interrupt_set_handler_unique( index, false );
#if defined(BSP_INTERRUPT_USE_INDEX_TABLE)
- bsp_interrupt_handler_index_table[ vector ] = 0;
+ bsp_interrupt_dispatch_index_table[ vector ] = 0;
#endif
}
diff --git a/bsps/shared/irq/irq-generic.c b/bsps/shared/irq/irq-generic.c
index dac1ca4209..b6238025b7 100644
--- a/bsps/shared/irq/irq-generic.c
+++ b/bsps/shared/irq/irq-generic.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the generic interrupt controller support
* implementation.
*/
/*
- * Copyright (C) 2008, 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2008, 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -35,39 +35,41 @@
*/
#include <bsp/irq-generic.h>
-#include <bsp/fatal.h>
-
-#include <stdlib.h>
#include <rtems/malloc.h>
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
- bsp_interrupt_handler_index_type bsp_interrupt_handler_index_table
+ bsp_interrupt_dispatch_index_type bsp_interrupt_dispatch_index_table
[BSP_INTERRUPT_VECTOR_COUNT];
#endif
rtems_interrupt_entry *
-bsp_interrupt_handler_table[ BSP_INTERRUPT_HANDLER_TABLE_SIZE ];
+bsp_interrupt_dispatch_table[ BSP_INTERRUPT_DISPATCH_TABLE_SIZE ];
+
+RTEMS_WEAK rtems_interrupt_entry **bsp_interrupt_get_dispatch_table_slot(
+ rtems_vector_number index
+)
+{
+ return &bsp_interrupt_dispatch_table[ index ];
+}
/* The last entry indicates if everything is initialized */
uint8_t bsp_interrupt_handler_unique_table
- [ ( BSP_INTERRUPT_HANDLER_TABLE_SIZE + 7 + 1 ) / 8 ];
+ [ ( BSP_INTERRUPT_DISPATCH_TABLE_SIZE + 7 + 1 ) / 8 ];
static inline void bsp_interrupt_set_initialized(void)
{
- bsp_interrupt_set_handler_unique(BSP_INTERRUPT_HANDLER_TABLE_SIZE, true);
+ bsp_interrupt_set_handler_unique(BSP_INTERRUPT_DISPATCH_TABLE_SIZE, true);
}
#if defined(BSP_INTERRUPT_USE_INDEX_TABLE)
-static inline rtems_vector_number bsp_interrupt_allocate_handler_index(
- rtems_vector_number vector
-)
+static inline rtems_vector_number bsp_interrupt_allocate_handler_index( void )
{
rtems_vector_number i;
/* The first entry will remain empty */
- for ( i = 1; i < BSP_INTERRUPT_HANDLER_TABLE_SIZE; ++i ) {
- if ( bsp_interrupt_handler_table[ i ] == NULL ) {
+ for ( i = 1; i < BSP_INTERRUPT_DISPATCH_TABLE_SIZE; ++i ) {
+ if ( bsp_interrupt_dispatch_table[ i ] == NULL ) {
break;
}
}
@@ -91,9 +93,9 @@ void bsp_interrupt_spurious( rtems_vector_number vector )
* In order to get the last written pointer value to the first entry, we have
* to carry out an atomic read-modify-write operation.
*/
- ptr = (Atomic_Uintptr *) &bsp_interrupt_handler_table[
- bsp_interrupt_handler_index( vector )
- ];
+ ptr = (Atomic_Uintptr *) bsp_interrupt_get_dispatch_table_slot(
+ bsp_interrupt_dispatch_index( vector )
+ );
first = (rtems_interrupt_entry *)
_Atomic_Fetch_add_uintptr( ptr, 0, ATOMIC_ORDER_ACQUIRE );
@@ -142,9 +144,9 @@ rtems_interrupt_entry *bsp_interrupt_entry_find(
rtems_interrupt_entry *entry;
bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
- index = bsp_interrupt_handler_index( vector );
- *previous_next = &bsp_interrupt_handler_table[ index ];
- entry = bsp_interrupt_handler_table[ index ];
+ index = bsp_interrupt_dispatch_index( vector );
+ *previous_next = bsp_interrupt_get_dispatch_table_slot( index );
+ entry = **previous_next;
while ( entry != NULL ) {
if ( entry->handler == routine && entry->arg == arg ) {
@@ -173,9 +175,9 @@ static rtems_status_code bsp_interrupt_entry_install_first(
rtems_vector_number index;
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
- index = bsp_interrupt_allocate_handler_index( vector );
+ index = bsp_interrupt_allocate_handler_index();
- if ( index == BSP_INTERRUPT_HANDLER_TABLE_SIZE ) {
+ if ( index == BSP_INTERRUPT_DISPATCH_TABLE_SIZE ) {
/* Handler table is full */
return RTEMS_NO_MEMORY;
}
@@ -184,10 +186,10 @@ static rtems_status_code bsp_interrupt_entry_install_first(
#endif
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
- bsp_interrupt_handler_index_table[ vector ] = index;
+ bsp_interrupt_dispatch_index_table[ vector ] = index;
#endif
bsp_interrupt_entry_store_release(
- &bsp_interrupt_handler_table[ index ],
+ bsp_interrupt_get_dispatch_table_slot( index ),
entry
);
@@ -219,8 +221,8 @@ static rtems_status_code bsp_interrupt_entry_install(
return RTEMS_INVALID_NUMBER;
}
- index = bsp_interrupt_handler_index( vector );
- first = bsp_interrupt_handler_table[ index ];
+ index = bsp_interrupt_dispatch_index( vector );
+ first = *bsp_interrupt_get_dispatch_table_slot( index );
if ( first == NULL ) {
return bsp_interrupt_entry_install_first( vector, options, entry );
diff --git a/bsps/shared/irq/irq-handler-install.c b/bsps/shared/irq/irq-handler-install.c
index 2474d792e6..18c4cbf3a7 100644
--- a/bsps/shared/irq/irq-handler-install.c
+++ b/bsps/shared/irq/irq-handler-install.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the rtems_interrupt_handler_install()
* implementation.
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-handler-iterate.c b/bsps/shared/irq/irq-handler-iterate.c
index 8bb29191fd..770318cc68 100644
--- a/bsps/shared/irq/irq-handler-iterate.c
+++ b/bsps/shared/irq/irq-handler-iterate.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_handler_iterate().
*/
/*
- * Copyright (C) 2017, 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2017, 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -56,10 +56,10 @@ rtems_status_code rtems_interrupt_handler_iterate(
return sc;
}
- index = bsp_interrupt_handler_index( vector );
+ index = bsp_interrupt_dispatch_index( vector );
+ entry = *bsp_interrupt_get_dispatch_table_slot( index );
options = bsp_interrupt_is_handler_unique( index ) ?
RTEMS_INTERRUPT_UNIQUE : RTEMS_INTERRUPT_SHARED;
- entry = bsp_interrupt_handler_table[ index ];
while ( entry != NULL ) {
( *routine )( arg, entry->info, options, entry->handler, entry->arg );
diff --git a/bsps/shared/irq/irq-handler-remove.c b/bsps/shared/irq/irq-handler-remove.c
index cb32ba3b7c..a01af46455 100644
--- a/bsps/shared/irq/irq-handler-remove.c
+++ b/bsps/shared/irq/irq-handler-remove.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_handler_remove().
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-info.c b/bsps/shared/irq/irq-info.c
index a52465ef09..c4cbd96acf 100644
--- a/bsps/shared/irq/irq-info.c
+++ b/bsps/shared/irq/irq-info.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* bsp_interrupt_report() and bsp_interrupt_report_with_plugin().
*/
/*
- * Copyright (C) 2008, 2010 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2008, 2010 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-legacy.c b/bsps/shared/irq/irq-legacy.c
index 649b850095..ee4d11cd87 100644
--- a/bsps/shared/irq/irq-legacy.c
+++ b/bsps/shared/irq/irq-legacy.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the legacy interrupt controller support
* implementation.
*/
/*
- * Copyright (C) 2008, 2009 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2008, 2009 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-lock.c b/bsps/shared/irq/irq-lock.c
index 58b7020a3b..8090ade84e 100644
--- a/bsps/shared/irq/irq-lock.c
+++ b/bsps/shared/irq/irq-lock.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* bsp_interrupt_lock() and bsp_interrupt_unlock().
*/
/*
- * Copyright (C) 2008, 2018 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2008, 2018 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-raise-clear.c b/bsps/shared/irq/irq-raise-clear.c
index 93e414b2d1..e06f79658b 100644
--- a/bsps/shared/irq/irq-raise-clear.c
+++ b/bsps/shared/irq/irq-raise-clear.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the implementation of
* rtems_interrupt_clear().
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-record.c b/bsps/shared/irq/irq-record.c
new file mode 100644
index 0000000000..15bb20132d
--- /dev/null
+++ b/bsps/shared/irq/irq-record.c
@@ -0,0 +1,97 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSImplClassicIntr
+ *
+ * @brief This source file contains the implementation of the interrupt event
+ * recording support.
+ */
+
+/*
+ * Copyright (C) 2022 embedded brains GmbH & Co. KG
+ *
+ * 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>
+
+#include <rtems/record.h>
+
+/* The regular interrupt entries are registered in this table */
+static rtems_interrupt_entry *
+_Record_Interrupt_dispatch_table[ BSP_INTERRUPT_DISPATCH_TABLE_SIZE ];
+
+/*
+ * Provide one interrupt entry for the _Record_Interrupt_handler() interrupt
+ * dispatch wrapper for each interrupt vector.
+ */
+static rtems_interrupt_entry
+_Record_Interrupt_entry_table[ BSP_INTERRUPT_DISPATCH_TABLE_SIZE ];
+
+rtems_interrupt_entry **bsp_interrupt_get_dispatch_table_slot(
+ rtems_vector_number index
+)
+{
+ return &_Record_Interrupt_dispatch_table[ index ];
+}
+
+static void _Record_Interrupt_handler( void *arg )
+{
+ uintptr_t vector;
+ rtems_interrupt_entry *entry;
+
+ vector = (uintptr_t) arg;
+ rtems_record_produce( RTEMS_RECORD_INTERRUPT_ENTRY, vector );
+
+ entry = bsp_interrupt_entry_load_acquire(
+ &_Record_Interrupt_dispatch_table[ vector ]
+ );
+
+ if ( RTEMS_PREDICT_TRUE( entry != NULL ) ) {
+ bsp_interrupt_dispatch_entries( entry );
+ } else {
+#if defined(RTEMS_SMP)
+ bsp_interrupt_spurious( vector );
+#else
+ bsp_interrupt_handler_default( vector );
+#endif
+ }
+
+ rtems_record_produce( RTEMS_RECORD_INTERRUPT_EXIT, vector );
+}
+
+void _Record_Interrupt_initialize( void )
+{
+ uintptr_t i;
+
+ /*
+ * Let each interrupt dispatch table slot reference the
+ * _Record_Interrupt_handler() interrupt dispatch wrapper.
+ */
+ for ( i = 0; i < BSP_INTERRUPT_DISPATCH_TABLE_SIZE; ++i ) {
+ _Record_Interrupt_entry_table[ i ].handler = _Record_Interrupt_handler;
+ _Record_Interrupt_entry_table[ i ].arg = (void *) i;
+ bsp_interrupt_dispatch_table[ i ] = &_Record_Interrupt_entry_table[ i ];
+ }
+}
diff --git a/bsps/shared/irq/irq-server.c b/bsps/shared/irq/irq-server.c
index 8b9d82eb29..bac54316d1 100644
--- a/bsps/shared/irq/irq-server.c
+++ b/bsps/shared/irq/irq-server.c
@@ -3,13 +3,13 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the interrupt server implementation.
*/
/*
- * Copyright (C) 2009, 2020 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2009, 2020 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/bsps/shared/irq/irq-shell.c b/bsps/shared/irq/irq-shell.c
index cf70f2ce1b..a56fa938cf 100644
--- a/bsps/shared/irq/irq-shell.c
+++ b/bsps/shared/irq/irq-shell.c
@@ -3,14 +3,14 @@
/**
* @file
*
- * @ingroup bsp_interrupt
+ * @ingroup RTEMSImplClassicIntr
*
* @brief This source file contains the definition of
* ::bsp_interrupt_shell_command.
*/
/*
- * Copyright (C) 2009 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2009 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions