This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2081

-- gerrit

commit 997ac5f0c0d9fb560a5c10e0292aaaf834d65af3
Author: Tim Sander <[email protected]>
Date:   Mon Mar 31 21:21:44 2014 +0100

    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 <[email protected]>

diff --git a/src/target/arm.h b/src/target/arm.h
index c7c8dc0..fb095b0 100644
--- a/src/target/arm.h
+++ b/src/target/arm.h
@@ -59,7 +59,7 @@ enum arm_mode {
        ARM_MODE_IRQ = 18,
        ARM_MODE_SVC = 19,
        ARM_MODE_ABT = 23,
-       ARM_MODE_MON = 26,
+       ARM_MODE_MON = 22,
        ARM_MODE_UND = 27,
        ARM_MODE_SYS = 31,
 

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to