diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/arm/s3c2410/irq/bsp_irq_asm.S | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/c/src/lib/libcpu/arm/s3c2410/irq/bsp_irq_asm.S b/c/src/lib/libcpu/arm/s3c2410/irq/bsp_irq_asm.S deleted file mode 100644 index b381bbd471..0000000000 --- a/c/src/lib/libcpu/arm/s3c2410/irq/bsp_irq_asm.S +++ /dev/null @@ -1,40 +0,0 @@ -/* bsp_irq_asm.S - * - * This file contains the implementation of the IRQ handler - * for a specific BSP - * - * CopyRight (C) 2000 Canon Research France SA. - * Emmanuel Raguet, mailto:raguet@crf.canon.fr - * - * The license and distribution terms for this file may be - * found in found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#define __asm__ - -/* - * Function to obtain, execute an IT handler and acknowledge the IT - */ - - .globl bsp_interrupt_dispatch - -bsp_interrupt_dispatch : - - ldr r0, =0x4A000014 /* Read rINTOFFSET */ - ldr r1, [r0] - - ldr r0, =bsp_vector_table - ldr r0, [r0, r1, LSL #2] /* Read the address */ - - stmdb sp!,{lr} - ldr lr, =IRQ_return /* prepare the return from handler */ - - mov pc, r0 - -IRQ_return: - ldmia sp!,{lr} - - mov pc, lr |