]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7m.h
retire daemon_startup
[openocd] / src / target / armv7m.h
index 8199c23adde1b584d136a874882d351a881e652b..7eaa5c512805f48f8669cb4ac55ce43d94fc20ef 100644 (file)
 #include "target.h"
 #include "arm_jtag.h"
 
+/* define for enabling armv7 gdb workarounds */
+#if 1
+#define ARMV7_GDB_HACKS
+#endif
+
 enum armv7m_mode
 {
        ARMV7M_MODE_THREAD = 0,
@@ -78,8 +83,6 @@ typedef struct armv7m_common_s
        int (*read_core_reg)(struct target_s *target, int num);
        int (*write_core_reg)(struct target_s *target, int num);
        
-       arm_jtag_t jtag_info;
-
        int (*examine_debug_reason)(target_t *target);
        void (*pre_debug_entry)(target_t *target);
        void (*post_debug_entry)(target_t *target);
@@ -124,6 +127,7 @@ extern int armv7m_invalidate_core_regs(target_t *target);
 extern int armv7m_restore_context(target_t *target);
 
 extern int armv7m_checksum_memory(struct target_s *target, u32 address, u32 count, u32* checksum);
+extern int armv7m_blank_check_memory(struct target_s *target, u32 address, u32 count, u32* blank);
 
 /* Thumb mode instructions
  */