Deleted Added
full compact
frame.h (83366) frame.h (86146)
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 83366 2001-09-12 08:38:13Z julian $
26 * $FreeBSD: head/sys/sparc64/include/frame.h 86146 2001-11-06 20:13:44Z tmm $
27 */
28
29#ifndef _MACHINE_FRAME_H_
30#define _MACHINE_FRAME_H_
31
32#define SPOFF 2047
33
34struct trapframe {
35 u_long tf_global[8];
36 u_long tf_out[8];
37 u_long tf_pil;
38 u_long tf_tnpc;
39 u_long tf_tpc;
40 u_long tf_tstate;
41 u_long tf_type;
42 u_long tf_wstate;
43 uintptr_t tf_arg;
44};
45#define tf_sp tf_out[6]
27 */
28
29#ifndef _MACHINE_FRAME_H_
30#define _MACHINE_FRAME_H_
31
32#define SPOFF 2047
33
34struct trapframe {
35 u_long tf_global[8];
36 u_long tf_out[8];
37 u_long tf_pil;
38 u_long tf_tnpc;
39 u_long tf_tpc;
40 u_long tf_tstate;
41 u_long tf_type;
42 u_long tf_wstate;
43 uintptr_t tf_arg;
44};
45#define tf_sp tf_out[6]
46
47#define TF_DONE(tf) do { \
48 tf->tf_tpc = tf->tf_tnpc; \
49 tf->tf_tnpc += 4; \
50} while (0)
46
47struct mmuframe {
48 u_long mf_sfar;
49 u_long mf_sfsr;
50 u_long mf_tar;
51};
52
53struct kdbframe {

--- 37 unchanged lines hidden ---
51
52struct mmuframe {
53 u_long mf_sfar;
54 u_long mf_sfsr;
55 u_long mf_tar;
56};
57
58struct kdbframe {

--- 37 unchanged lines hidden ---