From eb51d4f68b96dba5f955c683e92d2805f0828f81 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 5 May 2009 05:55:14 +0000 Subject: [PATCH] Oleksandr Tymoshenko "resume" command fix for EJTAG git-svn-id: svn://svn.berlios.de/openocd/trunk@1603 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/mips32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/mips32.h b/src/target/mips32.h index 7a4dd5e6..6f73d321 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -112,8 +112,8 @@ typedef struct mips32_core_reg_s #define MIPS32_LW(reg, off, base) MIPS32_I_INST(MIPS32_OP_LW, base, reg, off) #define MIPS32_MFLO(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MFLO) #define MIPS32_MFHI(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MFHI) -#define MIPS32_MTLO(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MTLO) -#define MIPS32_MTHI(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MTHI) +#define MIPS32_MTLO(reg) MIPS32_R_INST(0, reg, 0, 0, 0, MIPS32_OP_MTLO) +#define MIPS32_MTHI(reg) MIPS32_R_INST(0, reg, 0, 0, 0, MIPS32_OP_MTHI) #define MIPS32_ORI(src, tar, val) MIPS32_I_INST(MIPS32_OP_ORI, src, tar, val) #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) -- 2.39.5