]> git.sur5r.net Git - openocd/commit
arm920t: memory writes were broken when MMU was disabled
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 3 Nov 2009 11:28:00 +0000 (12:28 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 3 Nov 2009 11:28:00 +0000 (12:28 +0100)
commitf37c9b8d1560d0081e53c71c55113a3c9858011a
treeab75f88bce3fe46b83731b0dc46daa29c7eb7ade
parentb5ce7fe8125da3044a2b4f2d0ef57af4d9eef5e7
arm920t: memory writes were broken when MMU was disabled

To support breakpoints, flush data cache line and invalidate
instruction cache when 4 and 2 byte words are written.

The previous code was trying to write directly to the physical
memory, which was buggy and had a number of other situations
that were not handled.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/arm920t.c