mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
e08d703cc2
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>
151 lines
2.0 KiB
Plaintext
151 lines
2.0 KiB
Plaintext
config M68K
|
|
bool
|
|
default y
|
|
select HAVE_IDE
|
|
select HAVE_AOUT if MMU
|
|
select HAVE_GENERIC_HARDIRQS
|
|
select GENERIC_IRQ_SHOW
|
|
select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
bool
|
|
default y
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
bool
|
|
|
|
config GENERIC_CLOCKEVENTS
|
|
bool
|
|
|
|
config GENERIC_CMOS_UPDATE
|
|
def_bool !MMU
|
|
|
|
config GENERIC_GPIO
|
|
bool
|
|
|
|
config GENERIC_HWEIGHT
|
|
bool
|
|
default y
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
bool
|
|
default y
|
|
|
|
config GENERIC_IOMAP
|
|
def_bool MMU
|
|
|
|
config GENERIC_CSUM
|
|
bool
|
|
|
|
config TIME_LOW_RES
|
|
bool
|
|
default y
|
|
|
|
config ARCH_USES_GETTIMEOFFSET
|
|
def_bool MMU
|
|
|
|
config NO_IOPORT
|
|
def_bool y
|
|
|
|
config NO_DMA
|
|
def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
|
|
|
|
config ZONE_DMA
|
|
bool
|
|
default y
|
|
|
|
config CPU_HAS_NO_BITFIELDS
|
|
bool
|
|
|
|
config CPU_HAS_NO_MULDIV64
|
|
bool
|
|
|
|
config CPU_HAS_ADDRESS_SPACES
|
|
bool
|
|
|
|
config HZ
|
|
int
|
|
default 1000 if CLEOPATRA
|
|
default 100
|
|
|
|
source "init/Kconfig"
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
config MMU
|
|
bool "MMU-based Paged Memory Management Support"
|
|
default y
|
|
help
|
|
Select if you want MMU-based virtualised addressing space
|
|
support by paged memory management. If unsure, say 'Y'.
|
|
|
|
config MMU_MOTOROLA
|
|
bool
|
|
|
|
config MMU_SUN3
|
|
bool
|
|
depends on MMU && !MMU_MOTOROLA
|
|
|
|
menu "Platform setup"
|
|
|
|
source arch/m68k/Kconfig.cpu
|
|
|
|
source arch/m68k/Kconfig.machine
|
|
|
|
source arch/m68k/Kconfig.bus
|
|
|
|
endmenu
|
|
|
|
menu "Kernel Features"
|
|
|
|
if COLDFIRE
|
|
source "kernel/Kconfig.preempt"
|
|
endif
|
|
|
|
if !MMU || COLDFIRE
|
|
source "kernel/time/Kconfig"
|
|
endif
|
|
|
|
source "mm/Kconfig"
|
|
|
|
endmenu
|
|
|
|
menu "Executable file formats"
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
endmenu
|
|
|
|
if !MMU
|
|
menu "Power management options"
|
|
|
|
config PM
|
|
bool "Power Management support"
|
|
help
|
|
Support processor power management modes
|
|
|
|
endmenu
|
|
endif
|
|
|
|
source "net/Kconfig"
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
source "arch/m68k/Kconfig.devices"
|
|
|
|
source "fs/Kconfig"
|
|
|
|
source "arch/m68k/Kconfig.debug"
|
|
|
|
source "security/Kconfig"
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
source "lib/Kconfig"
|