Handle T_RESET, otherwise DIAGNOSTIC kernels panic.

This commit is contained in:
christos 1996-06-05 19:30:43 +00:00
parent 38c8b72648
commit 207d85a1cc
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.c,v 1.17 1996/03/31 23:45:39 pk Exp $ */ /* $NetBSD: svr4_machdep.c,v 1.18 1996/06/05 19:30:43 christos Exp $ */
/* /*
* Copyright (c) 1994 Christos Zoulas * Copyright (c) 1994 Christos Zoulas
@ -349,6 +349,10 @@ svr4_getsiginfo(si, sig, code, addr)
si->si_trap = code; si->si_trap = code;
switch (code) { switch (code) {
case T_RESET:
si->si_code = 0;
break;
case T_TEXTFAULT: case T_TEXTFAULT:
si->si_code = SVR4_BUS_ADRALN; si->si_code = SVR4_BUS_ADRALN;
break; break;