diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-02-03 21:46:18 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-02-03 21:46:18 +0000 |
commit | 19b9190fb34b936890906fd805a7d59481c75532 (patch) | |
tree | b91f893fdaaf6ab34104748759b32c61a29981b5 /sys/arch | |
parent | b03fde9d17e6ce81198a1dd1b8578627cca0e60b (diff) |
closer to NetBSD 1.65
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sun3/sun3/trap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/sun3/sun3/trap.c b/sys/arch/sun3/sun3/trap.c index 6f4e1cd4bbb..5cf49706448 100644 --- a/sys/arch/sun3/sun3/trap.c +++ b/sys/arch/sun3/sun3/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.10 1997/02/03 21:30:15 kstailey Exp $ */ +/* $OpenBSD: trap.c,v 1.11 1997/02/03 21:46:17 kstailey Exp $ */ /* $NetBSD: trap.c,v 1.63-1.65ish 1997/01/16 15:41:40 gwr Exp $ */ /* @@ -86,6 +86,8 @@ int nodb_trap __P((int type, struct frame *)); int astpending; int want_resched; +static void userret __P((struct proc *, struct frame *, u_quad_t)); + char *trap_type[] = { "Bus error", "Address error", @@ -115,9 +117,10 @@ short exframesize[] = { FMT0SIZE, /* type 0 - normal (68020/030/040/060) */ FMT1SIZE, /* type 1 - throwaway (68020/030/040) */ FMT2SIZE, /* type 2 - normal 6-word (68020/030/040/060) */ - -1, /* type 3 - FP post-instruction (68040/060) */ - -1, -1, -1, /* type 4-6 - undefined */ - -1, /* type 7 - access error (68040) */ + FMT3SIZE, /* type 3 - FP post-instruction (68040/060) */ + FMT4SIZE, /* type 4 - access error/fp disabled (68060) */ + -1, -1, /* type 5-6 - undefined */ + FMT7SIZE, /* type 7 - access error (68040) */ 58, /* type 8 - bus fault (68010) */ FMT9SIZE, /* type 9 - coprocessor mid-instruction (68020/030) */ FMTASIZE, /* type A - short bus fault (68020/030) */ @@ -140,9 +143,6 @@ int mmupid = -1; #define MDB_CPFAULT 8 #endif -static void userret __P((struct proc *, struct frame *, u_quad_t)); - - /* * trap and syscall both need the following work done before * returning to user mode. |