]> git.sur5r.net Git - openocd/commit
Fix for BMIPS
authorSalvador Arroyo <salvador@telecable.es>
Sun, 24 Aug 2014 17:34:08 +0000 (19:34 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 May 2016 06:57:41 +0000 (07:57 +0100)
commit7ba05378381e2a9138c42161ece86e3c5f2e380f
tree01ffd5564235e73588ea1fa2d9c50982d0715f48
parent44d2c7b416fe3efe57a168dd58690b4e8d4effe0
Fix for BMIPS

BMIPS always needs 2 additional instructions to reach the core.
Seems there is a 2 instructions fifo between the tap and the core, or it behaves in this way.
No idea of the purpose of this fifo, I can only guess.
Of course function mips32_pracc_clean_text_jump() must add this additional instructions (NOPs).
Only tested on bcm3348..

Change-Id: I3183d3ce865d469d7262ba4b15446e5743a5f1df
Signed-off-by: Salvador Arroyo <salvador@telecable.es>
Reviewed-on: http://openocd.zylin.com/2270
Tested-by: jenkins
Reviewed-by: Kent Brinkley <jkbrinkley.imgtec@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips32_pracc.c