diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-26 23:29:38 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-02-28 22:48:37 +0000 |
commit | 9d6ede25ddb0863873f84b6a55f4300891429049 (patch) | |
tree | 6acf9128732ed275ddc733fcd6fece4229e519b5 /src/target/arm.h | |
parent | 550abe7396f60274ffd0c5f373eda046af9d9a85 (diff) |
semihosting: move semihosting cmd to arm cmd group
Move semihosting cmd to the arm cmd group.
Targets that support semihosting will setup the
setup_semihosting callback function.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/arm.h')
-rw-r--r-- | src/target/arm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/arm.h b/src/target/arm.h index 6b304e9f..ee4bd767 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -132,6 +132,8 @@ struct arm { /** 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; |