[kaffe] CVS kaffe (dalibor): Removed FLUSH_DCACHE for netbsd-sparc, use common sparc one instead

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sun Mar 21 13:57:02 2004


PatchSet 4554 
Date: 2004/03/21 21:53:59
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed FLUSH_DCACHE for netbsd-sparc, use common sparc one instead

2004-03-21  Dalibor Topic <robilad@kaffe.org>

        * config/sparc/netbsd1/jit-md.h:
        (FLUSH_DCACHE): Removed. Use the common sparc
        cache flush routine.

Members: 
	ChangeLog:1.2132->1.2133 
	config/sparc/netbsd1/jit-md.h:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2132 kaffe/ChangeLog:1.2133
--- kaffe/ChangeLog:1.2132	Sun Mar 21 21:26:11 2004
+++ kaffe/ChangeLog	Sun Mar 21 21:53:59 2004
@@ -1,5 +1,11 @@
 2004-03-21  Dalibor Topic <robilad@kaffe.org>
 
+	* config/sparc/netbsd1/jit-md.h:
+	(FLUSH_DCACHE): Removed. Use the common sparc
+	cache flush routine.
+
+2004-03-21  Dalibor Topic <robilad@kaffe.org>
+
 	Resynced with GNU Classpath.
 
 	2004-03-20  Jeroen Frijters  <jeroen@frijters.net>
Index: kaffe/config/sparc/netbsd1/jit-md.h
diff -u kaffe/config/sparc/netbsd1/jit-md.h:1.1 kaffe/config/sparc/netbsd1/jit-md.h:1.2
--- kaffe/config/sparc/netbsd1/jit-md.h:1.1	Tue Mar 31 19:10:53 1998
+++ kaffe/config/sparc/netbsd1/jit-md.h	Sun Mar 21 21:54:01 2004
@@ -17,16 +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. */
 /**/