From 58cccae6396b9279852c4eb06bc04b690561e3bb Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 4 Mar 2008 06:46:44 +0000 Subject: 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 --- src/target/arm11_dbgtap.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/target/arm11_dbgtap.c') diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c index 72d4ee0..0dcc2d0 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 #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; }} -- cgit v1.1