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/arm920t.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/arm920t.h')
-rw-r--r-- | src/target/arm920t.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/target/arm920t.h b/src/target/arm920t.h index 7c5b1b8..6e4c237 100644 --- a/src/target/arm920t.h +++ b/src/target/arm920t.h @@ -51,4 +51,15 @@ typedef struct arm920t_tlb_entry_s uint32_t ram2; } arm920t_tlb_entry_t; +int arm920t_arch_state(struct target_s *target); +int arm920t_soft_reset_halt(struct target_s *target); +int arm920t_read_memory(struct target_s *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +int arm920t_write_memory(struct target_s *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +void arm920t_post_debug_entry(target_t *target); +void arm920t_pre_restore_context(target_t *target); +uint32_t arm920t_get_ttb(target_t *target); +void arm920t_disable_mmu_caches(target_t *target, int mmu, int d_u_cache, int i_cache); +void arm920t_enable_mmu_caches(target_t *target, int mmu, int d_u_cache, int i_cache); +int arm920t_register_commands(struct command_context_s *cmd_ctx); + #endif /* ARM920T_H */ |