summaryrefslogtreecommitdiff
path: root/src/target/mips32.h
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-13 11:33:19 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-13 11:33:19 +0000
commit6fda8707668c413a78f44ae4f58a79f5765376c2 (patch)
tree27901e5048ea8bb58ca50a4f86466562c9ef20a3 /src/target/mips32.h
parent1af16acdd2492455d5b45d0ef89800f4517b761f (diff)
downloadopenocd+libswd-6fda8707668c413a78f44ae4f58a79f5765376c2.tar.gz
openocd+libswd-6fda8707668c413a78f44ae4f58a79f5765376c2.tar.bz2
openocd+libswd-6fda8707668c413a78f44ae4f58a79f5765376c2.tar.xz
openocd+libswd-6fda8707668c413a78f44ae4f58a79f5765376c2.zip
- added mips software breakpoint support
- changed some jtag LOG_DEBUG to only output when _DEBUG_JTAG_IO_ defined. Makes debugging other parts of openocd not as noisy - updated correct jtag id for pic32mx git-svn-id: svn://svn.berlios.de/openocd/trunk@1313 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r--src/target/mips32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h
index 646edb7d..9ada0b4e 100644
--- a/src/target/mips32.h
+++ b/src/target/mips32.h
@@ -116,7 +116,11 @@ typedef struct mips32_core_reg_s
#define MIPS32_SB(reg, off, base) MIPS32_I_INST(MIPS32_OP_SB, base, reg, off)
#define MIPS32_SH(reg, off, base) MIPS32_I_INST(MIPS32_OP_SH, base, reg, off)
#define MIPS32_SW(reg, off, base) MIPS32_I_INST(MIPS32_OP_SW, base, reg, off)
+
+/* ejtag specific instructions */
#define MIPS32_DRET 0x4200001F
+#define MIPS32_SDBBP 0x7000003F
+#define MIPS16_SDBBP 0xE801
extern int mips32_arch_state(struct target_s *target);
extern int mips32_init_arch_info(target_t *target, mips32_common_t *mips32, jtag_tap_t *tap);