source: SVN/rincon/u-boot/cpu/blackfin/interrupt.S @ 55

Last change on this file since 55 was 55, checked in by Tim Harvey, 22 months ago

rincon: added latest u-boot source

restored form server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 652 bytes
Line 
1/*
2 * interrupt.S - trampoline default exceptions/interrupts to C handlers
3 *
4 * Copyright (c) 2005-2007 Analog Devices Inc.
5 * Licensed under the GPL-2 or later.
6 */
7
8#include <asm/blackfin.h>
9#include <asm/entry.h>
10
11.text
12
13/* default entry point for exceptions */
14ENTRY(_trap)
15        SAVE_ALL_SYS
16        r0 = sp;        /* stack frame pt_regs pointer argument ==> r0 */
17        sp += -12;
18        call _trap_c;
19        sp += 12;
20        RESTORE_ALL_SYS
21        rtx;
22ENDPROC(_trap)
23
24/* default entry point for interrupts */
25ENTRY(_evt_default)
26        SAVE_ALL_SYS
27        r0 = sp;        /* stack frame pt_regs pointer argument ==> r0 */
28        sp += -12;
29        call _bfin_panic;
30        sp += 12;
31        RESTORE_ALL_SYS
32        rti;
33ENDPROC(_evt_default)
Note: See TracBrowser for help on using the repository browser.