frame.h (131948) | frame.h (153666) |
---|---|
1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/sparc64/include/frame.h 131948 2004-07-10 23:05:38Z marcel $ | 26 * $FreeBSD: head/sys/sparc64/include/frame.h 153666 2005-12-22 22:16:09Z jhb $ |
27 */ 28 29#ifndef _MACHINE_FRAME_H_ 30#define _MACHINE_FRAME_H_ 31 32#define RW_SHIFT 7 33#define SPOFF 2047 34#define BIAS SPOFF /* XXX - open/netbsd compat */ --- 22 unchanged lines hidden (view full) --- 57}; 58#define tf_sp tf_out[6] 59 60#define TF_DONE(tf) do { \ 61 tf->tf_tpc = tf->tf_tnpc; \ 62 tf->tf_tnpc += 4; \ 63} while (0) 64 | 27 */ 28 29#ifndef _MACHINE_FRAME_H_ 30#define _MACHINE_FRAME_H_ 31 32#define RW_SHIFT 7 33#define SPOFF 2047 34#define BIAS SPOFF /* XXX - open/netbsd compat */ --- 22 unchanged lines hidden (view full) --- 57}; 58#define tf_sp tf_out[6] 59 60#define TF_DONE(tf) do { \ 61 tf->tf_tpc = tf->tf_tnpc; \ 62 tf->tf_tnpc += 4; \ 63} while (0) 64 |
65struct clockframe { 66 struct trapframe cf_tf; 67}; 68 | |
69struct frame { 70 u_long fr_local[8]; 71 u_long fr_in[8]; 72 u_long fr_pad[8]; 73}; 74#define fr_arg fr_in 75#define fr_fp fr_in[6] 76#define fr_pc fr_in[7] --- 17 unchanged lines hidden --- | 65struct frame { 66 u_long fr_local[8]; 67 u_long fr_in[8]; 68 u_long fr_pad[8]; 69}; 70#define fr_arg fr_in 71#define fr_fp fr_in[6] 72#define fr_pc fr_in[7] --- 17 unchanged lines hidden --- |