1
linux/arch/m68k/lib
Greg Ungerer f230e80b42 m68k: fix memcpy to unmatched/unaligned source and dest on 68000
The original 68000 processors cannot copy 16bit or larger quantities from
odd addresses. All newer members of the 68k family (including ColdFire)
can do this.

In the current memcpy implementation after trying to align the destination
address to a 16bit boundary if we end up with an odd source address we go
off and try to copy multi-byte quantities from it. This will trap on the
68000.

The only solution if we end with an odd source address is to byte wise
copy the whole memcpy region. We only need to do this if we are supporting
original 68000 processors.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2011-10-18 14:22:24 +10:00
..
ashldi3.c
ashrdi3.c
checksum_mm.c
checksum_no.c m68knommu: move EXPORT of local checksumming functions to definitions 2011-05-24 10:03:51 +10:00
divsi3.S
lshrdi3.c
Makefile m68k: merge and clean up delay.h files 2011-07-25 11:20:41 +10:00
memcpy.c m68k: fix memcpy to unmatched/unaligned source and dest on 68000 2011-10-18 14:22:24 +10:00
memmove.c m68k: remove duplicate memmove() implementation 2011-05-24 10:03:49 +10:00
memset.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
modsi3.S
muldi3.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
mulsi3.S
string.c m68k: remove duplicate memcpy() implementation 2011-05-24 10:03:49 +10:00
uaccess.c
udivsi3.S
umodsi3.S