]> git.sur5r.net Git - openocd/commit
target: fix incorrect arm cpu monitor mode encoding
authorTim Sander <tim@krieglstein.org>
Mon, 31 Mar 2014 20:21:44 +0000 (21:21 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 14 Apr 2014 18:15:57 +0000 (18:15 +0000)
commit4835a21dea7551fa24008a627dba107e9739eaab
tree8925dfb5433e2c41146e5e59bd6a214edb7e210b
parent47830f0ebf8135758b372d2a84eb370bf03f901d
target: fix incorrect arm cpu monitor mode encoding

According to the "Arm Arch Ref Manual ARMv7-a and ARMv7-R edition" the
CPSR encoding for Monitor mode is 0b10110 (22) not 0b11010 (26) as is
currently used.

Change-Id: I73373a0029a81abc92febf518b88bf0dd4dec1fa
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2081
Reviewed-by: Jörg Wunsch <openocd@uriah.heep.sax.de>
Tested-by: jenkins
Reviewed-by: Younes REGAIEG <y.regaieg@gmail.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/arm.h