Home | History | Annotate | Line # | Download | only in m68k
linux_sig_machdep.S revision 1.3
      1  1.3  thorpej /*	$NetBSD: linux_sig_machdep.S,v 1.3 1999/11/11 01:27:59 thorpej Exp $	*/
      2  1.1    itohy 
      3  1.1    itohy /*
      4  1.1    itohy  * Written by ITOH Yasufumi.
      5  1.1    itohy  * Public domain.
      6  1.1    itohy  */
      7  1.1    itohy 
      8  1.1    itohy #include <m68k/asm.h>
      9  1.1    itohy #include <compat/linux/linux_syscall.h>
     10  1.1    itohy 
     11  1.1    itohy /*
     12  1.1    itohy  * Signal "trampoline" code for Linux emulation.
     13  1.1    itohy  * The sigtramp for Linux/m68k is on the stack frame, and this is a dummy.
     14  1.1    itohy  */
     15  1.1    itohy 	.align	2
     16  1.1    itohy GLOBAL(linux_sigcode)
     17  1.3  thorpej 	moveq	#LINUX_SYS_exit,%d0	| _exit(?)
     18  1.1    itohy 	trap	#0
     19  1.1    itohy 	.align	2
     20  1.1    itohy GLOBAL(linux_esigcode)
     21