e7cc9a7340
The idea is that we want to get rid of the in/out/readb/writeb callbacks from the machvec and replace that with simple inline read and write operations to memory. Fast and simple for most hardware devices (think pci). Some devices require special treatment though - like 16-bit only CF devices - so we need to have some method to hook in callbacks. This patch makes it possible to add a per-device trap generating filter. This way we can get maximum performance of sane hardware - which doesn't need this filter - and crappy hardware works but gets punished by a performance hit. V2 changes things around a bit and replaces io access callbacks with a simple minimum_bus_width value. In the future we can add stride as well. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
24 lines
875 B
Plaintext
24 lines
875 B
Plaintext
extra-y := head_64.o init_task.o vmlinux.lds
|
|
|
|
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_64.o \
|
|
ptrace_64.o semaphore.o setup.o signal_64.o sys_sh.o sys_sh64.o \
|
|
syscalls_64.o time_64.o topology.o traps.o traps_64.o
|
|
|
|
obj-y += cpu/ timers/
|
|
obj-$(CONFIG_VSYSCALL) += vsyscall/
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
obj-$(CONFIG_CF_ENABLER) += cf-enabler.o
|
|
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
|
|
obj-$(CONFIG_SH_KGDB) += kgdb_stub.o kgdb_jmp.o
|
|
obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
|
|
obj-$(CONFIG_MODULES) += sh_ksyms_64.o module.o
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
|
obj-$(CONFIG_PM) += pm.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-$(CONFIG_BINFMT_ELF) += dump_task.o
|
|
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
|
|
|
|
EXTRA_CFLAGS += -Werror
|