openocd/src/target
Linus Walleij fed7131049 armv4_5: support weirdo ARMv6 secure monitor mode
On the ARM PB1176JZF-S the system comes up in secure monitor
mode after reset. However the modebits in CPSR form the value
28 (0x1c) and CPSR is 0x800001dc deeming it UNRECOGNIZED.
Define this mode to be synonymous to mode 22 (MON) and things
start to work like a charm.

Change-Id: I001f7773ee1076202c0c633e466d2d833f7a1413
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-on: http://openocd.zylin.com/3196
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-29 20:14:12 +00:00
..
openrisc openrisc: add profiling function 2015-03-09 06:38:15 +00:00
xscale update files to correct FSF address 2013-06-05 19:52:42 +00:00
adi_v5_jtag.c adiv5: introduce optional dap_sync() function 2016-01-22 13:00:27 +00:00
adi_v5_swd.c adi_v5_swd: Avoid special handling the SELECT cache during connect 2016-02-22 23:15:57 +00:00
algorithm.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
algorithm.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm_adi_v5.c arm_adi_v5: Rewrite dap_rom_display 2016-02-25 19:21:13 +00:00
arm_adi_v5.h adi_v5: Remove forgotten FIXME definition 2016-02-22 18:55:05 +00:00
arm_disassembler.c arm_disassembler: bugfix, MRRC instruction not recognized 2016-02-29 19:14:06 +00:00
arm_disassembler.h target/arm_disassembler: add exception related disassembly 2015-03-09 06:35:21 +00:00
arm_dpm.c armv7m: add FPU registers support 2015-03-09 06:36:30 +00:00
arm_dpm.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm_jtag.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm_jtag.h target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm_opcodes.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm_semihosting.c target: constify structures 2014-10-06 11:57:40 +00:00
arm_semihosting.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm_simulator.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm_simulator.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm.h armv4_5: support weirdo ARMv6 secure monitor mode 2016-02-29 20:14:12 +00:00
arm7_9_common.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm7_9_common.h arm7_9: Avoid infinite loops in bulk write dispatching 2013-10-15 20:41:08 +00:00
arm7tdmi.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm7tdmi.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm9tdmi.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm9tdmi.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm11_dbgtap.c Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
arm11_dbgtap.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm11.c arm11: initialise DPM and register cache before reading DSCR for the first time 2015-03-09 06:39:28 +00:00
arm11.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm720t.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm720t.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm920t.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm920t.h arm7_9: Avoid infinite loops in bulk write dispatching 2013-10-15 20:41:08 +00:00
arm926ejs.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm926ejs.h arm7_9: Avoid infinite loops in bulk write dispatching 2013-10-15 20:41:08 +00:00
arm946e.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm946e.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
arm966e.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
arm966e.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cache.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cache.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_mmu.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_mmu.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5.c armv4_5: support weirdo ARMv6 secure monitor mode 2016-02-29 20:14:12 +00:00
armv4_5.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv7a_cache_l2x.c armv7a: fix handling of inner caches 2015-11-30 05:40:57 +00:00
armv7a_cache_l2x.h armv7a: remove special l2x flush-all and cache-info handlers 2015-11-30 05:40:34 +00:00
armv7a_cache.c armv7a: fix-up dcache clean and flush functions inner loop pattern 2015-11-30 05:43:42 +00:00
armv7a_cache.h cortex_a: Update instruction cache after setting a soft breakpoint 2015-11-30 05:43:03 +00:00
armv7a.c cortex_a: replace cortex_a_check_address function 2015-11-30 10:07:54 +00:00
armv7a.h arm_adi_v5: Convert the AP references from numbers to pointers 2015-12-29 20:28:33 +00:00
armv7m_trace.c server: tcl_trace command 2015-09-05 09:19:26 +01:00
armv7m_trace.h armv7m_trace, stlink: provide APIs to capture trace with an adapter 2015-03-25 20:46:59 +00:00
armv7m.c armv7m: Integrate build of erase check code 2016-02-29 19:45:36 +00:00
armv7m.h arm_adi_v5: Convert the AP references from numbers to pointers 2015-12-29 20:28:33 +00:00
avr32_ap7k.c target: constify structures 2014-10-06 11:57:40 +00:00
avr32_ap7k.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_jtag.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_jtag.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_mem.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_mem.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_regs.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
avr32_regs.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
avrt.c target: remove unimplemented target_request_data implementations 2013-09-08 16:12:41 +00:00
avrt.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
breakpoints.c target: constify structures 2014-10-06 11:57:40 +00:00
breakpoints.h gdb server: new feature, add stop reason in stop reply packet for gdb 2013-08-07 21:01:08 +00:00
cortex_a.c Cortex-A: Fix unicode quote in comment 2016-01-12 23:22:35 +00:00
cortex_a.h cortex_a: add 'dacrfixup' to cortex-a command group 2015-12-29 21:43:45 +00:00
cortex_m.c target: cortex_m: fix segfault with HLA 2015-12-30 11:06:32 +00:00
cortex_m.h target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
dsp563xx_once.c dsp563xx: Adding breakpoint/watchpoint support. 2013-07-15 10:05:15 +00:00
dsp563xx_once.h target: constify structures 2014-10-06 11:57:40 +00:00
dsp563xx.c target: constify structures 2014-10-06 11:57:40 +00:00
dsp563xx.h dsp563xx: Adding breakpoint/watchpoint support. 2013-07-15 10:05:15 +00:00
dsp5680xx.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
dsp5680xx.h flash: Constify write buffer 2014-03-17 12:47:18 +00:00
embeddedice.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
embeddedice.h Retire jtag_add_dr_out 2014-01-20 13:28:26 +00:00
etb.c Use (uint8_t *) for buf_(set|get)_u(32|64) instead of (void *) 2015-01-30 08:56:54 +00:00
etb.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
etm_dummy.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
etm_dummy.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
etm.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
etm.h Use (uint8_t *) for buf_(set|get)_u(32|64) instead of (void *) 2015-01-30 08:56:54 +00:00
fa526.c arm7_9: Avoid infinite loops in bulk write dispatching 2013-10-15 20:41:08 +00:00
feroceon.c target/arm: Remove usage of struct arm_jtag in ARMv7 targets 2015-12-29 20:27:01 +00:00
hla_target.c armv7m: add generic trace support (TPIU, ITM, etc.) 2015-03-25 20:46:43 +00:00
image.c helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
image.h Constify received GDB packet 2014-03-04 20:17:34 +00:00
lakemont.c quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
lakemont.h quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
Makefile.am quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
mips_ejtag.c Fix several format specifiers errors exposed by arm-none-eabi 2015-04-16 20:24:50 +01:00
mips_ejtag.h mips32.c: cache debug caps and support EJTAG 2.0 specific changes 2014-08-19 20:18:02 +00:00
mips_m4k.c mips_m4k.c: EJTAGBOOT and NORMALBOOT are not supported on EJTAG 2.0 2014-08-19 20:18:16 +00:00
mips_m4k.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
mips32_dmaacc.c Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
mips32_dmaacc.h Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
mips32_pracc.c target/mips32_pracc: fix C99 format specifiers 2014-05-31 12:02:28 +00:00
mips32_pracc.h mips32: new code for pracc exec 2014-05-09 20:40:31 +00:00
mips32.c Change isa string 2016-02-13 23:06:56 +00:00
mips32.h mips32: add gdb target description support 2015-02-11 22:11:19 +00:00
nds32_aice.c nds32: support multi-target debugging 2013-09-13 19:37:58 +00:00
nds32_aice.h nds32: support multi-target debugging 2013-09-13 19:37:58 +00:00
nds32_cmd.c target: remove memory leaks 2014-03-29 08:04:55 +00:00
nds32_cmd.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_disassembler.c target/nds32_disassembler: fix format specifiers warnings 2014-02-04 21:18:27 +00:00
nds32_disassembler.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_edm.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_insn.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_reg.c target: constify structures 2014-10-06 11:57:40 +00:00
nds32_reg.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_tlb.c nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_tlb.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_v2.c Conform to C99 integer types format specifiers 2014-01-15 12:40:42 +00:00
nds32_v2.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_v3_common.c Conform to C99 integer types format specifiers 2014-01-15 12:40:42 +00:00
nds32_v3_common.h nds32: remove .soft_reset_halt dependency 2013-09-13 19:38:09 +00:00
nds32_v3.c Conform to C99 integer types format specifiers 2014-01-15 12:40:42 +00:00
nds32_v3.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32_v3m.c Conform to C99 integer types format specifiers 2014-01-15 12:40:42 +00:00
nds32_v3m.h nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32.c nds32: Use the correct method to access registers 2015-02-11 22:16:51 +00:00
nds32.h nds32: Use the correct method to access registers 2015-02-11 22:16:51 +00:00
oocd_trace.c oocd_trace: fix warnings 2013-07-15 09:54:44 +00:00
oocd_trace.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
quark_d20xx.c quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
quark_x10xx.c quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
register.c target/cortex_m: do not leak memory on reexamination 2015-03-09 06:40:21 +00:00
register.h target/cortex_m: do not leak memory on reexamination 2015-03-09 06:40:21 +00:00
smp.c Use (uint8_t *) for buf_(set|get)_u(32|64) instead of (void *) 2015-01-30 08:56:54 +00:00
smp.h Constify received GDB packet 2014-03-04 20:17:34 +00:00
startup.tcl tcl: introduce using_(jtag|swd|hla) helpers and use them in reset handler 2014-06-28 09:28:12 +00:00
target_request.c target: check target supports target_request_data 2013-09-08 16:12:27 +00:00
target_request.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
target_type.h server, target, cortex_m: add deinit_target to the API to free resources 2015-03-09 08:34:46 +00:00
target.c quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
target.h server: tcl_trace command 2015-09-05 09:19:26 +01:00
testee.c target/testee: manage target->state 2015-08-06 13:13:52 +01:00
trace.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
trace.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
x86_32_common.c quark: updating license to GPLv2+ 2015-10-30 13:30:37 +00:00
x86_32_common.h quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
xscale.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
xscale.h target: xscale more human vector catching 2013-07-01 08:44:59 +00:00