summaryrefslogtreecommitdiff
path: root/src/target/arm11_dbgtap.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-04 06:46:44 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-04 06:46:44 +0000
commit58cccae6396b9279852c4eb06bc04b690561e3bb (patch)
treedef35703893dd1cb55363e4ca3e19715f8d56527 /src/target/arm11_dbgtap.c
parent5c2b85dfecb107b31799f736dfcfeb4d96bd6ed6 (diff)
downloadopenocd_libswd-58cccae6396b9279852c4eb06bc04b690561e3bb.tar.gz
openocd_libswd-58cccae6396b9279852c4eb06bc04b690561e3bb.tar.bz2
openocd_libswd-58cccae6396b9279852c4eb06bc04b690561e3bb.tar.xz
openocd_libswd-58cccae6396b9279852c4eb06bc04b690561e3bb.zip
Michael Bruck:
- Added simulate_reset_on_next_halt that can be extended to do all sorts of cleanups for systems without proper reset. Right now it just writes 0 to the control register to disable caches. - Step skips over Wait for Interrupt instruction - fix for count - fix for printf format errors git-svn-id: svn://svn.berlios.de/openocd/trunk@439 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm11_dbgtap.c')
-rw-r--r--src/target/arm11_dbgtap.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c
index 72d4ee04..0dcc2d0b 100644
--- a/src/target/arm11_dbgtap.c
+++ b/src/target/arm11_dbgtap.c
@@ -16,6 +16,7 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -28,13 +29,9 @@
#include <string.h>
#if 0
-#define JTAG_DEBUG(expr ...) \
- do { \
- log_printf (LOG_DEBUG, __FILE__, __LINE__, __FUNCTION__, expr); \
- } while(0)
+#define JTAG_DEBUG(expr ...) DEBUG(expr)
#else
-#define JTAG_DEBUG(expr ...) \
- do {} while(0)
+#define JTAG_DEBUG(expr ...) do {} while(0)
#endif
enum tap_state arm11_move_pi_to_si_via_ci[] =
@@ -727,7 +724,7 @@ void arm11_sc7_clear_vbw(arm11_common_t * arm11)
{size_t i;
for (i = 0; i < asizeof(clear_bw); i++)
{
- clear_bw[i].write = 1;
+ clear_bw[i].write = true;
clear_bw[i].value = 0;
}}