[kaffe] CVS kaffe (dalibor): Merged in i386-darwin port

Kaffe CVS cvs-commits at kaffe.org
Thu Aug 5 10:32:52 PDT 2004


PatchSet 5040 
Date: 2004/08/04 20:23:47
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Merged in i386-darwin port

2004-08-04  Michael Franz <developer.franz at verizon.net>

        config/i386/darwin/config.frag,
        config/i386/darwin/md.c,
        config/i386/darwin/md.h:
        New files.

2004-08-04  Dalibor Topic  <robilad at kaffe.org>

        * config/Makefile.am (EXTRA_DIST): Added i386-darwin files.

        * config/Makefile.in: Regenerated.

Members: 
	ChangeLog:1.2598->1.2599 
	config/Makefile.am:1.47->1.48 
	config/Makefile.in:1.151->1.152 
	config/i386/darwin/config.frag:INITIAL->1.1 
	config/i386/darwin/md.c:INITIAL->1.1 
	config/i386/darwin/md.h:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2598 kaffe/ChangeLog:1.2599
--- kaffe/ChangeLog:1.2598	Wed Aug  4 18:38:14 2004
+++ kaffe/ChangeLog	Wed Aug  4 20:23:47 2004
@@ -1,3 +1,16 @@
+2004-08-04  Michael Franz <developer.franz at verizon.net>
+	
+	config/i386/darwin/config.frag,
+	config/i386/darwin/md.c,
+	config/i386/darwin/md.h:
+	New files.
+
+2004-08-04  Dalibor Topic  <robilad at kaffe.org>
+
+	* config/Makefile.am (EXTRA_DIST): Added i386-darwin files.
+
+	* config/Makefile.in: Regenerated.
+
 2004-08-04  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/clib/nio/SelectorImpl.c: Added missing includes.
Index: kaffe/config/Makefile.am
diff -u kaffe/config/Makefile.am:1.47 kaffe/config/Makefile.am:1.48
--- kaffe/config/Makefile.am:1.47	Wed Jul 14 14:37:33 2004
+++ kaffe/config/Makefile.am	Wed Aug  4 20:23:57 2004
@@ -129,6 +129,9 @@
 	i386/cygwin32/jit-md.h \
 	i386/cygwin32/md.c \
 	i386/cygwin32/md.h \
+	i386/darwin/config.frag \
+	i386/darwin/md.c \
+	i386/darwin/md.h \
 	i386/dgux/config.frag \
 	i386/dgux/jit-md.h \
 	i386/dgux/md.c \
Index: kaffe/config/Makefile.in
diff -u kaffe/config/Makefile.in:1.151 kaffe/config/Makefile.in:1.152
--- kaffe/config/Makefile.in:1.151	Fri Jul 30 11:06:16 2004
+++ kaffe/config/Makefile.in	Wed Aug  4 20:23:58 2004
@@ -447,6 +447,9 @@
 	i386/cygwin32/jit-md.h \
 	i386/cygwin32/md.c \
 	i386/cygwin32/md.h \
+	i386/darwin/config.frag \
+	i386/darwin/md.c \
+	i386/darwin/md.h \
 	i386/dgux/config.frag \
 	i386/dgux/jit-md.h \
 	i386/dgux/md.c \
@@ -790,7 +793,7 @@
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
 distdir: $(DISTFILES)
