summaryrefslogtreecommitdiff
path: root/src/flash/nand.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-01 21:47:45 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-01 21:47:45 -0800
commit66ca84b58114ad73b5843f62f9f5fbead1126fca (patch)
treec154e6084a6ccc742d1ec8be002ffa187a8c61b5 /src/flash/nand.c
parent1c7d3d200c6f20d4bb689176373368cd497d797f (diff)
downloadopenocd+libswd-66ca84b58114ad73b5843f62f9f5fbead1126fca.tar.gz
openocd+libswd-66ca84b58114ad73b5843f62f9f5fbead1126fca.tar.bz2
openocd+libswd-66ca84b58114ad73b5843f62f9f5fbead1126fca.tar.xz
openocd+libswd-66ca84b58114ad73b5843f62f9f5fbead1126fca.zip
ARM: core DPM support for watchpoints
This is a NOP unless the underlying core exposes two new methods, and neither of the two cores using this (ARM11xx, Cortex-A8) do so yet. This patch only updates those cores so they pass a flag saying whether or not to update breakpoint and watchpoint status before resuming; and removing some now-needless anti-segfault code from ARM11. Cortex-A8 didn't have that code ... yes, it segfaulted when setting watchpoints. NOTE: this uses a slightly different strategy for setting/clearing breakpoints than the ARM7/ARM9/etc code uses. It leaves them alone unless it's *got* to change something, to speed halt/resume cycles (including single stepping). ALSO NOTE: this under-delivers for Cortex-A8, where regions with size up to 2 GBytes can be watched ... it handles watchpoints which ARM11 can also handle (size 1/2/4 bytes). Should get fixed later. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nand.c')
0 files changed, 0 insertions, 0 deletions