Blame view

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