* src/vm/jit/alpha/md.c (md_dcacheflush): Added dummy function.
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Fri, 7 Sep 2007 22:46:55 +0000 (00:46 +0200)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Fri, 7 Sep 2007 22:46:55 +0000 (00:46 +0200)
* src/vm/jit/arm/md.c (md_dcacheflush): Does nothing now.

--HG--
branch : michi
extra : transplant_source : %8B%25%E9X%176%1D%82%1A%881J%D2%E0%C2%40w%F3%15%EC

src/vm/jit/alpha/md.c
src/vm/jit/arm/md.c

index c069ebbe32371fd01d2d1a56b21a55f1550c1c61..6cd2f4c144c41af25d7c237a43c90037ca0818dd 100644 (file)
@@ -277,6 +277,18 @@ void md_icacheflush(u1 *addr, s4 nbytes)
 }
 
 
+/* md_dcacheflush **************************************************************
+
+   Calls the system's function to flush the data cache.
+
+*******************************************************************************/
+
+void md_dcacheflush(u1 *addr, s4 nbytes)
+{
+       /* do nothing */
+}
+
+
 /* md_patch_replacement_point **************************************************
 
    Patch the given replacement point.
index 5d89dd8a6d85ba3d63b036422fb13cc1824a7d16..a994a8dd8ad6de9bf60f9e07bbb55154efe86e52 100644 (file)
@@ -235,7 +235,7 @@ void md_icacheflush(u1 *addr, s4 nbytes)
 
 void md_dcacheflush(u1 *addr, s4 nbytes)
 {
-       asm_cacheflush(addr, nbytes);
+       /* do nothing */
 }