projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error handling during halt
[fw/openocd]
/
src
/
target
/
arm.h
diff --git
a/src/target/arm.h
b/src/target/arm.h
index 6b304e9f30a5702875ee76f0612ca13135ac35be..ce8cbe193e8bf2bfdd3d2e259668ec1b9b5bf0ec 100644
(file)
--- a/
src/target/arm.h
+++ b/
src/target/arm.h
@@
-80,8
+80,6
@@
enum arm_state {
ARM_STATE_THUMB_EE,
};
ARM_STATE_THUMB_EE,
};
-extern const char *arm_state_strings[];
-
#define ARM_COMMON_MAGIC 0x0A450A45
/**
#define ARM_COMMON_MAGIC 0x0A450A45
/**
@@
-132,6
+130,8
@@
struct arm {
/** Value to be returned by semihosting SYS_ERRNO request. */
int semihosting_errno;
/** Value to be returned by semihosting SYS_ERRNO request. */
int semihosting_errno;
+ int (*setup_semihosting)(struct target *target, int enable);
+
/** Backpointer to the target. */
struct target *target;
/** Backpointer to the target. */
struct target *target;
@@
-165,6
+165,12
@@
struct arm {
uint32_t value);
void *arch_info;
uint32_t value);
void *arch_info;
+
+ /** For targets conforming to ARM Debug Interface v5,
+ * this handle references the Debug Access Port (DAP)
+ * used to make requests to the target.
+ */
+ struct adiv5_dap *dap;
};
/** Convert target handle to generic ARM target state handle. */
};
/** Convert target handle to generic ARM target state handle. */