Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / sh / kernel / debugtraps.S
CommitLineData
f413d0d9
PM
1/*
2 * arch/sh/kernel/debugtraps.S
3 *
4 * Debug trap jump tables for SuperH
5 *
ab6e570b 6 * Copyright (C) 2006 - 2008 Paul Mundt
f413d0d9
PM
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
10 * for more details.
11 */
12#include <linux/sys.h>
13#include <linux/linkage.h>
14
ab6e570b
PM
15#if !defined(CONFIG_KGDB)
16#define breakpoint_trap_handler debug_trap_handler
17#define singlestep_trap_handler debug_trap_handler
f413d0d9
PM
18#endif
19
20#if !defined(CONFIG_SH_STANDARD_BIOS)
ab6e570b 21#define sh_bios_handler debug_trap_handler
f413d0d9
PM
22#endif
23
24 .data
25
26ENTRY(debug_trap_table)
27 .long debug_trap_handler /* 0x30 */
28 .long debug_trap_handler /* 0x31 */
29 .long debug_trap_handler /* 0x32 */
30 .long debug_trap_handler /* 0x33 */
31 .long debug_trap_handler /* 0x34 */
32 .long debug_trap_handler /* 0x35 */
33 .long debug_trap_handler /* 0x36 */
34 .long debug_trap_handler /* 0x37 */
35 .long debug_trap_handler /* 0x38 */
36 .long debug_trap_handler /* 0x39 */
37 .long debug_trap_handler /* 0x3a */
38 .long debug_trap_handler /* 0x3b */
ab6e570b
PM
39 .long breakpoint_trap_handler /* 0x3c */
40 .long singlestep_trap_handler /* 0x3d */
f413d0d9
PM
41 .long bug_trap_handler /* 0x3e */
42 .long sh_bios_handler /* 0x3f */