kernel-fxtec-pro1x/arch/m68k/lib
Greg Ungerer e08d703cc2 m68k: modify user space access functions to support ColdFire CPUs
Modify the user space access functions to support the ColdFire V4e cores
running with MMU enabled.

The ColdFire processors do not support the "moves" instruction used by
the traditional 680x0 processors for moving data into and out of another
address space. They only support the notion of a single address space,
and you use the usual "move" instruction to access that.

Create a new config symbol (CONFIG_CPU_HAS_ADDRESS_SPACES) to mark the
CPU types that support separate address spaces, and thus also support
the sfc/dfc registers and the "moves" instruction that go along with that.

The code is almost identical for user space access, so lets just use a
define to choose either the "move" or "moves" in the assembler code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-12-30 10:20:21 +10:00
..
ashldi3.c
ashrdi3.c
checksum.c m68k: simpler m68k and ColdFire CPU's can use generic csum code 2011-12-24 21:47:57 +10:00
divsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
lshrdi3.c
Makefile m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +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 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
muldi3.c m68k: use kernel processor defines for conditional optimizations 2011-06-14 11:42:29 +10:00
mulsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
string.c m68k: remove duplicate memcpy() implementation 2011-05-24 10:03:49 +10:00
uaccess.c m68k: modify user space access functions to support ColdFire CPUs 2011-12-30 10:20:21 +10:00
udivsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
umodsi3.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00