diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-12-29 21:59:36 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-01-11 22:22:25 +0000 |
commit | 178b5d072e2bd2038fc9065b9722da296e6f5e16 (patch) | |
tree | d84a7224d552538fc65254b088093badb8712c52 /src/target/breakpoints.h | |
parent | bd0fbef5c8819c9f58b48f02acd862d9be4d87b9 (diff) |
cortex_m: Avoid unnecessary saving and restoring of DCRDR
This is used for the emulated DCC channel which is only maintained as long
as target->dbg_msg_enabled is set. Skip the saving and restoring if not
enabled to save one dap_run() per core register access.
Note that we could've probably queued all core register accesses in the
same transaction if the armv7 register framework hadn't required
synchronous register accesses.
Change-Id: I4fe6d713261ee5db42422203eb63035fdcc48891
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1848
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/breakpoints.h')
0 files changed, 0 insertions, 0 deletions