Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch setjmp, longjmp are moved to sh3/locore_subr.S
details: https://anonhg.NetBSD.org/src/rev/2fe5a4c234dd
branches: trunk
changeset: 522617:2fe5a4c234dd
user: uch <uch%NetBSD.org@localhost>
date: Fri Feb 22 19:45:31 2002 +0000
description:
setjmp,longjmp are moved to sh3/locore_subr.S
diffstat:
sys/arch/dreamcast/dreamcast/locore.s | 38 +----------------------------------
sys/arch/evbsh3/evbsh3/locore.s | 37 +---------------------------------
sys/arch/hpcsh/hpcsh/locore.s | 38 +----------------------------------
sys/arch/mmeye/mmeye/locore.s | 38 +----------------------------------
4 files changed, 4 insertions(+), 147 deletions(-)
diffs (207 lines):
diff -r 4699590303ef -r 2fe5a4c234dd sys/arch/dreamcast/dreamcast/locore.s
--- a/sys/arch/dreamcast/dreamcast/locore.s Fri Feb 22 19:43:58 2002 +0000
+++ b/sys/arch/dreamcast/dreamcast/locore.s Fri Feb 22 19:45:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.12 2002/02/19 17:21:19 uch Exp $ */
+/* $NetBSD: locore.s,v 1.13 2002/02/22 19:45:33 uch Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@@ -467,42 +467,6 @@
.globl _C_LABEL(esigcode)
_C_LABEL(esigcode):
-/*****************************************************************************/
-
-ENTRY(setjmp)
- add #4*9, r4
- mov.l r8, @-r4
- mov.l r9, @-r4
- mov.l r10, @-r4
- mov.l r11, @-r4
- mov.l r12, @-r4
- mov.l r13, @-r4
- mov.l r14, @-r4
- mov.l r15, @-r4
- sts.l pr, @-r4
- rts
- xor r0, r0
-
-ENTRY(longjmp)
- lds.l @r4+, pr
- mov.l @r4+, r15
- mov.l @r4+, r14
- mov.l @r4+, r13
- mov.l @r4+, r12
- mov.l @r4+, r11
- mov.l @r4+, r10
- mov.l @r4+, r9
- mov.l @r4+, r8
- mov r5, r0
- tst r0, r0
- bf .L0
- add #1, r0
-.L0:
- rts
- nop
-
-/*****************************************************************************/
-
/*
* The following primitives manipulate the run queues.
* _whichqs tells which of the 32 queues _qs
diff -r 4699590303ef -r 2fe5a4c234dd sys/arch/evbsh3/evbsh3/locore.s
--- a/sys/arch/evbsh3/evbsh3/locore.s Fri Feb 22 19:43:58 2002 +0000
+++ b/sys/arch/evbsh3/evbsh3/locore.s Fri Feb 22 19:45:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.36 2002/02/19 17:21:19 uch Exp $ */
+/* $NetBSD: locore.s,v 1.37 2002/02/22 19:45:31 uch Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@@ -468,41 +468,6 @@
.globl _C_LABEL(esigcode)
_C_LABEL(esigcode):
-/*****************************************************************************/
-
-ENTRY(setjmp)
- add #4*9, r4
- mov.l r8, @-r4
- mov.l r9, @-r4
- mov.l r10, @-r4
- mov.l r11, @-r4
- mov.l r12, @-r4
- mov.l r13, @-r4
- mov.l r14, @-r4
- mov.l r15, @-r4
- sts.l pr, @-r4
- rts
- xor r0, r0
-
-ENTRY(longjmp)
- lds.l @r4+, pr
- mov.l @r4+, r15
- mov.l @r4+, r14
- mov.l @r4+, r13
- mov.l @r4+, r12
- mov.l @r4+, r11
- mov.l @r4+, r10
- mov.l @r4+, r9
- mov.l @r4+, r8
- mov r5, r0
- tst r0, r0
- bf .L0
- add #1, r0
-.L0:
- rts
- nop
-
-/*****************************************************************************/
/*
* The following primitives manipulate the run queues.
diff -r 4699590303ef -r 2fe5a4c234dd sys/arch/hpcsh/hpcsh/locore.s
--- a/sys/arch/hpcsh/hpcsh/locore.s Fri Feb 22 19:43:58 2002 +0000
+++ b/sys/arch/hpcsh/hpcsh/locore.s Fri Feb 22 19:45:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.13 2002/02/19 17:21:20 uch Exp $ */
+/* $NetBSD: locore.s,v 1.14 2002/02/22 19:45:32 uch Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@@ -330,42 +330,6 @@
.globl _C_LABEL(esigcode)
_C_LABEL(esigcode):
-/*****************************************************************************/
-
-ENTRY(setjmp)
- add #4*9, r4
- mov.l r8, @-r4
- mov.l r9, @-r4
- mov.l r10, @-r4
- mov.l r11, @-r4
- mov.l r12, @-r4
- mov.l r13, @-r4
- mov.l r14, @-r4
- mov.l r15, @-r4
- sts.l pr, @-r4
- rts
- xor r0, r0
-
-ENTRY(longjmp)
- lds.l @r4+, pr
- mov.l @r4+, r15
- mov.l @r4+, r14
- mov.l @r4+, r13
- mov.l @r4+, r12
- mov.l @r4+, r11
- mov.l @r4+, r10
- mov.l @r4+, r9
- mov.l @r4+, r8
- mov r5, r0
- tst r0, r0
- bf .L0
- add #1, r0
-.L0:
- rts
- nop
-
-/*****************************************************************************/
-
/*
* The following primitives manipulate the run queues.
* _whichqs tells which of the 32 queues _qs
diff -r 4699590303ef -r 2fe5a4c234dd sys/arch/mmeye/mmeye/locore.s
--- a/sys/arch/mmeye/mmeye/locore.s Fri Feb 22 19:43:58 2002 +0000
+++ b/sys/arch/mmeye/mmeye/locore.s Fri Feb 22 19:45:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.24 2002/02/19 17:21:20 uch Exp $ */
+/* $NetBSD: locore.s,v 1.25 2002/02/22 19:45:32 uch Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995, 1997
@@ -415,42 +415,6 @@
.globl _C_LABEL(esigcode)
_C_LABEL(esigcode):
-/*****************************************************************************/
-
-ENTRY(setjmp)
- add #4*9, r4
- mov.l r8, @-r4
- mov.l r9, @-r4
- mov.l r10, @-r4
- mov.l r11, @-r4
- mov.l r12, @-r4
- mov.l r13, @-r4
- mov.l r14, @-r4
- mov.l r15, @-r4
- sts.l pr, @-r4
- rts
- xor r0, r0
-
-ENTRY(longjmp)
- lds.l @r4+, pr
- mov.l @r4+, r15
- mov.l @r4+, r14
- mov.l @r4+, r13
- mov.l @r4+, r12
- mov.l @r4+, r11
- mov.l @r4+, r10
- mov.l @r4+, r9
- mov.l @r4+, r8
- mov r5, r0
- tst r0, r0
- bf .L0
- add #1, r0
-.L0:
- rts
- nop
-
-/*****************************************************************************/
-
/*
* The following primitives manipulate the run queues.
* _whichqs tells which of the 32 queues _qs
Home |
Main Index |
Thread Index |
Old Index