diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-21 19:20:26 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-21 19:21:15 +0100 |
commit | b7811b76795aaeacfea0473bdca2c44826f20501 (patch) | |
tree | cac4f58681b3395f985a5d904f9d1faf90e86e09 /src/target/arm926ejs.c | |
parent | 5dcad2d34fc40659018da2cf75ceeacd3abea860 (diff) | |
download | riscv-openocd-b7811b76795aaeacfea0473bdca2c44826f20501.zip riscv-openocd-b7811b76795aaeacfea0473bdca2c44826f20501.tar.gz riscv-openocd-b7811b76795aaeacfea0473bdca2c44826f20501.tar.bz2 |
arm breakpoints: amended fix comment
the handling of caches, should be moved into the breakpoint
specific callbacks rather than being plonked into generic
memory write fn's.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm926ejs.c')
-rw-r--r-- | src/target/arm926ejs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index ff18bae..1f753a6 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -579,7 +579,12 @@ int arm926ejs_write_memory(struct target *target, uint32_t address, /* FIX!!!! this should be cleaned up and made much more general. The * plan is to write up and test on arm926ejs specifically and - * then generalize and clean up afterwards. */ + * then generalize and clean up afterwards. + * + * + * Also it should be moved to the callbacks that handle breakpoints + * specifically and not the generic memory write fn's. See XScale code. + **/ if (arm926ejs->armv4_5_mmu.mmu_enabled && (count == 1) && ((size==2) || (size==4))) { /* special case the handling of single word writes to bypass MMU |