debugtraps.S 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #if !defined(CONFIG_KGDB)
  15. #define singlestep_trap_handler debug_trap_handler
  16. #endif
  17. #if !defined(CONFIG_SH_STANDARD_BIOS)
  18. #define sh_bios_handler debug_trap_handler
  19. #endif
  20. .data
  21. ENTRY(debug_trap_table)
  22. .long debug_trap_handler /* 0x30 */
  23. .long debug_trap_handler /* 0x31 */
  24. .long debug_trap_handler /* 0x32 */
  25. .long debug_trap_handler /* 0x33 */
  26. .long debug_trap_handler /* 0x34 */
  27. .long debug_trap_handler /* 0x35 */
  28. .long debug_trap_handler /* 0x36 */
  29. .long debug_trap_handler /* 0x37 */
  30. .long debug_trap_handler /* 0x38 */
  31. .long debug_trap_handler /* 0x39 */
  32. .long debug_trap_handler /* 0x3a */
  33. .long debug_trap_handler /* 0x3b */
  34. .long breakpoint_trap_handler /* 0x3c */
  35. .long singlestep_trap_handler /* 0x3d */
  36. .long bug_trap_handler /* 0x3e */
  37. .long sh_bios_handler /* 0x3f */