[kaffe] Kaffe CVS: kaffe jim

Kaffe CVS kaffe@kaffe.org
Wed, 29 May 2002 12:46:24 -0700


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	jim	02/05/29 12:46:24

Modified files:
	.              : ChangeLog 
	config         : Makefile.am Makefile.in config-setjmp.h 
	kaffe/kaffe    : main.c 
	kaffe/kaffevm  : exception.c exception.h jni.c 
	kaffe/kaffevm/systems/unix-jthreads: jthread.c jthread.h 
	kaffe/scripts  : kaffe.in 

Log message:
* kaffe/kaffe/main.c:
(options) recognize support for -ia32 option.
(usage) print usage info for ia32 option.

* kaffe/kaffevm/systems/unix-jthreads/jthread.c: add ia64 specific
macros for backing store pointers.
(jthread_create) Adjust stack size. Handle backing store pointers
and split stacks.
(reschedule) Adjust context switch handling.

* kaffe/kaffevm/systems/unix-jthreads/jthread.h: Adapt jthread
struct.

* kaffe/kaffevm/jni.c:
(Kaffe_JNIExceptionHandler) Adapt to use JTHREAD_ACCESS_JMPBUF.

* kaffe/kaffevm/exception.c:
(dispatchException) Adapt to use JTHREAD_ACCESS_JMPBUF.

* kaffe/kaffevm/exception.h: Adapt vmException struct.

* kaffe/scripts/kaffe.in: Handle -ia32 option on ia64.

* config/Makefile.am: Add files for ia64 platform.

* config/ia64/common.h: new file.

* config/ia64/linux/config.frag: new file.

* config/ia64/linux/md.c: new file.

* config/ia64/linux/md.h: new file.

* config/ia64/sysdepCallMethod.h: new file.

* config/ia64/threads.h: new file.

* config/Makefile.in: add files for ia64 platform.

* config/config-setjmp.h: add JTHREAD_DECLARE_JMPBUF and
JTHREAD_ACCESS_JMPBUF macros.

Patch by Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.

The ia64 port.  I haven't tested it, but I was able to apply the
patch cleanly, and it doesn't seem to break the other compiles.  Thanks
to Dalibor for preparing the patch and sending it to me.