android_kernel_xiaomi_sm8350/arch/sh/kernel
Paul Mundt f413d0d9fa sh: Use a jump call table for debug trap handlers.
This rips out most of the needlessly complicated sh_bios and kgdb
trap handling, and forces it all through a common fast dispatch path.
As more debug traps are inserted, it's important to keep them in sync
for all of the parts, not just SH-3/4.

As the SH-2 parts are unable to do traps in the >= 0x40 range, we
restrict the debug traps to the 0x30-0x3f range on all parts, and
also bump the kgdb breakpoint trap down in to this range (from 0xff
to 0x3c) so it's possible to use for nommu.

Optionally, this table can be padded out to catch spurious traps for
SH-3/4, but we don't do that yet..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-02-13 10:54:43 +09:00
..
cpu sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
timers sh: Clock framework tidying. 2006-12-06 10:45:40 +09:00
vsyscall [PATCH] SH vdso: use install_special_mapping() 2007-02-09 09:25:47 -08:00
asm-offsets.c
cf-enabler.c
cpufreq.c
debugtraps.S sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
early_printk.c sh: Use early_param() for earlyprintk parsing. 2006-12-12 09:00:47 +09:00
entry-common.S sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
head.S sh: Fix .empty_zero_page alignment for PAGE_SIZE > 4096. 2006-12-12 08:53:29 +09:00
init_task.c
io_generic.c
io.c
irq.c sh: sh775x/titan fixes for irq header changes. 2006-12-06 12:05:02 +09:00
kgdb_jmp.S
kgdb_stub.c sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
machine_kexec.c
Makefile sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
module.c
pm.c
process.c sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
ptrace.c
relocate_kernel.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
semaphore.c
setup.c [PATCH] Dynamic kernel command-line: sh 2007-02-12 09:48:39 -08:00
sh_bios.c
sh_ksyms.c sh: gcc4 symbol export fixups. 2006-12-12 08:42:07 +09:00
signal.c sh: Trivial build fixes for SH-2 support. 2006-12-12 08:42:07 +09:00
smp.c
stacktrace.c sh: stacktrace/lockdep/irqflags tracing support. 2006-12-06 10:45:40 +09:00
sys_sh.c sh: Fixup kernel_execve() for syscall cleanups. 2006-12-12 08:42:08 +09:00
syscalls.S
time.c [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
traps.c sh: BUG() handling through trapa vector. 2006-12-12 08:42:08 +09:00
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00