diff options
author | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2018-03-26 09:45:46 +0200 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2018-04-10 09:13:02 +0100 |
commit | 09076d10dd553dc63f08e74aedb1b6aa030857f9 (patch) | |
tree | fac95f9f2c28bcfbd67a58f1bbd7c7a3bf6717d6 /src/target/arm_cti.h | |
parent | c0f81fbee745e34d04d490df0b26d8e443d90c0e (diff) | |
download | riscv-openocd-09076d10dd553dc63f08e74aedb1b6aa030857f9.zip riscv-openocd-09076d10dd553dc63f08e74aedb1b6aa030857f9.tar.gz riscv-openocd-09076d10dd553dc63f08e74aedb1b6aa030857f9.tar.bz2 |
armv8: valgrind memleak fixes
Various fixes for memory leaks, adds a target cleanup for aarch64
and ARM CTI objects.
Change-Id: I2267f0894df655fdf73d70c11ed03df0b8f8d07d
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4478
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/target/arm_cti.h')
-rw-r--r-- | src/target/arm_cti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_cti.h b/src/target/arm_cti.h index 181f064..7c4f7eb 100644 --- a/src/target/arm_cti.h +++ b/src/target/arm_cti.h @@ -73,7 +73,7 @@ extern int arm_cti_read_reg(struct arm_cti *self, unsigned int reg, uint32_t *va extern int arm_cti_pulse_channel(struct arm_cti *self, uint32_t channel); extern int arm_cti_set_channel(struct arm_cti *self, uint32_t channel); extern int arm_cti_clear_channel(struct arm_cti *self, uint32_t channel); - +extern int arm_cti_cleanup_all(void); extern int cti_register_commands(struct command_context *cmd_ctx); #endif /* OPENOCD_TARGET_ARM_CTI_H */ |