[kaffe] CVS kaffe (dalibor): Removed sparc-openbsd specific FLUSH_DCACHE

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 2 14:42:03 PST 2004


PatchSet 4608 
Date: 2004/04/02 21:54:21
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed sparc-openbsd specific FLUSH_DCACHE

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

        * config/sparc/openbsd2/jit-md.h:
        (FLUSH_DCACHE) Removed, since the normal sparc macro works
        the same.

Members: 
	ChangeLog:1.2185->1.2186 
	config/sparc/openbsd2/jit-md.h:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2185 kaffe/ChangeLog:1.2186
--- kaffe/ChangeLog:1.2185	Fri Apr  2 21:27:49 2004
+++ kaffe/ChangeLog	Fri Apr  2 21:54:21 2004
@@ -1,3 +1,9 @@
+2004-04-02  Dalibor Topic <robilad at kaffe.org>
+
+	* config/sparc/openbsd2/jit-md.h:
+	(FLUSH_DCACHE) Removed, since the normal sparc macro works
+	the same.
+
 2004-04-02  Adam Heath <doogie at debian.org>
 
 	* kaffe/kaffeh/support.c, kaffe/kaffevm/classMethod.c
Index: kaffe/config/sparc/openbsd2/jit-md.h
diff -u kaffe/config/sparc/openbsd2/jit-md.h:1.2 kaffe/config/sparc/openbsd2/jit-md.h:1.3
--- kaffe/config/sparc/openbsd2/jit-md.h:1.2	Wed Aug 27 09:22:36 2003
+++ kaffe/config/sparc/openbsd2/jit-md.h	Fri Apr  2 21:54:23 2004
@@ -17,15 +17,6 @@
 /**/
 #include "sparc/jit.h"
 
-#undef	FLUSH_DCACHE
-#define	FLUSH_DCACHE(beg, end)						\
-	do {								\
-		int *_p = (int *)(beg), *_e = (int *)(end);		\
-		while (_p < _e) {					\
-			asm volatile("iflush %0+0" : : "r"(_p++));	\
-		}							\
-	} while (0)
-
 /**/
 /* Extra exception handling information. */
 /**/




More information about the kaffe mailing list