diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-03-11 22:21:13 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-13 19:33:28 +0000 |
commit | 5c2f920cc792d40f449cf596b5729671d0414fa1 (patch) | |
tree | 22b1e15e88202afdd15aac62de817814536601d8 /src/target/arm920t.h | |
parent | 52eb82e893f058ef86e61b5a73334c8a44070100 (diff) |
[RFC] target: Move bulk_write_memory to arm7_9
The only remaining user is arm7_9 so remove it from the target API and add
it to struct arm7_9_common to support all its variants with minimal
changes. Many of the variants are likely not correct in the cache/mmu
handling when the bulk write is triggered. This patch does nothing to
change that, except for arm946e, where it was easier to do what might be
the right thing.
Change-Id: Ie73ac07507ff0936fefdb90760046cc8810ed182
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1220
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/arm920t.h')
-rw-r--r-- | src/target/arm920t.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/arm920t.h b/src/target/arm920t.h index 71876a69..37745130 100644 --- a/src/target/arm920t.h +++ b/src/target/arm920t.h @@ -60,6 +60,8 @@ int arm920t_read_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); int arm920t_write_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer); +int arm920t_write_memory_opt(struct target *target, + uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer); int arm920t_post_debug_entry(struct target *target); void arm920t_pre_restore_context(struct target *target); int arm920t_get_ttb(struct target *target, uint32_t *result); |