ia64/linux-2.6.18-xen.hg

annotate arch/m68knommu/kernel/entry.S @ 854:950b9eb27661

usbback: fix urb interval value for interrupt urbs.

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 06 13:51:20 2009 +0100 (2009-04-06)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * linux/arch/m68knommu/kernel/entry.S
ian@0 3 *
ian@0 4 * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
ian@0 5 * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
ian@0 6 * Kenneth Albanowski <kjahds@kjahds.com>,
ian@0 7 * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
ian@0 8 *
ian@0 9 * Based on:
ian@0 10 *
ian@0 11 * linux/arch/m68k/kernel/entry.S
ian@0 12 *
ian@0 13 * Copyright (C) 1991, 1992 Linus Torvalds
ian@0 14 *
ian@0 15 * This file is subject to the terms and conditions of the GNU General Public
ian@0 16 * License. See the file README.legal in the main directory of this archive
ian@0 17 * for more details.
ian@0 18 *
ian@0 19 * Linux/m68k support by Hamish Macdonald
ian@0 20 *
ian@0 21 * 68060 fixes by Jesper Skov
ian@0 22 * ColdFire support by Greg Ungerer (gerg@snapgear.com)
ian@0 23 * 5307 fixes by David W. Miller
ian@0 24 * linux 2.4 support David McCullough <davidm@snapgear.com>
ian@0 25 */
ian@0 26
ian@0 27 #include <linux/sys.h>
ian@0 28 #include <linux/linkage.h>
ian@0 29 #include <asm/thread_info.h>
ian@0 30 #include <asm/errno.h>
ian@0 31 #include <asm/setup.h>
ian@0 32 #include <asm/segment.h>
ian@0 33 #include <asm/asm-offsets.h>
ian@0 34 #include <asm/entry.h>
ian@0 35
ian@0 36 .text
ian@0 37
ian@0 38 .globl buserr
ian@0 39 .globl trap
ian@0 40 .globl ret_from_exception
ian@0 41 .globl ret_from_signal
ian@0 42 .globl sys_fork
ian@0 43 .globl sys_clone
ian@0 44 .globl sys_vfork
ian@0 45
ian@0 46 ENTRY(buserr)
ian@0 47 SAVE_ALL
ian@0 48 moveq #-1,%d0
ian@0 49 movel %d0,%sp@(PT_ORIG_D0)
ian@0 50 movel %sp,%sp@- /* stack frame pointer argument */
ian@0 51 jsr buserr_c
ian@0 52 addql #4,%sp
ian@0 53 jra ret_from_exception
ian@0 54
ian@0 55 ENTRY(trap)
ian@0 56 SAVE_ALL
ian@0 57 moveq #-1,%d0
ian@0 58 movel %d0,%sp@(PT_ORIG_D0)
ian@0 59 movel %sp,%sp@- /* stack frame pointer argument */
ian@0 60 jsr trap_c
ian@0 61 addql #4,%sp
ian@0 62 jra ret_from_exception
ian@0 63
ian@0 64 #ifdef TRAP_DBG_INTERRUPT
ian@0 65
ian@0 66 .globl dbginterrupt
ian@0 67 ENTRY(dbginterrupt)
ian@0 68 SAVE_ALL
ian@0 69 moveq #-1,%d0
ian@0 70 movel %d0,%sp@(PT_ORIG_D0)
ian@0 71 movel %sp,%sp@- /* stack frame pointer argument */
ian@0 72 jsr dbginterrupt_c
ian@0 73 addql #4,%sp
ian@0 74 jra ret_from_exception
ian@0 75 #endif
ian@0 76
ian@0 77 ENTRY(reschedule)
ian@0 78 /* save top of frame */
ian@0 79 pea %sp@
ian@0 80 jbsr set_esp0
ian@0 81 addql #4,%sp
ian@0 82 pea ret_from_exception
ian@0 83 jmp schedule
ian@0 84
ian@0 85 ENTRY(ret_from_fork)
ian@0 86 movel %d1,%sp@-
ian@0 87 jsr schedule_tail
ian@0 88 addql #4,%sp
ian@0 89 jra ret_from_exception
ian@0 90
ian@0 91 ENTRY(sys_fork)
ian@0 92 SAVE_SWITCH_STACK
ian@0 93 pea %sp@(SWITCH_STACK_SIZE)
ian@0 94 jbsr m68k_fork
ian@0 95 addql #4,%sp
ian@0 96 RESTORE_SWITCH_STACK
ian@0 97 rts
ian@0 98
ian@0 99 ENTRY(sys_vfork)
ian@0 100 SAVE_SWITCH_STACK
ian@0 101 pea %sp@(SWITCH_STACK_SIZE)
ian@0 102 jbsr m68k_vfork
ian@0 103 addql #4,%sp
ian@0 104 RESTORE_SWITCH_STACK
ian@0 105 rts
ian@0 106
ian@0 107 ENTRY(sys_clone)
ian@0 108 SAVE_SWITCH_STACK
ian@0 109 pea %sp@(SWITCH_STACK_SIZE)
ian@0 110 jbsr m68k_clone
ian@0 111 addql #4,%sp
ian@0 112 RESTORE_SWITCH_STACK
ian@0 113 rts
ian@0 114
ian@0 115 ENTRY(sys_sigsuspend)
ian@0 116 SAVE_SWITCH_STACK
ian@0 117 pea %sp@(SWITCH_STACK_SIZE)
ian@0 118 jbsr do_sigsuspend
ian@0 119 addql #4,%sp
ian@0 120 RESTORE_SWITCH_STACK
ian@0 121 rts
ian@0 122
ian@0 123 ENTRY(sys_rt_sigsuspend)
ian@0 124 SAVE_SWITCH_STACK
ian@0 125 pea %sp@(SWITCH_STACK_SIZE)
ian@0 126 jbsr do_rt_sigsuspend
ian@0 127 addql #4,%sp
ian@0 128 RESTORE_SWITCH_STACK
ian@0 129 rts
ian@0 130
ian@0 131 ENTRY(sys_sigreturn)
ian@0 132 SAVE_SWITCH_STACK
ian@0 133 jbsr do_sigreturn
ian@0 134 RESTORE_SWITCH_STACK
ian@0 135 rts
ian@0 136
ian@0 137 ENTRY(sys_rt_sigreturn)
ian@0 138 SAVE_SWITCH_STACK
ian@0 139 jbsr do_rt_sigreturn
ian@0 140 RESTORE_SWITCH_STACK
ian@0 141 rts
ian@0 142