xref: /netbsd-src/sys/compat/linux/arch/m68k/linux_sig_machdep.S (revision 2859f66b8f2985ed9eb467d198dea2b0ad626764)
1*2859f66bSthorpej/*	$NetBSD: linux_sig_machdep.S,v 1.3 1999/11/11 01:27:59 thorpej Exp $	*/
20176ca73Sitohy
30176ca73Sitohy/*
40176ca73Sitohy * Written by ITOH Yasufumi.
50176ca73Sitohy * Public domain.
60176ca73Sitohy */
70176ca73Sitohy
80176ca73Sitohy#include <m68k/asm.h>
90176ca73Sitohy#include <compat/linux/linux_syscall.h>
100176ca73Sitohy
110176ca73Sitohy/*
120176ca73Sitohy * Signal "trampoline" code for Linux emulation.
130176ca73Sitohy * The sigtramp for Linux/m68k is on the stack frame, and this is a dummy.
140176ca73Sitohy */
150176ca73Sitohy	.align	2
160176ca73SitohyGLOBAL(linux_sigcode)
17*2859f66bSthorpej	moveq	#LINUX_SYS_exit,%d0	| _exit(?)
180176ca73Sitohy	trap	#0
190176ca73Sitohy	.align	2
200176ca73SitohyGLOBAL(linux_esigcode)
21