PatchSet 4517 
Date: 2004/03/13 17:41:56
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed clear cache problem on m68k-linux

2004-03-13  Dalibor Topic <[EMAIL PROTECTED]>

        * config/m68k/jit.h:
        (FLUSH_DCACHE): Use gcc's CACHE_INSN_CLEAR macro.

        * config/m68j/cache-clear.h:
        New file, taken from gcc's CVS. Licensed under GPL.

Members: 
        ChangeLog:1.2096->1.2097 
        config/m68k/jit.h:1.11->1.12 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2096 kaffe/ChangeLog:1.2097
--- kaffe/ChangeLog:1.2096      Sat Mar 13 16:52:34 2004
+++ kaffe/ChangeLog     Sat Mar 13 17:41:56 2004
@@ -1,3 +1,11 @@
+2004-03-13  Dalibor Topic <[EMAIL PROTECTED]>
+
+       * config/m68k/jit.h:
+       (FLUSH_DCACHE): Use gcc's CACHE_INSN_CLEAR macro.
+
+       * config/m68j/cache-clear.h:
+       New file, taken from gcc's CVS. Licensed under GPL.
+
 2004-03-12  Riccardo Mottola <[EMAIL PROTECTED]>,
            Michael Koch  <[EMAIL PROTECTED]>
 
Index: kaffe/config/m68k/jit.h
diff -u kaffe/config/m68k/jit.h:1.11 kaffe/config/m68k/jit.h:1.12
--- kaffe/config/m68k/jit.h:1.11        Tue Dec 23 17:26:32 2003
+++ kaffe/config/m68k/jit.h     Sat Mar 13 17:41:58 2004
@@ -18,6 +18,8 @@
 #ifndef __m68k_jit_h
 #define __m68k_jit_h
 
+#include "clear-cache.h"
+
 /**/
 /* Exception handling information. */
 /**/
@@ -191,7 +193,8 @@
 
    For those with 020's and 030's, this is effectively a no-op.  */
 
-#define FLUSH_DCACHE(beg,end)  __clear_cache((beg), (end))
+/* For now, let's try to use gcc's own macro */
+#define FLUSH_DCACHE(beg,end)  CLEAR_INSN_CACHE((beg),(end))
 
 
 #endif

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to