openocd/src/target
Nicolas Pitre ed59dfc80a basic ARM semihosting support
Semihosting enables code running on an ARM target to use the
I/O facilities on the host computer. The target application must
be linked against a library that forwards operation requests by
using the SVC instruction that is trapped at the Supervisor Call
vector by the debugger.  The "hosted" library version provided
with CodeSourcery's Sourcery G++ Lite for ARM EABI is one example.

This is currently available for ARM9 processors, but any ARM
variant should be able to support this with little additional work.

Tested using binaries compiled with Sourcery G++ Lite 2009q1-161
and ARM RVCT 3.0.

[dbrownell@users.sourceforge.net: doc tweaks, NEWS]

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 18:42:01 -08:00
..
ecos - reverted some of the changes that possibly broke arm926ejs. Waiting 2008-04-04 13:47:38 +00:00
xscale Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
Makefile.am basic ARM semihosting support 2009-12-03 18:42:01 -08:00
algorithm.c change #include "binarybuffer.h" to <helper/binarybuffer.h> 2009-12-03 04:22:17 -08:00
algorithm.h target: don't implicitly include "algorithm.h" 2009-11-16 00:35:05 -08:00
arm7_9_common.c basic ARM semihosting support 2009-12-03 18:42:01 -08:00
arm7_9_common.h change #include "armv4_5.h" to <target/armv4_5.h> 2009-12-03 04:24:41 -08:00
arm7tdmi.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
arm7tdmi.h change #include "embeddedice.h" to <target/embeddedice.h> 2009-12-03 04:24:41 -08:00
arm9tdmi.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
arm9tdmi.h change #include "embeddedice.h" to <target/embeddedice.h> 2009-12-03 04:24:41 -08:00
arm11.c ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm11.h ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm11_dbgtap.c ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm11_dbgtap.h ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm720t.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm720t.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm920t.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm920t.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm926ejs.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm926ejs.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm966e.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
arm966e.h change #include "arm9tdmi.h" to <target/arm9tdmi.h> 2009-12-03 04:24:40 -08:00
arm_adi_v5.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm_adi_v5.h change #include "arm_jtag.h" to <target/arm_jtag.h> 2009-12-03 04:24:40 -08:00
arm_disassembler.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
arm_disassembler.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
arm_dpm.c doxygen: remove some warnings 2009-12-03 18:31:38 -08:00
arm_dpm.h ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm_jtag.c remove unused arm_jtag_buf_to_* helpers 2009-11-14 18:21:02 -08:00
arm_jtag.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
arm_semihosting.c basic ARM semihosting support 2009-12-03 18:42:01 -08:00
arm_semihosting.h basic ARM semihosting support 2009-12-03 18:42:01 -08:00
arm_simulator.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
arm_simulator.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
armv4_5.c change #include "binarybuffer.h" to <helper/binarybuffer.h> 2009-12-03 04:22:17 -08:00
armv4_5.h change #include "target.h" to <target/target.h> 2009-12-03 04:24:42 -08:00
armv4_5_cache.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_cache.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.h change #include "armv4_5_cache.h" to <target/armv4_5_cache.h> 2009-12-03 04:24:41 -08:00
armv7a.c ARMv7-A: tweak arch_state() 2009-12-03 16:18:24 -08:00
armv7a.h ARM DPM: make DSCR bit defs sharable 2009-12-03 16:08:04 -08:00
armv7m.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
armv7m.h change #include "armv4_5.h" to <target/armv4_5.h> 2009-12-03 04:24:41 -08:00
avrt.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
avrt.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
breakpoints.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
breakpoints.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
cortex_a8.c ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
cortex_a8.h change #include "armv7a.h" to <target/armv7a.h> 2009-12-03 04:24:41 -08:00
cortex_m3.c Cortex-M3: don't chain "struct arm" commands 2009-11-28 14:19:45 -08:00
cortex_m3.h change #include "armv7m.h" to <target/armv7m.h> 2009-12-03 04:24:41 -08:00
embeddedice.c target: target_get_name() --> target_type_name() 2009-11-25 16:38:08 -08:00
embeddedice.h change #include "arm7_9_common.h" to <target/arm7_9_common.h> 2009-12-03 04:24:40 -08:00
etb.c remove register_commands from etm_capture_driver 2009-11-24 21:37:36 -08:00
etb.h etm_context_t -> struct etm_context 2009-11-13 11:58:13 -08:00
etm.c target: create and use target_name() 2009-11-25 16:38:08 -08:00
etm.h change #include "trace.h" to <target/trace.h> 2009-12-03 04:24:42 -08:00
etm_dummy.c remove register_commands from etm_capture_driver 2009-11-24 21:37:36 -08:00
etm_dummy.h change #include "etm.h" to <target/etm.h> 2009-12-03 04:24:41 -08:00
fa526.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
feroceon.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
image.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
image.h change #include "fileio.h" to <helper/fileio.h> 2009-12-03 04:22:51 -08:00
mips32.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
mips32.h change #include "target.h" to <target/target.h> 2009-12-03 04:24:42 -08:00
mips32_dmaacc.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_dmaacc.h change #include "mips_ejtag.h" to <target/mips_ejtag.h> 2009-12-03 04:24:41 -08:00
mips32_pracc.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips32_pracc.h change #include "mips_ejtag.h" to <target/mips_ejtag.h> 2009-12-03 04:24:41 -08:00
mips_ejtag.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips_ejtag.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
mips_m4k.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
mips_m4k.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
oocd_trace.c remove register_commands from etm_capture_driver 2009-11-24 21:37:36 -08:00
oocd_trace.h change #include "etm.h" to <target/etm.h> 2009-12-03 04:24:41 -08:00
register.c change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
register.h target: make register flags "bool" 2009-11-22 10:27:29 -08:00
startup.tcl improve startup tcl scripts 2009-11-24 21:37:29 -08:00
target.c change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
target.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
target_request.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
target_request.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
target_type.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
testee.c change #include "../hello.h" to "hello.h" 2009-12-03 04:24:50 -08:00
trace.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
trace.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
xscale.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
xscale.h change #include "trace.h" to <target/trace.h> 2009-12-03 04:24:42 -08:00