From 1e54139f4a45d379c1cda7ad02a3f4a7d321b78e Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sat, 28 Mar 2015 20:15:33 -0700 Subject: target: Remove pc_read/pc_write methods. --- src/include/target.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/include/target.h') diff --git a/src/include/target.h b/src/include/target.h index 92703b7..48e81f2 100644 --- a/src/include/target.h +++ b/src/include/target.h @@ -61,12 +61,6 @@ target *target_attach(target *t, target_destroy_callback destroy_cb); #define target_regs_write(target, data) \ (target)->regs_write((target), (data)) -#define target_pc_read(target) \ - (target)->pc_read((target)) - -#define target_pc_write(target, val) \ - (target)->pc_write((target), (val)) - /* Halt/resume functions */ #define target_reset(target) \ @@ -135,9 +129,6 @@ struct target_s { int (*regs_read)(target *t, void *data); int (*regs_write)(target *t, const void *data); - uint32_t (*pc_read)(target *t); - int (*pc_write)(target *t, const uint32_t val); - /* Halt/resume functions */ void (*reset)(target *t); void (*halt_request)(target *t); -- cgit v1.2.3