#endif
}
+/* _ovly_debug_event:
+ * Debuggers may set a breakpoint here, to be notified
+ * when the overlay table has been modified.
+ */
+static void
+_ovly_debug_event (void)
+{
+}
+
/* OverlayLoad:
* Copy the overlay into its runtime region,
* and mark the overlay as "mapped".
_ovly_table[ovlyno][SIZE]);
FlushCache ();
-
+ _ovly_debug_event ();
return TRUE;
}
_ovly_table[ovlyno][VMA],
_ovly_table[ovlyno][SIZE]);
+ _ovly_debug_event ();
return TRUE;
}
static void
ovly_copy (unsigned long dst, unsigned long src, long size)
{
-#ifdef __M32R__
- memcpy ((void *) dst, (void *) src, size);
- return;
-#endif /* M32R */
-
#ifdef __D10V__
unsigned long *s, *d, tmp;
short dmap_src, dmap_dst;
D10VTranslate (dst, &dmap_dst, &d);
}
DMAP = dmap_save;
+#else
+ memcpy ((void *) dst, (void *) src, size);
#endif /* D10V */
+ return;
}