summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/r4k_genex.S
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-05-03 20:09:47 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-05-03 20:09:47 +0000
commite20d7226e0995c268ca3250acd6d1f63c84f7ea7 (patch)
tree8c4904b7debf80497384ddaf4f715350a39a05fd /arch/mips64/kernel/r4k_genex.S
parentb664d53ebd9adfbfe2e6e10b2c21b58900dcca16 (diff)
More low level debugging stuff that can be turned on with DEBUG_MIPS64.
Diffstat (limited to 'arch/mips64/kernel/r4k_genex.S')
-rw-r--r--arch/mips64/kernel/r4k_genex.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips64/kernel/r4k_genex.S b/arch/mips64/kernel/r4k_genex.S
index 834ea6c3c..b4ada3668 100644
--- a/arch/mips64/kernel/r4k_genex.S
+++ b/arch/mips64/kernel/r4k_genex.S
@@ -69,6 +69,14 @@
NESTED(handle_\exception, PT_SIZE, sp)
.set noat
SAVE_ALL
+#if DEBUG_MIPS64
+jal dodebug2
+ld $4, PT_R4(sp)
+ld $5, PT_R5(sp)
+ld $6, PT_R6(sp)
+ld $7, PT_R7(sp)
+ld $2, PT_R2(sp)
+#endif
__BUILD_clear_\clear
.set at
__BUILD_\verbose \exception