diff options
author | Joel Sherrill <joel@rtems.org> | 2020-03-19 15:55:26 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-03-19 15:55:26 -0500 |
commit | 37e7cc5f4ce7ed46b5ea2de56d9066d121d851cb (patch) | |
tree | d6607f7a5269ffd32343cff065e3f8dd40d97bcc /bsps/arm/gdbarmsim/irq/irq-dispatch.c | |
parent | record: Add rtems_record_dump() (diff) | |
download | rtems-37e7cc5f4ce7ed46b5ea2de56d9066d121d851cb.tar.bz2 |
gdbarmsim: Remove
Closes #3611.
Diffstat (limited to 'bsps/arm/gdbarmsim/irq/irq-dispatch.c')
-rw-r--r-- | bsps/arm/gdbarmsim/irq/irq-dispatch.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/bsps/arm/gdbarmsim/irq/irq-dispatch.c b/bsps/arm/gdbarmsim/irq/irq-dispatch.c deleted file mode 100644 index f045fb8149..0000000000 --- a/bsps/arm/gdbarmsim/irq/irq-dispatch.c +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @file - * - * @ingroup bsp_interrupt - * - * @brief GDB ARM Simulator interrupt support. - */ - -/* - * Copyright (c) 2008-2012 embedded brains GmbH. All rights reserved. - * - * embedded brains GmbH - * Obere Lagerstr. 30 - * 82178 Puchheim - * Germany - * <rtems@embedded-brains.de> - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <rtems/score/armv4.h> - -#include <bsp.h> -#include <bsp/irq.h> -#include <bsp/irq-generic.h> - -#ifdef ARM_MULTILIB_ARCH_V4 - -void bsp_interrupt_dispatch(void) -{ - /* Read current vector number */ - /* rtems_vector_number vector = VICVectAddr; */ - rtems_vector_number vector = 0; - - /* Enable interrupts in program status register */ - uint32_t psr = _ARMV4_Status_irq_enable(); - - /* Dispatch interrupt handlers */ - bsp_interrupt_handler_dispatch(vector); - - /* Restore program status register */ - _ARMV4_Status_restore(psr); - - /* Acknowledge interrupt */ - //VICVectAddr = 0; -} - -#endif /* ARM_MULTILIB_ARCH_V4 */ |