diff options
author | David Howells <dhowells@redhat.com> | 2011-03-18 12:54:30 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-18 12:54:30 -0400 |
commit | 67ddb4052daac9d449caf2643ac365d42a04219a (patch) | |
tree | 7c610973a19b7e70b47294c540b182f203680fde /arch/mn10300/Kconfig | |
parent | 7f386ac3272e057fbf51e5b5712fad1a80e77125 (diff) |
MN10300: Create generic kernel debugger hooks
Create generic kernel debugger hooks in the MN10300 arch and make gdbstub use
them. This is a preparation for KGDB support.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/Kconfig')
-rw-r--r-- | arch/mn10300/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 25e6a0bc62ab..6e9cac970024 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -401,8 +401,8 @@ comment "[!] NOTE: A lower number/level indicates a higher priority (0 is highes | |||
401 | comment "____Non-maskable interrupt levels____" | 401 | comment "____Non-maskable interrupt levels____" |
402 | comment "The following must be set to a higher priority than local_irq_disable() and on-chip serial" | 402 | comment "The following must be set to a higher priority than local_irq_disable() and on-chip serial" |
403 | 403 | ||
404 | config GDBSTUB_IRQ_LEVEL | 404 | config DEBUGGER_IRQ_LEVEL |
405 | int "GDBSTUB interrupt priority" | 405 | int "DEBUGGER interrupt priority" |
406 | depends on KERNEL_DEBUGGER | 406 | depends on KERNEL_DEBUGGER |
407 | range 0 1 if LINUX_CLI_LEVEL = 2 | 407 | range 0 1 if LINUX_CLI_LEVEL = 2 |
408 | range 0 2 if LINUX_CLI_LEVEL = 3 | 408 | range 0 2 if LINUX_CLI_LEVEL = 3 |
@@ -437,7 +437,7 @@ config LINUX_CLI_LEVEL | |||
437 | EPSW.IM from 7. Any interrupt is permitted for which the level is | 437 | EPSW.IM from 7. Any interrupt is permitted for which the level is |
438 | lower than EPSW.IM. | 438 | lower than EPSW.IM. |
439 | 439 | ||
440 | Certain interrupts, such as GDBSTUB and virtual MN10300 on-chip | 440 | Certain interrupts, such as DEBUGGER and virtual MN10300 on-chip |
441 | serial DMA interrupts are allowed to interrupt normal disabled | 441 | serial DMA interrupts are allowed to interrupt normal disabled |
442 | sections. | 442 | sections. |
443 | 443 | ||