2006-12-13 15:40:05 +07:00
|
|
|
/*
|
|
|
|
* arch/sh/kernel/debugtraps.S
|
|
|
|
*
|
|
|
|
* Debug trap jump tables for SuperH
|
|
|
|
*
|
2008-12-11 16:46:46 +07:00
|
|
|
* Copyright (C) 2006 - 2008 Paul Mundt
|
2006-12-13 15:40:05 +07:00
|
|
|
*
|
|
|
|
* 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>
|
|
|
|
|
2008-12-11 16:46:46 +07:00
|
|
|
#if !defined(CONFIG_KGDB)
|
|
|
|
#define breakpoint_trap_handler debug_trap_handler
|
|
|
|
#define singlestep_trap_handler debug_trap_handler
|
2006-12-13 15:40:05 +07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(CONFIG_SH_STANDARD_BIOS)
|
2008-12-11 16:46:46 +07:00
|
|
|
#define sh_bios_handler debug_trap_handler
|
2006-12-13 15:40:05 +07:00
|
|
|
#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 */
|
2008-12-11 16:46:46 +07:00
|
|
|
.long breakpoint_trap_handler /* 0x3c */
|
|
|
|
.long singlestep_trap_handler /* 0x3d */
|
2006-12-13 15:40:05 +07:00
|
|
|
.long bug_trap_handler /* 0x3e */
|
|
|
|
.long sh_bios_handler /* 0x3f */
|