]> git.sur5r.net Git - openocd/commit
ARM: implement mrc()/mcr() as DPM ops
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 08:49:04 +0000 (00:49 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 1 Dec 2009 08:49:04 +0000 (00:49 -0800)
commit563d937c3c6a7080998baa2313d66ae184b820ac
tree488384ceb5ba42dea28efbbcc42e1b82fd6c72fd
parent177bbd8891ae737ea7f8c0791a6236f72cedee40
ARM: implement mrc()/mcr() as DPM ops

Instead of having separate ARM11 and Cortex-A8 implementations of
this code, have one shared implementation which just builds on the
existing "run instruction via R0" support.

This enables followup patches to remove that now-unused code from
those two drivers.  (Patches to move the "mrc" and "mcr" code into
"struct arm" are due too ... MIPS and other cores do not support
those ARM-specific concepts.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_dpm.c