-	$(mkdir_p) $(distdir)/alpha $(distdir)/alpha/linux $(distdir)/alpha/netbsd1 $(distdir)/alpha/osf $(distdir)/arm $(distdir)/arm/linux $(distdir)/arm/netbsd1 $(distdir)/arm/riscos $(distdir)/i386 $(distdir)/i386/beos $(distdir)/i386/bsdi $(distdir)/i386/cygwin32 $(distdir)/i386/dgux $(distdir)/i386/freebsd2 $(distdir)/i386/gnu $(distdir)/i386/linux $(distdir)/i386/netbsd1 $(distdir)/i386/nextstep3 $(distdir)/i386/openbsd2 $(distdir)/i386/oskit $(distdir)/i386/qnx $(distdir)/i386/sco3.2v5 $(distdir)/i386/solaris2 $(distdir)/i386/univel_svr4 $(distdir)/i386/win32 $(distdir)/ia64 $(distdir)/ia64/linux $(distdir)/m68k $(distdir)/m68k/a-ux $(distdir)/m68k/amigaos $(distdir)/m68k/linux $(distdir)/m68k/netbsd1 $(distdir)/m68k/nextstep3 $(distdir)/m68k/openbsd2 $(distdir)/m68k/sunos4 $(distdir)/mips $(distdir)/mips/irix5 $(distdir)/mips/linux $(distdir)/mips/netbsd1 $(distdir)/mips/ultrix4 $(distdir)/parisc $(distdir)/parisc/hpux $(distdir)/parisc/linux $(distdir)/powerpc $(distdir)/powerpc/aix $(distdir)/powerpc/darwin $(distdir)/powerpc/linux $(distdir)/powerpc/machten $(distdir)/powerpc/netbsd1 $(distdir)/s390 $(distdir)/s390/linux $(distdir)/sh $(distdir)/sh/linux $(distdir)/sparc $(distdir)/sparc/bsdi3 $(distdir)/sparc/linux $(distdir)/sparc/netbsd1 $(distdir)/sparc/nextstep3 $(distdir)/sparc/openbsd2 $(distdir)/sparc/solaris2 $(distdir)/sparc/sunos4 $(distdir)/sparc/uxpds $(distdir)/x86_64 $(distdir)/x86_64/linux
+	$(mkdir_p) $(distdir)/alpha $(distdir)/alpha/linux $(distdir)/alpha/netbsd1 $(distdir)/alpha/osf $(distdir)/arm $(distdir)/arm/linux $(distdir)/arm/netbsd1 $(distdir)/arm/riscos $(distdir)/i386 $(distdir)/i386/beos $(distdir)/i386/bsdi $(distdir)/i386/cygwin32 $(distdir)/i386/darwin $(distdir)/i386/dgux $(distdir)/i386/freebsd2 $(distdir)/i386/gnu $(distdir)/i386/linux $(distdir)/i386/netbsd1 $(distdir)/i386/nextstep3 $(distdir)/i386/openbsd2 $(distdir)/i386/oskit $(distdir)/i386/qnx $(distdir)/i386/sco3.2v5 $(distdir)/i386/solaris2 $(distdir)/i386/univel_svr4 $(distdir)/i386/win32 $(distdir)/ia64 $(distdir)/ia64/linux $(distdir)/m68k $(distdir)/m68k/a-ux $(distdir)/m68k/amigaos $(distdir)/m68k/linux $(distdir)/m68k/netbsd1 $(distdir)/m68k/nextstep3 $(distdir)/m68k/openbsd2 $(distdir)/m68k/sunos4 $(distdir)/mips $(distdir)/mips/irix5 $(distdir)/mips/linux $(distdir)/mips/netbsd1 $(distdir)/mips/ultrix4 $(distdir)/parisc $(distdir)/parisc/hpux $(distdir)/parisc/linux $(distdir)/powerpc $(distdir)/powerpc/aix $(distdir)/powerpc/darwin $(distdir)/powerpc/linux $(distdir)/powerpc/machten $(distdir)/powerpc/netbsd1 $(distdir)/s390 $(distdir)/s390/linux $(distdir)/sh $(distdir)/sh/linux $(distdir)/sparc $(distdir)/sparc/bsdi3 $(distdir)/sparc/linux $(distdir)/sparc/netbsd1 $(distdir)/sparc/nextstep3 $(distdir)/sparc/openbsd2 $(distdir)/sparc/solaris2 $(distdir)/sparc/sunos4 $(distdir)/sparc/uxpds $(distdir)/x86_64 $(distdir)/x86_64/linux
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 	list='$(DISTFILES)'; for file in $$list; do \
===================================================================
Checking out kaffe/config/i386/darwin/config.frag
RCS:  /home/cvs/kaffe/kaffe/config/i386/darwin/config.frag,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/config/i386/darwin/config.frag	Thu Aug  5 17:32:49 2004
@@ -0,0 +1,7 @@
+#
+# Darwin x86) configuration
+#
+Khost_cpu=i386
+Khost_os=darwin
+
+CFLAGS="$CFLAGS -fsigned-char"
===================================================================
Checking out kaffe/config/i386/darwin/md.c
RCS:  /home/cvs/kaffe/kaffe/config/i386/darwin/md.c,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/config/i386/darwin/md.c	Thu Aug  5 17:32:51 2004
@@ -0,0 +1,13 @@
+/*
+ * i386/darwin/md.c
+ * Darwin x86 specific functions.
+ *
+ * Copyright (c) 2001
+ *	Edouard G. Parmelan.  All rights reserved.
+ *
+ * Copyright (c) 2001
+ *	Transvirtual Technologies, Inc.  All rights reserved.
+ *
+ * See the file "license.terms" for information on usage and redistribution
+ * of this file.
+ */
===================================================================
Checking out kaffe/config/i386/darwin/md.h
RCS:  /home/cvs/kaffe/kaffe/config/i386/darwin/md.h,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/config/i386/darwin/md.h	Thu Aug  5 17:32:51 2004
@@ -0,0 +1,60 @@
+/*
+ * i386/darwin/md.h
+ * Darwin x86 configuration information.
+ *
+ * Copyright (c) 2001
+ *	Edouard G. Parmelan.  All rights reserved.
+ *
+ * Copyright (c) 2001
+ *	Transvirtual Technologies, Inc.  All rights reserved.
+ *
+ * See the file "license.terms" for information on usage and redistribution
+ * of this file.
+ */
+
+#ifndef __i386_darwin_md_h
+#define __i386_darwin_md_h
+
+#include "i386/common.h"
+#include "i386/threads.h"
+
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
+#if defined(HAVE_SYS_RESOURCE_H)
+#include <sys/resource.h>
+#endif
+
+#undef SP_OFFSET
+#define SP_OFFSET	9
+
+#if defined(SA_SIGINFO)
+#define SIGNAL_ARGS(sig, sc) int sig, siginfo_t *sc
+#define SIGNAL_CONTEXT_POINTER(scp) siginfo_t *scp
+#define GET_SIGNAL_CONTEXT_POINTER(sc) (sc)
+#define SIGNAL_PC(scp) 0
+#define STACK_POINTER(scp) ((scp)->si_addr)
+#else
+
+#undef HAVE_SIGALTSTACK
+#if defined(HAVE_SYS_SIGNAL_H)
+#include <sys/signal.h>
+typedef struct sigcontext sigcontext_t;
+#endif
+
+typedef struct  sigaltstack stack_t;
+#define SIGNAL_ARGS(sig, sc) int sig, sigcontext_t *sc
+#define SIGNAL_CONTEXT_POINTER(scp) sigcontext_t *scp
+#define GET_SIGNAL_CONTEXT_POINTER(sc) (sc)
+#define SIGNAL_PC(scp) ((scp)->sc_ir)
+#define STACK_POINTER(scp) ((scp)->sc_sp)
+#endif
+
+#define DARWIN
+
+#include "kaffe-unix-stack.h"
+
+#endif




More information about the kaffe mailing list