2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle
|
|
|
|
* Copyright (C) 2001, 2002, 2003 by Liam Davies (ldavies@agile.tv)
|
|
|
|
*/
|
|
|
|
#include <asm/asm.h>
|
|
|
|
#include <asm/mipsregs.h>
|
2006-01-19 07:26:43 +08:00
|
|
|
#include <asm/mach-cobalt/cobalt.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <asm/regdef.h>
|
|
|
|
#include <asm/stackframe.h>
|
|
|
|
|
|
|
|
.text
|
|
|
|
.align 5
|
|
|
|
NESTED(cobalt_handle_int, PT_SIZE, sp)
|
|
|
|
SAVE_ALL
|
|
|
|
CLI
|
|
|
|
|
2005-02-22 00:18:36 +08:00
|
|
|
PTR_LA ra, ret_from_irq
|
|
|
|
move a0, sp
|
2005-04-17 06:20:36 +08:00
|
|
|
j cobalt_irq
|
|
|
|
|
|
|
|
END(cobalt_handle_int)
|