Re: [Openocd-development] [patch 3/5] ARM: implement mrc()/mcr() as DPM ops

2009-11-30 Thread Zach Welch
On Mon, 2009-11-30 at 23:42 -0800, David Brownell wrote: > On Monday 30 November 2009, David Brownell wrote: > > (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.) > > Needed for testing, even ...

Re: [Openocd-development] [patch 3/5] ARM: implement mrc()/mcr() as DPM ops

2009-11-30 Thread David Brownell
On Monday 30 November 2009, David Brownell wrote: >  (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.) Needed for testing, even ... here it is. Goes before slightly tweaked versions of the last few pa

[Openocd-development] [patch 3/5] ARM: implement mrc()/mcr() as DPM ops

2009-11-30 Thread David Brownell
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"