Subject: Re: svr4_ucontext_t et al - usable?
To: Christos Zoulas <christos@zoulas.com>
From: Simon J. Gerraty <sjg@quick.com.au>
List: tech-kern
Date: 02/10/1999 23:48:06
Christos,
>>I'm still running 1.3.x - I'd like the JDK to be able to run on
>>that... mind you, 1.4 might be out before I finish this port :-)
>>

>Someone is working to provide get and set context calls for native netbsd.
>In the meantime, you can add the svr4 ones to kern/syscall.master...

Is there any way to call these svr4 syscalls without hacking the kernel?
Eg via syscall() ?

I would prefer not to ship a jdk that needs a kernel hack or even 
an lkm. But if that's the only way... 

I guess I first need to see what {get,set}context do on a non-threaded
system like NetBSD that setjmp,longjmp don't.  The *BSD JDK 1.x ports also 
save the floating point state, perhaps that's all we need for now.

--sjg