[kaffe] CVS kaffe (inaba): Macro def SIGNAL_ARGS is added. It is used for arm/netbsd1 port.

Kaffe CVS cvs-commits at kaffe.org
Sat Apr 14 00:56:05 PDT 2007


PatchSet 7475 
Date: 2007/04/14 07:54:30
Author: inaba
Branch: HEAD
Tag: (none) 
Log:
Macro def SIGNAL_ARGS is added. It is used for arm/netbsd1 port.
Note: This fallback should not be thought ideal, porters SHALL define
	proper def for SIGNAL_ARGS in corresponding 'md.h'.

Members: 
	ChangeLog:1.4974->1.4975 
	kaffe/kaffevm/systems/unix-pthreads/signal.c:1.26->1.27 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4974 kaffe/ChangeLog:1.4975
--- kaffe/ChangeLog:1.4974	Wed Apr  4 15:53:01 2007
+++ kaffe/ChangeLog	Sat Apr 14 07:54:30 2007
@@ -1,3 +1,9 @@
+2007-04-14 Kiyo Inaba <inaba at src.ricoh.co.jp>
+
+	* kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c: Add macro
+	definition SIGNAL_ARGS, if it has not been defined in 'md.h'.
+	This is needed for the effortless intrp port (like arm/netbsd1).
+
 2007-04-04 Ito Kazumitsu  <kaz at maczuka.gcd.org>
 
 	* kaffe/kaffevm/readClass.c(readClass): Return NULL when to throw
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.26 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.27
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.26	Tue Sep 12 23:54:13 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c	Sat Apr 14 07:54:30 2007
@@ -39,6 +39,10 @@
 #define	EXCEPTIONFRAMEPTR	&frame
 #endif /* TRANSLATOR */
 
+#ifndef	SIGNAL_ARGS
+#define	SIGNAL_ARGS(sig, sc) int sig
+#endif
+
 #ifndef STACK_STRUCT
 #define STACK_STRUCT stack_t
 #endif



More information about the kaffe mailing list