summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu/q-int.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-03 15:56:11 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:06:04 -0700
commit07119621e62de0a2c8db6e4896e762c498bfdd17 (patch)
treec62dd52e8072235c8148e7f31b16ed30c5e45343 /arch/mips/qemu/q-int.S
parent7901c7998267d9d8c3f1b226a8c8cfd7f8e48a01 (diff)
downloadop-kernel-dev-07119621e62de0a2c8db6e4896e762c498bfdd17.zip
op-kernel-dev-07119621e62de0a2c8db6e4896e762c498bfdd17.tar.gz
[PATCH] mips: add support for Qemu system architecture
Add support for the virtual MIPS system that is emulated by Qemu. See http://www.linux-mips.org/wiki/Qemu for a detailed current status. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/qemu/q-int.S')
-rw-r--r--arch/mips/qemu/q-int.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-int.S b/arch/mips/qemu/q-int.S
new file mode 100644
index 0000000..6e3dfe5
--- /dev/null
+++ b/arch/mips/qemu/q-int.S
@@ -0,0 +1,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)
OpenPOWER on IntegriCloud