Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0
 2 *
 3 * arch/sh/kernel/debugtraps.S
 4 *
 5 * Debug trap jump tables for SuperH
 6 *
 7 *  Copyright (C) 2006 - 2008  Paul Mundt
 
 
 
 
 8 */
 9#include <linux/sys.h>
10#include <linux/linkage.h>
11
12#if !defined(CONFIG_KGDB)
13#define singlestep_trap_handler		debug_trap_handler
14#endif
15
16#if !defined(CONFIG_SH_STANDARD_BIOS)
17#define sh_bios_handler			debug_trap_handler
18#endif
19
20	.data
21
22ENTRY(debug_trap_table)
23	.long debug_trap_handler	/* 0x30 */
24	.long debug_trap_handler	/* 0x31 */
25	.long debug_trap_handler	/* 0x32 */
26	.long debug_trap_handler	/* 0x33 */
27	.long debug_trap_handler	/* 0x34 */
28	.long debug_trap_handler	/* 0x35 */
29	.long debug_trap_handler	/* 0x36 */
30	.long debug_trap_handler	/* 0x37 */
31	.long debug_trap_handler	/* 0x38 */
32	.long debug_trap_handler	/* 0x39 */
33	.long debug_trap_handler	/* 0x3a */
34	.long debug_trap_handler	/* 0x3b */
35	.long breakpoint_trap_handler	/* 0x3c */
36	.long singlestep_trap_handler	/* 0x3d */
37	.long bug_trap_handler		/* 0x3e */
38	.long sh_bios_handler		/* 0x3f */
v4.6
 1/*
 
 2 * arch/sh/kernel/debugtraps.S
 3 *
 4 * Debug trap jump tables for SuperH
 5 *
 6 *  Copyright (C) 2006 - 2008  Paul Mundt
 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
15#if !defined(CONFIG_KGDB)
16#define singlestep_trap_handler		debug_trap_handler
17#endif
18
19#if !defined(CONFIG_SH_STANDARD_BIOS)
20#define sh_bios_handler			debug_trap_handler
21#endif
22
23	.data
24
25ENTRY(debug_trap_table)
26	.long debug_trap_handler	/* 0x30 */
27	.long debug_trap_handler	/* 0x31 */
28	.long debug_trap_handler	/* 0x32 */
29	.long debug_trap_handler	/* 0x33 */
30	.long debug_trap_handler	/* 0x34 */
31	.long debug_trap_handler	/* 0x35 */
32	.long debug_trap_handler	/* 0x36 */
33	.long debug_trap_handler	/* 0x37 */
34	.long debug_trap_handler	/* 0x38 */
35	.long debug_trap_handler	/* 0x39 */
36	.long debug_trap_handler	/* 0x3a */
37	.long debug_trap_handler	/* 0x3b */
38	.long breakpoint_trap_handler	/* 0x3c */
39	.long singlestep_trap_handler	/* 0x3d */
40	.long bug_trap_handler		/* 0x3e */
41	.long sh_bios_handler		/* 0x3f */