From 9d6ede25ddb0863873f84b6a55f4300891429049 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 26 Feb 2010 23:29:38 +0000 Subject: 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 --- src/target/arm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/arm.h') 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; -- cgit v1.2.3