[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>
This commit is contained in:
committed by
Linus Torvalds
parent
7901c79982
commit
07119621e6
17
arch/mips/qemu/q-int.S
Normal file
17
arch/mips/qemu/q-int.S
Normal file
@@ -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)
|
Reference in New Issue
Block a user