Home | History | Annotate | Line # | Download | only in m68k
linux_sig_machdep.S revision 1.2.8.1
      1  1.2.8.1  wrstuden /*	$NetBSD: linux_sig_machdep.S,v 1.2.8.1 1999/12/27 18:34:25 wrstuden 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.2.8.1  wrstuden 	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