[kaffe] CVS kaffe (robilad): only declare flush_dcache on arm for jit engine

Kaffe CVS cvs-commits at kaffe.org
Sun Jan 27 17:01:29 PST 2008


PatchSet 7722 
Date: 2008/01/28 00:59:32
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
only declare flush_dcache on arm for jit engine

2008-01-27  Dalibor Topic  <robilad at kaffe.org>

        * config/arm/netbsd1/md.c,
        config/arm/riscos/md.c (flush_dcache): Only
        declare for JIT engine.

Members: 
	ChangeLog:1.5223->1.5224 
	config/arm/netbsd1/md.c:1.3->1.4 
	config/arm/riscos/md.c:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5223 kaffe/ChangeLog:1.5224
--- kaffe/ChangeLog:1.5223	Mon Jan 28 00:57:24 2008
+++ kaffe/ChangeLog	Mon Jan 28 00:59:32 2008
@@ -1,5 +1,11 @@
 2008-01-27  Dalibor Topic  <robilad at kaffe.org>
 
+	* config/arm/netbsd1/md.c,
+	config/arm/riscos/md.c (flush_dcache): Only
+        declare for JIT engine.
+
+2008-01-27  Dalibor Topic  <robilad at kaffe.org>
+
 	* libltdl/.cvsignore: Removed.
 
 2008-01-25  Dalibor Topic  <robilad at kaffe.org>
Index: kaffe/config/arm/netbsd1/md.c
diff -u kaffe/config/arm/netbsd1/md.c:1.3 kaffe/config/arm/netbsd1/md.c:1.4
--- kaffe/config/arm/netbsd1/md.c:1.3	Sat Oct 16 03:16:24 1999
+++ kaffe/config/arm/netbsd1/md.c	Mon Jan 28 00:59:33 2008
@@ -12,6 +12,7 @@
 #include "config.h"
 #include <malloc.h>
 
+#ifdef TRANSLATOR
 #define CACHE_SIZE (32 * 1024)
 #define LINE_SIZE sizeof(int)
 #define CACHE_LINES (CACHE_SIZE / LINE_SIZE)
@@ -27,3 +28,4 @@
         }
         /* sched_yield(); */
 }
+#endif
Index: kaffe/config/arm/riscos/md.c
diff -u kaffe/config/arm/riscos/md.c:1.1 kaffe/config/arm/riscos/md.c:1.2
--- kaffe/config/arm/riscos/md.c:1.1	Tue Feb 25 23:19:58 2003
+++ kaffe/config/arm/riscos/md.c	Mon Jan 28 00:59:34 2008
@@ -16,6 +16,7 @@
 	__feature_imagefs_is_file = 1;
 }
 
+#ifdef TRANSLATOR
 /* This may not be correct for all ARMs, e.g. XScale */
 #define CACHE_SIZE (32 * 1024)
 #define LINE_SIZE sizeof(int)
@@ -34,3 +35,4 @@
        /* Not a call we have yet */
 /*        sched_yield(); */
 }
+#endif




More information about the kaffe mailing list