aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/qemu/q-int.S
blob: 6e3dfe5eb14b09b4b4758a23f905f36cb8936a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Qemu interrupt handler code.
 *
 * Copyright (C) 2005 by Ralf Baechle
 */
#include <asm/asm.h>
#include <asm/regdef.h>
#include <asm/stackframe.h>

	.align	5
	NESTED(qemu_handle_int, PT_SIZE, sp)
	SAVE_ALL
	CLI
	move	a0, sp
	PTR_LA	ra, ret_from_irq
	j	do_qemu_int
	END(qemu_handle_int)