X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Farmv4_5.c;h=5b24e69a9bd650530bc1c379a7e2eddd8c73f2ff;hb=21e6357010fe2a7aa2c189e6c75c1f862130408e;hp=e75fe99c4dd9b0c71a2c2da5870fe2769ee9e6d7;hpb=dccbf7d88d05a1f7a22f164ef149777718a399ed;p=openocd diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index e75fe99c..5b24e69a 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -140,6 +140,12 @@ static const struct { .n_indices = ARRAY_SIZE(arm_mon_indices), .indices = arm_mon_indices, }, + { + .name = "Secure Monitor ARM1176JZF-S", + .psr = ARM_MODE_1176_MON, + .n_indices = ARRAY_SIZE(arm_mon_indices), + .indices = arm_mon_indices, + }, /* These special modes are currently only supported * by ARMv6M and ARMv7M profiles */ @@ -199,6 +205,7 @@ int arm_mode_to_number(enum arm_mode mode) case ARM_MODE_SYS: return 6; case ARM_MODE_MON: + case ARM_MODE_1176_MON: return 7; default: LOG_ERROR("invalid mode value encountered %d", mode);