aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7a.h
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2019-04-01 04:50:47 +0200
committerTomas Vanek <vanekt@fbl.cz>2019-05-14 19:35:47 +0100
commit95caf7714d0f408a934029ae73f9f13f0c55e812 (patch)
treee60f30ef567cf6d9d82f5ed405f392d28403aa44 /src/target/armv7a.h
parent54ecec2e85d7ffd8aeaa9cd1f76a5a983ff20391 (diff)
target/armv7a: change prototype of armv7a_handle_cache_info_command()
To prepare for handling TCL return values consistently, all calls to command_print/command_print_sameline should be ready to switch to CMD as first parameter. Change prototype of armv7a_handle_cache_info_command() to pass CMD instead of CMD_CTX. This change was part of http://openocd.zylin.com/1815 from Paul Fertser and has been extracted and rebased to simplify the review. Change-Id: I27f507869cb41c74722a759e69dfd45658fcd4be Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5069 Tested-by: jenkins
Diffstat (limited to 'src/target/armv7a.h')
-rw-r--r--src/target/armv7a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7a.h b/src/target/armv7a.h
index 9b1436c7..0ef04c16 100644
--- a/src/target/armv7a.h
+++ b/src/target/armv7a.h
@@ -192,7 +192,7 @@ int armv7a_arch_state(struct target *target);
int armv7a_identify_cache(struct target *target);
int armv7a_init_arch_info(struct target *target, struct armv7a_common *armv7a);
-int armv7a_handle_cache_info_command(struct command_context *cmd_ctx,
+int armv7a_handle_cache_info_command(struct command_invocation *cmd,
struct armv7a_cache_common *armv7a_cache);
int armv7a_read_ttbcr(struct target *target);