Author: lupus
Date: 2005-03-22 12:38:51 -0500 (Tue, 22 Mar 2005)
New Revision: 42122

Modified:
   trunk/mono/mono/mini/ChangeLog
   trunk/mono/mono/mini/exceptions-ppc.c
   trunk/mono/mono/mini/tramp-ppc.c
Log:


Tue Mar 22 19:03:17 CET 2005 Paolo Molaro <[EMAIL PROTECTED]>

        * tramp-ppc.c, exceptions-ppc.c: added missing icache flush
        calls (fixes bug#72824).



Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog      2005-03-22 16:25:59 UTC (rev 42121)
+++ trunk/mono/mono/mini/ChangeLog      2005-03-22 17:38:51 UTC (rev 42122)
@@ -1,4 +1,9 @@
 
+Tue Mar 22 19:03:17 CET 2005 Paolo Molaro <[EMAIL PROTECTED]>
+
+       * tramp-ppc.c, exceptions-ppc.c: added missing icache flush
+       calls (fixes bug#72824).
+
 Tue Mar 22 16:28:48 CET 2005 Paolo Molaro <[EMAIL PROTECTED]>
 
        * mini.c: fix tail recursion elimination (see test in bug#73936).

Modified: trunk/mono/mono/mini/exceptions-ppc.c
===================================================================
--- trunk/mono/mono/mini/exceptions-ppc.c       2005-03-22 16:25:59 UTC (rev 
42121)
+++ trunk/mono/mono/mini/exceptions-ppc.c       2005-03-22 17:38:51 UTC (rev 
42122)
@@ -199,6 +199,7 @@
        ppc_break (code);
 
        g_assert ((code - start) < sizeof(start));
+       mono_arch_flush_icache (start, code - start);
        return start;
 }
 
@@ -268,6 +269,7 @@
        ppc_blr (code);
 
        g_assert ((code - start) < sizeof(start));
+       mono_arch_flush_icache (start, code - start);
        return start;
 }
 
@@ -371,6 +373,7 @@
        /* we should never reach this breakpoint */
        ppc_break (code);
        g_assert ((code - start) < size);
+       mono_arch_flush_icache (start, code - start);
        return start;
 }
 

Modified: trunk/mono/mono/mini/tramp-ppc.c
===================================================================
--- trunk/mono/mono/mini/tramp-ppc.c    2005-03-22 16:25:59 UTC (rev 42121)
+++ trunk/mono/mono/mini/tramp-ppc.c    2005-03-22 17:38:51 UTC (rev 42122)
@@ -537,6 +537,7 @@
        if (notification_address)
                *notification_address = buf;
        ppc_blr (buf);
+       mono_arch_flush_icache (ptr, buf - ptr);
 
        return ptr;
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to