From owner-freebsd-alpha Sat Apr 22 2:19:25 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 1779D37B516 for ; Sat, 22 Apr 2000 02:19:23 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 12iw4N-000FIC-0U; Sat, 22 Apr 2000 10:19:19 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id KAA63336; Sat, 22 Apr 2000 10:28:07 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 22 Apr 2000 10:24:50 +0100 (BST) From: Doug Rabson To: Steve Price Cc: freebsd-alpha@freebsd.org Subject: Re: porting Java to the alpha In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 21 Apr 2000, Steve Price wrote: > Hi all, > > I have a wild hair to spend some time (but no promises as > to how much) porting JDK2 to the alpha. A couple of questions > come to mind immediately after doing some work on the i386 > port. > > 1) What are the contents of sigjmp_buf._sjb[*]? Any pointers > to some good Alpha assembly language docs would be great > as I'd really like to understand the contents of > src/lib/libc/alpha/gen/{,sig}setjmp.S. > 2) Is there any state that I need to worry about maintaining > when switching contexts that {,sig}setjmp and {,sig}longjmp > don't already do for me? I know the Alpha doesn't have > FP registers, but for instance on the i386 you have to > (re)store the FPU mask when switching contexts. Anything like > this on the Alpha that I should be aware of? > > TIA. The jmp_buf formats should be the same as struct sigcontext. Note that this *does* include FPU registers and FP control register but that for efficiency, setjmp only saves registers which are preserved over function calls. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message