diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-03-10 10:17:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-03-13 08:05:39 +0100 |
commit | c4905d8d314f4325b18e4dbbd6cbfc5b0f75f313 (patch) | |
tree | 9191f15047275025a5ca14d898d986a677383a22 /c/src/lib/libcpu/arm/pxa255/irq/bsp_irq_init.c | |
parent | bsps/mips: Move libcpu content to bsps (diff) | |
download | rtems-c4905d8d314f4325b18e4dbbd6cbfc5b0f75f313.tar.bz2 |
bsps/arm: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.
Update #3285.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/arm/pxa255/irq/bsp_irq_init.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/c/src/lib/libcpu/arm/pxa255/irq/bsp_irq_init.c b/c/src/lib/libcpu/arm/pxa255/irq/bsp_irq_init.c deleted file mode 100644 index aeabc1f145..0000000000 --- a/c/src/lib/libcpu/arm/pxa255/irq/bsp_irq_init.c +++ /dev/null @@ -1,40 +0,0 @@ -/* - * PXA255 interrupt controller by Yang Xi <hiyangxi@gmail.com> - * Copyright (c) 2004 by Jay Monkman <jtm@lopgindog.com> - * - * 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 <irq.h> -#include <bsp.h> -#include <pxa255.h> - -void dummy_handler(rtems_irq_hdl_param unused) -{ - printk("I am dummy handler\n"); -} - -void (*IRQ_table[PRIMARY_IRQS])(rtems_irq_hdl_param param); - -/* - * Interrupt system initialization. Disable interrupts, clear - * any that are pending. - */ -void BSP_rtems_irq_mngt_init(void) -{ - int i; - - /* Initialize the vector table contents with default handler */ - for (i=0; i<PRIMARY_IRQS; i++) { - IRQ_table[i] = dummy_handler; - } - - /* disable all interrupts */ - XSCALE_INT_ICMR = 0x0; - - /* Direct the interrupt to IRQ*/ - XSCALE_INT_ICLR = 0x0; -} - |