aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_tpiu_swo.h
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-10-12 00:11:46 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-03-10 21:33:40 +0000
commit184724d14e120a9901fedfe05692bcd270f5eb57 (patch)
treea08223244e56f4226cb2d5042b3ffc5caeb67572 /src/target/arm_tpiu_swo.h
parentf9509c92dba370be363f5641d3fefe2250bee10c (diff)
downloadriscv-openocd-184724d14e120a9901fedfe05692bcd270f5eb57.zip
riscv-openocd-184724d14e120a9901fedfe05692bcd270f5eb57.tar.gz
riscv-openocd-184724d14e120a9901fedfe05692bcd270f5eb57.tar.bz2
arm_tpiu_swo: add support for independent TPIU and SWO
This is supposed to replace big part of armv7m_trace.[ch], since TPIU is not only the one implemented in Cortex-M3 and M4. Change-Id: I7588d16cbefe9cdb371c52fb0aa5cdfb48518804 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5858 Tested-by: jenkins
Diffstat (limited to 'src/target/arm_tpiu_swo.h')
-rw-r--r--src/target/arm_tpiu_swo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/target/arm_tpiu_swo.h b/src/target/arm_tpiu_swo.h
new file mode 100644
index 0000000..e0aed71
--- /dev/null
+++ b/src/target/arm_tpiu_swo.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef OPENOCD_TARGET_ARM_TPIU_SWO_H
+#define OPENOCD_TARGET_ARM_TPIU_SWO_H
+
+int arm_tpiu_swo_register_commands(struct command_context *cmd_ctx);
+int arm_tpiu_swo_cleanup_all(void);
+
+#endif /* OPENOCD_TARGET_ARM_TPIU_SWO_H */