From owner-freebsd-ia64 Tue Oct 9 0:41: 2 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id F220937B408; Tue, 9 Oct 2001 00:40:59 -0700 (PDT) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 15qrVa-000Jho-0B; Tue, 9 Oct 2001 07:40:58 +0000 Received: from salmon.nlsystems.com (salmon [10.0.0.3]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f997dh755117; Tue, 9 Oct 2001 08:39:43 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Tue, 9 Oct 2001 08:38:16 +0100 (BST) From: Doug Rabson To: John Baldwin Cc: Subject: Re: ast() patch In-Reply-To: Message-ID: <20011009083627.G530-100000@salmon.nlsystems.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 8 Oct 2001, John Baldwin wrote: > Ok, now that you all have gotten ia64 farther along, perhaps one of you can > test and fix this patch to make the kernel call ast() when returing to > userland. This should fix things like SIGARLM, userland profiling, and a few > other nits: > > http://www.freebsd.org/~jhb/ia64_ast.patch This can't possibly work. At this point, the processor is running with interrupts and interrupt collection disabled. It also has data translation turned off. In this state, we can't risk calling any normal code because we can't cope with any exceptions. You will have to arrange to call ast() before the 'rsm psr.ic|...' line. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message