summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 7c07288b..086b28bc 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -254,6 +254,9 @@ int target_write_u32(struct target_s *target, u32 address, u32 value);
int target_write_u16(struct target_s *target, u32 address, u16 value);
int target_write_u8(struct target_s *target, u32 address, u8 value);
+/* Issues USER() statements with target state information */
+int target_arch_state(struct target_s *target);
+
#define ERROR_TARGET_INVALID (-300)
#define ERROR_TARGET_INIT_FAILED (-301)
#define ERROR_TARGET_TIMEOUT (-302)