[kaffe] Does not work on FreeBSD 5.1-RELEASE

Guilhem Lavaux guilhem at kaffe.org
Mon Jul 12 23:35:42 PDT 2004


Ito Kazumitsu wrote:

>>>>>>":" == Ito Kazumitsu <kaz at maczuka.gcd.org> writes:
>>>>>>            
>>>>>>
>
>:> I am afraid some recent changes have made kaffe unusable on
>:> FreeBSD 5.1-RELEASE.
>
>As far as I know, the last CVS version that worked on FreeBSD 5.1-RELEASE
>is the one whose ChangeLog head is:
>
>   2004-07-07  Dalibor Topic  <robilad at kaffe.org>
>
>  
>

Thanks ! Could you try the attached patch ? I think I've just forgotten 
to update semantics in md.h/md.c

Cheers,

Guilhem.
-------------- next part --------------
Index: config/i386/freebsd2/md.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/i386/freebsd2/md.h,v
retrieving revision 1.14
diff -u -r1.14 md.h
--- config/i386/freebsd2/md.h	7 Jun 2004 19:14:17 -0000	1.14
+++ config/i386/freebsd2/md.h	13 Jul 2004 06:39:02 -0000
@@ -69,8 +69,8 @@
 #include "kaffe-unix-stack.h"
 
 #if defined(HAVE_SYS_SYSCTL_H)
-#define KAFFEMD_STACKBASE
-extern void *mdGetStackBase(void);
+#define KAFFEMD_STACKEND
+extern void *mdGetStackEnd(void);
 #endif
 
 #endif
Index: config/i386/freebsd2/md.c
===================================================================
RCS file: /cvs/kaffe/kaffe/config/i386/freebsd2/md.c,v
retrieving revision 1.3
diff -u -r1.3 md.c
--- config/i386/freebsd2/md.c	9 May 2004 15:07:14 -0000	1.3
+++ config/i386/freebsd2/md.c	13 Jul 2004 06:39:02 -0000
@@ -16,7 +16,7 @@
 #if defined(HAVE_SYS_SYSCTL_H)
 #include <sys/sysctl.h>
 
-void *mdGetStackBase(void)
+void *mdGetStackEnd(void)
 {
     int control_name[2] =
       { CTL_KERN, KERN_USRSTACK};


More information about the kaffe mailing list