entry.S (f4091322d7397c8eb85c071570cab0e82ee3e261) | entry.S (20ecc91c3230b747cd13d9a2f43a45f6445a3906) |
---|---|
1/* -*- mode: asm -*- 2 * 3 * linux/arch/m68k/kernel/entry.S 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 * 7 * This file is subject to the terms and conditions of the GNU General Public 8 * License. See the file README.legal in the main directory of this archive --- 30 unchanged lines hidden (view full) --- 39#include <asm/segment.h> 40#include <asm/traps.h> 41#include <asm/unistd.h> 42#include <asm/asm-offsets.h> 43#include <asm/entry.h> 44 45.globl system_call, buserr, trap, resume 46.globl sys_call_table | 1/* -*- mode: asm -*- 2 * 3 * linux/arch/m68k/kernel/entry.S 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 * 7 * This file is subject to the terms and conditions of the GNU General Public 8 * License. See the file README.legal in the main directory of this archive --- 30 unchanged lines hidden (view full) --- 39#include <asm/segment.h> 40#include <asm/traps.h> 41#include <asm/unistd.h> 42#include <asm/asm-offsets.h> 43#include <asm/entry.h> 44 45.globl system_call, buserr, trap, resume 46.globl sys_call_table |
47.globl sys_fork, sys_clone, sys_vfork | 47.globl __sys_fork, __sys_clone, __sys_vfork |
48.globl ret_from_interrupt, bad_interrupt 49.globl auto_irqhandler_fixup 50.globl user_irqvec_fixup 51 52.text | 48.globl ret_from_interrupt, bad_interrupt 49.globl auto_irqhandler_fixup 50.globl user_irqvec_fixup 51 52.text |
53ENTRY(sys_fork) | 53ENTRY(__sys_fork) |
54 SAVE_SWITCH_STACK | 54 SAVE_SWITCH_STACK |
55 pea %sp@(SWITCH_STACK_SIZE) 56 jbsr m68k_fork 57 addql #4,%sp 58 RESTORE_SWITCH_STACK | 55 jbsr sys_fork 56 lea %sp@(24),%sp |
59 rts 60 | 57 rts 58 |
61ENTRY(sys_clone) | 59ENTRY(__sys_clone) |
62 SAVE_SWITCH_STACK 63 pea %sp@(SWITCH_STACK_SIZE) 64 jbsr m68k_clone | 60 SAVE_SWITCH_STACK 61 pea %sp@(SWITCH_STACK_SIZE) 62 jbsr m68k_clone |
65 addql #4,%sp 66 RESTORE_SWITCH_STACK | 63 lea %sp@(28),%sp |
67 rts 68 | 64 rts 65 |
69ENTRY(sys_vfork) | 66ENTRY(__sys_vfork) |
70 SAVE_SWITCH_STACK | 67 SAVE_SWITCH_STACK |
71 pea %sp@(SWITCH_STACK_SIZE) 72 jbsr m68k_vfork 73 addql #4,%sp 74 RESTORE_SWITCH_STACK | 68 jbsr sys_vfork 69 lea %sp@(24),%sp |
75 rts 76 77ENTRY(sys_sigreturn) 78 SAVE_SWITCH_STACK 79 jbsr do_sigreturn 80 RESTORE_SWITCH_STACK 81 rts 82 --- 378 unchanged lines hidden --- | 70 rts 71 72ENTRY(sys_sigreturn) 73 SAVE_SWITCH_STACK 74 jbsr do_sigreturn 75 RESTORE_SWITCH_STACK 76 rts 77 --- 378 unchanged lines hidden --- |