2
* linux/arch/m68knommu/kernel/entry.S
4
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
5
* Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
6
* Kenneth Albanowski <kjahds@kjahds.com>,
7
* Copyright (C) 2000 Lineo Inc. (www.lineo.com)
11
* linux/arch/m68k/kernel/entry.S
13
* Copyright (C) 1991, 1992 Linus Torvalds
15
* This file is subject to the terms and conditions of the GNU General Public
16
* License. See the file README.legal in the main directory of this archive
19
* Linux/m68k support by Hamish Macdonald
21
* 68060 fixes by Jesper Skov
22
* ColdFire support by Greg Ungerer (gerg@snapgear.com)
23
* 5307 fixes by David W. Miller
24
* linux 2.4 support David McCullough <davidm@snapgear.com>
27
#include <linux/sys.h>
28
#include <linux/linkage.h>
29
#include <asm/errno.h>
30
#include <asm/setup.h>
31
#include <asm/segment.h>
32
#include <asm/asm-offsets.h>
33
#include <asm/entry.h>
34
#include <asm/unistd.h>
40
.globl ret_from_exception
41
.globl ret_from_signal
49
movel %d0,%sp@(PT_OFF_ORIG_D0)
50
movel %sp,%sp@- /* stack frame pointer argument */
53
jra ret_from_exception
58
movel %d0,%sp@(PT_OFF_ORIG_D0)
59
movel %sp,%sp@- /* stack frame pointer argument */
62
jra ret_from_exception
64
#ifdef TRAP_DBG_INTERRUPT
70
movel %d0,%sp@(PT_OFF_ORIG_D0)
71
movel %sp,%sp@- /* stack frame pointer argument */
74
jra ret_from_exception
78
/* save top of frame */
82
pea ret_from_exception
89
jra ret_from_exception
93
pea %sp@(SWITCH_STACK_SIZE)
101
pea %sp@(SWITCH_STACK_SIZE)
109
pea %sp@(SWITCH_STACK_SIZE)
121
ENTRY(sys_rt_sigreturn)
127
ENTRY(ret_from_user_signal)
128
moveq #__NR_sigreturn,%d0
131
ENTRY(ret_from_user_rt_signal)
132
movel #__NR_rt_sigreturn,%d0