author | Mark J. Nelson <Mark.J.Nelson@Sun.COM> |
Wed, 06 Aug 2008 16:29:39 -0600 | |
changeset 7298 | b69e27387f74 |
parent 0 | 68f95e015346 |
permissions | -rw-r--r-- |
0 | 1 |
! |
2 |
! Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
|
3 |
! Use is subject to license terms. |
|
4 |
! |
|
5 |
! CDDL HEADER START |
|
6 |
! |
|
7 |
! The contents of this file are subject to the terms of the |
|
8 |
! Common Development and Distribution License, Version 1.0 only |
|
9 |
! (the "License"). You may not use this file except in compliance |
|
10 |
! with the License. |
|
11 |
! |
|
12 |
! You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
13 |
! or http://www.opensolaris.org/os/licensing. |
|
14 |
! See the License for the specific language governing permissions |
|
15 |
! and limitations under the License. |
|
16 |
! |
|
17 |
! When distributing Covered Code, include this CDDL HEADER in each |
|
18 |
! file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
19 |
! If applicable, add the following below this CDDL HEADER, with the |
|
20 |
! fields enclosed by brackets "[]" replaced with your own identifying |
|
21 |
! information: Portions Copyright [yyyy] [name of copyright owner] |
|
22 |
! |
|
23 |
! CDDL HEADER END |
|
24 |
! |
|
7298
b69e27387f74
6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents:
0
diff
changeset
|
25 |
|
b69e27387f74
6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents:
0
diff
changeset
|
26 |
.file "sparc_assm.s" |
0 | 27 |
.section ".data" |
28 |
.align 4 |
|
29 |
.global prb_callinfo |
|
30 |
prb_callinfo: |
|
31 |
.word 0 ! offset |
|
32 |
.word 2 ! shift right |
|
33 |
.word 0x3fffffff ! mask |
|
34 |
||
35 |
.section ".text" |
|
36 |
.align 4 |
|
37 |
.global prb_chain_entry |
|
38 |
.global prb_chain_down |
|
39 |
.global prb_chain_next |
|
40 |
.global prb_chain_end |
|
41 |
.local chain_down |
|
42 |
.local chain_next |
|
43 |
prb_chain_entry: |
|
44 |
save %sp, -80, %sp |
|
45 |
or %i0, %g0, %o0 |
|
46 |
or %i1, %g0, %o1 |
|
47 |
prb_chain_down: |
|
48 |
chain_down: |
|
49 |
call chain_down |
|
50 |
or %i2, %g0, %o2 |
|
51 |
prb_chain_next: |
|
52 |
chain_next: |
|
53 |
call chain_next |
|
54 |
restore %g0, %g0, %g0 |
|
55 |
prb_chain_end: |
|
56 |
nop |