diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-19 22:39:35 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-19 22:39:35 +0000 |
commit | 9eb3181cc8bb0b82d6c9e580c2042274e5490b77 (patch) | |
tree | 55a86b8cc6aca10419358580fec699ef6943dd6d /src/target/arm9tdmi.h | |
parent | 13e592f9f68de793bd6681fc8cb43091031cb7c0 (diff) | |
download | riscv-openocd-9eb3181cc8bb0b82d6c9e580c2042274e5490b77.zip riscv-openocd-9eb3181cc8bb0b82d6c9e580c2042274e5490b77.tar.gz riscv-openocd-9eb3181cc8bb0b82d6c9e580c2042274e5490b77.tar.bz2 |
Paulius Zaleckas <paulius.zaleckas@gmail.com>:
This is minimal patch to support FA526 ARMv4 compatible core.
Since it is very similar to ARM920T I tried to reuse as much
code as possible.
CPU and board configs will follow soon.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2292 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm9tdmi.h')
-rw-r--r-- | src/target/arm9tdmi.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h index 3ba46b9..fc84e4b 100644 --- a/src/target/arm9tdmi.h +++ b/src/target/arm9tdmi.h @@ -63,4 +63,17 @@ extern int arm9tdmi_clock_data_in_endianness(arm_jtag_t *jtag_info, void *in, in extern void arm9tdmi_read_core_regs(target_t *target, uint32_t mask, uint32_t* core_regs[16]); extern void arm9tdmi_write_core_regs(target_t *target, uint32_t mask, uint32_t core_regs[16]); +extern int arm9tdmi_examine_debug_reason(target_t *target); + +extern void arm9tdmi_load_word_regs(target_t *target, uint32_t mask); +extern void arm9tdmi_load_hword_reg(target_t *target, int num); +extern void arm9tdmi_load_byte_reg(target_t *target, int num); +extern void arm9tdmi_store_word_regs(target_t *target, uint32_t mask); +extern void arm9tdmi_store_hword_reg(target_t *target, int num); +extern void arm9tdmi_store_byte_reg(target_t *target, int num); + +extern void arm9tdmi_branch_resume(target_t *target); +extern void arm9tdmi_enable_single_step(target_t *target, uint32_t next_pc); +extern void arm9tdmi_disable_single_step(target_t *target); + #endif /* ARM9TDMI_H */ |