Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa in sendsig(), set tf->tf_iisq_* as well, ...



details:   https://anonhg.NetBSD.org/src/rev/db30fd91f001
branches:  trunk
changeset: 580748:db30fd91f001
user:      chs <chs%NetBSD.org@localhost>
date:      Sat May 07 14:27:14 2005 +0000

description:
in sendsig(), set tf->tf_iisq_* as well, since a thread might take a signal
while it's executing in the gateway page.

diffstat:

 sys/arch/hppa/hppa/sig_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1a1a160d751b -r db30fd91f001 sys/arch/hppa/hppa/sig_machdep.c
--- a/sys/arch/hppa/hppa/sig_machdep.c  Sat May 07 14:24:14 2005 +0000
+++ b/sys/arch/hppa/hppa/sig_machdep.c  Sat May 07 14:27:14 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sig_machdep.c,v 1.12 2005/05/01 19:19:25 chs Exp $     */
+/*     $NetBSD: sig_machdep.c,v 1.13 2005/05/07 14:27:14 chs Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.12 2005/05/01 19:19:25 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.13 2005/05/07 14:27:14 chs Exp $");
 
 #include "opt_compat_netbsd.h"
 
@@ -215,6 +215,7 @@
        tf->tf_arg2 = (__greg_t)&fp->sf_uc;
        tf->tf_r3 = (__greg_t)&fp->sf_uc;
 
+       tf->tf_iisq_head = tf->tf_iisq_tail = l->l_addr->u_pcb.pcb_space;
        tf->tf_iioq_head =
                (__greg_t)ps->sa_sigdesc[sig].sd_tramp | HPPA_PC_PRIV_USER;
        tf->tf_iioq_tail = tf->tf_iioq_head + 4;



Home | Main Index | Thread Index | Old Index