Browse Source

ls2k ejtag exception jump to 0x80008000.

Change-Id: I7b75050c11d54045335a15804489f24910de9b8d
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
master
Chong Qiao 4 years ago
parent
commit
f70eae4b5f
  1. 9
      Targets/LS2K/ls2k/start.S

9
Targets/LS2K/ls2k/start.S

@ -300,6 +300,12 @@ ext_map_and_reboot:
b exc_common b exc_common
nop nop
#endif #endif
/* Debug exception */
.align 7 /* bfc00480 */
dmtc0 k0, $31
li k0, 0x80008000
jr k0
dmtc0 k0, $31
#ifdef LS2K_STR #ifdef LS2K_STR
.align 8 /* bfc00500 */ .align 8 /* bfc00500 */
.set mips64 .set mips64
@ -433,9 +439,6 @@ ext_map_and_reboot:
b 1b b 1b
nop nop
#endif #endif
/* Debug exception */
.align 7 /* bfc00480 */
#include "exc_ejtag.S"
exc_common: exc_common:
PRINTSTR("\r\nCAUSE=") PRINTSTR("\r\nCAUSE=")

Loading…
Cancel
Save