summaryrefslogtreecommitdiff
path: root/src/target/mips_ejtag.c
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-20 05:07:34 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-20 05:07:34 +0000
commit30268bc40fb5f238b056a10b465cb9c13f466672 (patch)
tree50f095dc2498512d06a77045e503e1ec0f92881b /src/target/mips_ejtag.c
parentb7b04525179001cd564117c5b0a38900d9f27cee (diff)
downloadopenocd+libswd-30268bc40fb5f238b056a10b465cb9c13f466672.tar.gz
openocd+libswd-30268bc40fb5f238b056a10b465cb9c13f466672.tar.bz2
openocd+libswd-30268bc40fb5f238b056a10b465cb9c13f466672.tar.xz
openocd+libswd-30268bc40fb5f238b056a10b465cb9c13f466672.zip
Author: Spencer Oliver <spen@spen-soft.co.uk>
- Bring the mips step/resume interrupt handling inline with the rest of openocd. git-svn-id: svn://svn.berlios.de/openocd/trunk@1850 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips_ejtag.c')
-rw-r--r--src/target/mips_ejtag.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c
index 09c3aaf0..02dc653b 100644
--- a/src/target/mips_ejtag.c
+++ b/src/target/mips_ejtag.c
@@ -216,13 +216,11 @@ int mips_ejtag_enter_debug(mips_ejtag_t *ejtag_info)
return ERROR_OK;
}
-int mips_ejtag_exit_debug(mips_ejtag_t *ejtag_info, int enable_interrupts)
+int mips_ejtag_exit_debug(mips_ejtag_t *ejtag_info)
{
u32 inst;
inst = MIPS32_DRET;
-
- /* TODO : enable/disable interrrupts */
-
+
/* execute our dret instruction */
mips32_pracc_exec(ejtag_info, 1, &inst, 0, NULL, 0, NULL, 0);