Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2000 10:24:50 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Steve Price <sprice@hiwaay.net>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: porting Java to the alpha
Message-ID:  <Pine.BSF.4.21.0004221020560.62105-100000@salmon.nlsystems.com>
In-Reply-To: <Pine.OSF.4.21.0004212244200.28130-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004221020560.62105-100000>