OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [glibc/] [sysdeps/] [openrisc/] [or32/] [setjmp.S] - Blame information for rev 1781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1534 robertmh
/* setjmp for OR32.
2
 
3
   Copyright (C) 1995-1997, 1999-2001, 2005 Free Software Foundation, Inc.
4
   Contributed by ???? FIXME.
5
   This file is part of the GNU C Library.
6
 
7
   The GNU C Library is free software; you can redistribute it and/or
8
   modify it under the terms of the GNU Lesser General Public
9
   License as published by the Free Software Foundation; either
10
   version 2.1 of the License, or (at your option) any later version.
11
 
12
   The GNU C Library is distributed in the hope that it will be useful,
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
   Lesser General Public License for more details.
16
 
17
   You should have received a copy of the GNU Lesser General Public
18
   License along with the GNU C Library; if not, write to the Free
19
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20
   02111-1307 USA.  */
21
 
22
#include 
23
#define _ASM
24
#define _SETJMP_H
25
#include 
26
#include 
27
 
28
ENTRY (BP_SYM (__sigsetjmp))
29
 
30
#       l.mfspr r11,r0,SPR_SR
31
#       l.sw    (JB_SR*4)(r3),r11
32
        l.sw    ((JB_GPRS+0)*4)(r3),r1
33
        l.sw    ((JB_GPRS+1)*4)(r3),r2
34
        l.sw    ((JB_GPRS+2)*4)(r3),r3
35
        l.sw    ((JB_GPRS+3)*4)(r3),r4
36
        l.sw    ((JB_GPRS+4)*4)(r3),r6
37
        l.sw    ((JB_GPRS+5)*4)(r3),r5
38
        l.sw    ((JB_GPRS+6)*4)(r3),r7
39
        l.sw    ((JB_GPRS+7)*4)(r3),r8
40
        l.sw    ((JB_GPRS+8)*4)(r3),r9
41
        l.sw    ((JB_GPRS+9)*4)(r3),r10
42
        l.sw    ((JB_GPRS+10)*4)(r3),r11
43
        l.sw    ((JB_GPRS+11)*4)(r3),r12
44
        l.sw    ((JB_GPRS+12)*4)(r3),r13
45
        l.sw    ((JB_GPRS+13)*4)(r3),r14
46
        l.sw    ((JB_GPRS+14)*4)(r3),r15
47
        l.sw    ((JB_GPRS+15)*4)(r3),r16
48
        l.sw    ((JB_GPRS+16)*4)(r3),r17
49
        l.sw    ((JB_GPRS+17)*4)(r3),r18
50
        l.sw    ((JB_GPRS+18)*4)(r3),r19
51
        l.sw    ((JB_GPRS+19)*4)(r3),r20
52
        l.sw    ((JB_GPRS+20)*4)(r3),r21
53
        l.sw    ((JB_GPRS+21)*4)(r3),r22
54
        l.sw    ((JB_GPRS+22)*4)(r3),r23
55
        l.sw    ((JB_GPRS+23)*4)(r3),r24
56
        l.sw    ((JB_GPRS+24)*4)(r3),r25
57
        l.sw    ((JB_GPRS+25)*4)(r3),r26
58
        l.sw    ((JB_GPRS+26)*4)(r3),r27
59
        l.sw    ((JB_GPRS+27)*4)(r3),r28
60
        l.sw    ((JB_GPRS+28)*4)(r3),r29
61
        l.sw    ((JB_GPRS+29)*4)(r3),r30
62
        l.sw    ((JB_GPRS+30)*4)(r3),r31
63
        l.j     JUMPTARGET (BP_SYM (__sigjmp_save))
64
        l.nop
65
 
66
END (BP_SYM (__sigsetjmp))

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.