Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 1 | /* |
2 | * Qemu interrupt handler code. | ||||
3 | * | ||||
4 | * Copyright (C) 2005 by Ralf Baechle | ||||
5 | */ | ||||
6 | #include <asm/asm.h> | ||||
7 | #include <asm/regdef.h> | ||||
8 | #include <asm/stackframe.h> | ||||
9 | |||||
10 | .align 5 | ||||
11 | NESTED(qemu_handle_int, PT_SIZE, sp) | ||||
12 | SAVE_ALL | ||||
13 | CLI | ||||
14 | move a0, sp | ||||
15 | PTR_LA ra, ret_from_irq | ||||
16 | j do_qemu_int | ||||
17 | END(qemu_handle_int) |