Deleted Added
full compact
frame.h (202175) frame.h (229677)
1/* $OpenBSD: frame.h,v 1.3 1998/09/15 10:50:12 pefo Exp $ */
2
3/*-
4 * Copyright (c) 1998 Per Fogelstrom, Opsycon AB
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * JNPR: frame.h,v 1.6.2.1 2007/09/10 08:14:57 girish
1/* $OpenBSD: frame.h,v 1.3 1998/09/15 10:50:12 pefo Exp $ */
2
3/*-
4 * Copyright (c) 1998 Per Fogelstrom, Opsycon AB
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * JNPR: frame.h,v 1.6.2.1 2007/09/10 08:14:57 girish
34 * $FreeBSD: head/sys/mips/include/frame.h 202175 2010-01-12 21:36:08Z imp $
34 * $FreeBSD: head/sys/mips/include/frame.h 229677 2012-01-06 01:23:26Z gonzo $
35 *
36 */
37#ifndef _MACHINE_FRAME_H_
38#define _MACHINE_FRAME_H_
39
40struct trapframe {
41 register_t zero;
42 register_t ast;

--- 74 unchanged lines hidden (view full) ---

117 f_register_t f26;
118 f_register_t f27;
119 f_register_t f28;
120 f_register_t f29;
121 f_register_t f30;
122 f_register_t f31;
123 register_t fsr;
124 register_t fdummy;
35 *
36 */
37#ifndef _MACHINE_FRAME_H_
38#define _MACHINE_FRAME_H_
39
40struct trapframe {
41 register_t zero;
42 register_t ast;

--- 74 unchanged lines hidden (view full) ---

117 f_register_t f26;
118 f_register_t f27;
119 f_register_t f28;
120 f_register_t f29;
121 f_register_t f30;
122 f_register_t f31;
123 register_t fsr;
124 register_t fdummy;
125 /*
126 * COP2 registers may need to be saved here based on the CPU, and those
127 * might need to be per process, or even for the kernel, so we need
128 * some thought here.
129 */
130};
131
132/* REVISIT */
133struct frame *get_current_fp(void);
134#define get_next_fp(fp) (0)
135#define get_return_ptr(fp) (0)
136void get_stack_trace(u_int32_t depth, u_int32_t *trace);
137
138#endif /* !_MACHINE_FRAME_H_ */
125};
126
127/* REVISIT */
128struct frame *get_current_fp(void);
129#define get_next_fp(fp) (0)
130#define get_return_ptr(fp) (0)
131void get_stack_trace(u_int32_t depth, u_int32_t *trace);
132
133#endif /* !_MACHINE_FRAME_H_ */