From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 23 13:24:39 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D51816A4CE; Thu, 23 Sep 2004 13:24:39 +0000 (GMT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E57843D45; Thu, 23 Sep 2004 13:24:38 +0000 (GMT) (envelope-from bel@orel.ru) Received: from orel.ru (lg.orel.ru [62.33.11.59]) by tts.orel.ru (8.12.10/8.12.10/bel) with ESMTP id i8NDOYBm030978; Thu, 23 Sep 2004 17:24:35 +0400 Message-ID: <4152CE93.4050908@orel.ru> Date: Thu, 23 Sep 2004 17:24:35 +0400 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD sparc64; en-US; rv:1.6) Gecko/20040407 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Daniel Eischen References: In-Reply-To: X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Zombi-Check: on netra2.orel.ru cc: freebsd-sparc64@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Bug in kse_switchin()? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 13:24:39 -0000 Daniel Eischen wrote: > On Thu, 23 Sep 2004, Andrew Belashov wrote: > > >>Daniel Eischen wrote: >> >>>Wouldn't you also see same behavior (bugs) in other things, like >>>getcontext(), setcontext(), and swapcontext() (kern_context.c)? >> >>No. uap structure is not used after set_mcontext(). > > > Have you tried copying the uap (flags, tmbx) before setting > the context and using the copy thereafter? Yes. It solves a problem in this place. However libkse does not work again...