[kaffe] CVS kaffe (gb): 64-bit fix to detectStackBoundaries().

Kaffe CVS cvs-commits at kaffe.org
Thu Jul 8 03:48:34 PDT 2004


PatchSet 4909 
Date: 2004/07/08 10:41:39
Author: gb
Branch: HEAD
Tag: (none) 
Log:
64-bit fix to detectStackBoundaries().

Members: 
	ChangeLog:1.2475->1.2476 
	kaffe/kaffevm/systems/unix-jthreads/signal.c:1.21->1.22 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2475 kaffe/ChangeLog:1.2476
--- kaffe/ChangeLog:1.2475	Thu Jul  8 10:00:07 2004
+++ kaffe/ChangeLog	Thu Jul  8 10:41:39 2004
@@ -1,3 +1,9 @@
+2004-07-08  Gwenole Beauchesne  <gbeauchesne at mandrakesoft.com>
+
+	* kaffe/kaffevm/systems/unix-jthreads/signal.c
+	(detectStackBoundaries): Fix initialization of guessPointer on
+	64-bit platforms.
+
 2004-07-08  Helmer Kraemer  <hkraemer at freenet.de>
 
 	* libraries/clib/native/System.c (java_lang_System_initProperties): 
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.21 kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.22
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.21	Mon Jul  5 16:40:49 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c	Thu Jul  8 10:41:41 2004
@@ -474,7 +474,7 @@
 	
 	if (JTHREAD_SETJMP(outOfLoop) == 0)
 	{
-	  unsigned int pageSize = getpagesize();
+	  uintp pageSize = getpagesize();
 
 	  guessPointer = (char *)((uintp)(&jtid) & ~(pageSize-1));
 	  




More information about the kaffe mailing list