Deleted Added
full compact
trap.h (202698) trap.h (205360)
1/* $OpenBSD: trap.h,v 1.3 1999/01/27 04:46:06 imp Exp $ */
2
3/*-
4 * Copyright (c) 1988 University of Utah.
5 * Copyright (c) 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

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: Utah Hdr: trap.h 1.1 90/07/09
37 * from: @(#)trap.h 8.1 (Berkeley) 6/10/93
38 * JNPR: trap.h,v 1.3 2006/12/02 09:53:41 katta
1/* $OpenBSD: trap.h,v 1.3 1999/01/27 04:46:06 imp Exp $ */
2
3/*-
4 * Copyright (c) 1988 University of Utah.
5 * Copyright (c) 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

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

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: Utah Hdr: trap.h 1.1 90/07/09
37 * from: @(#)trap.h 8.1 (Berkeley) 6/10/93
38 * JNPR: trap.h,v 1.3 2006/12/02 09:53:41 katta
39 * $FreeBSD: head/sys/mips/include/trap.h 202698 2010-01-20 14:21:28Z neel $
39 * $FreeBSD: head/sys/mips/include/trap.h 205360 2010-03-20 05:07:15Z neel $
40 */
41
42#ifndef _MACHINE_TRAP_H_
43#define _MACHINE_TRAP_H_
44
45/*
46 * Trap codes also known in trap.c for name strings.
47 * Used for indexing so modify with care.

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

106
107#define trapdebug_enter(x, cd)
108
109#endif
110
111void MipsFPTrap(u_int, u_int, u_int);
112void MipsKernGenException(void);
113void MipsKernIntr(void);
40 */
41
42#ifndef _MACHINE_TRAP_H_
43#define _MACHINE_TRAP_H_
44
45/*
46 * Trap codes also known in trap.c for name strings.
47 * Used for indexing so modify with care.

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

106
107#define trapdebug_enter(x, cd)
108
109#endif
110
111void MipsFPTrap(u_int, u_int, u_int);
112void MipsKernGenException(void);
113void MipsKernIntr(void);
114void MipsKernTLBInvalidException(void);
114void MipsTLBInvalidException(void);
115void MipsTLBMissException(void);
116void MipsUserGenException(void);
117void MipsUserIntr(void);
115void MipsTLBMissException(void);
116void MipsUserGenException(void);
117void MipsUserIntr(void);
118void MipsUserTLBInvalidException(void);
119
120u_int trap(struct trapframe *);
121
122#ifndef LOCORE /* XXX */
123int check_address(void *);
124void platform_trap_enter(void);
125void platform_trap_exit(void);
126#endif
127
128#endif /* !_MACHINE_TRAP_H_ */
118
119u_int trap(struct trapframe *);
120
121#ifndef LOCORE /* XXX */
122int check_address(void *);
123void platform_trap_enter(void);
124void platform_trap_exit(void);
125#endif
126
127#endif /* !_MACHINE_TRAP_H_ */