Deleted Added
full compact
frame.h (66714) frame.h (92761)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)frame.h 5.2 (Berkeley) 1/18/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)frame.h 5.2 (Berkeley) 1/18/91
37 * $FreeBSD: head/sys/amd64/include/frame.h 66714 2000-10-06 01:57:28Z jhb $
37 * $FreeBSD: head/sys/amd64/include/frame.h 92761 2002-03-20 05:48:58Z alfred $
38 */
39
40#ifndef _MACHINE_FRAME_H_
41#define _MACHINE_FRAME_H_ 1
42
43/*
44 * System stack frames.
45 */

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

148 int cf_eip;
149 int cf_cs;
150 int cf_eflags;
151 /* below only when crossing rings (e.g. user to kernel) */
152 int cf_esp;
153 int cf_ss;
154};
155
38 */
39
40#ifndef _MACHINE_FRAME_H_
41#define _MACHINE_FRAME_H_ 1
42
43/*
44 * System stack frames.
45 */

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

148 int cf_eip;
149 int cf_cs;
150 int cf_eflags;
151 /* below only when crossing rings (e.g. user to kernel) */
152 int cf_esp;
153 int cf_ss;
154};
155
156int kdb_trap __P((int, int, struct trapframe *));
157extern int (*pmath_emulate) __P((struct trapframe *));
156int kdb_trap(int, int, struct trapframe *);
157extern int (*pmath_emulate)(struct trapframe *);
158
159#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
160
161#endif /* _MACHINE_FRAME_H_ */
158
159#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
160
161#endif /* _MACHINE_FRAME_H_ */