diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-23 16:30:13 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-23 16:30:13 +0000 |
commit | 11ef6e64856eef2f7ad09af83128a78c01e01cf7 (patch) | |
tree | e88246c985ca6b055988ff2c4ded210b251d45af /src/target/arm926ejs.h | |
parent | 88b767e3ec35406e3297ae519fb02d7c0c07db67 (diff) |
- fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@324 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm926ejs.h')
-rw-r--r-- | src/target/arm926ejs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h index 5b77e44c..65e67c5d 100644 --- a/src/target/arm926ejs.h +++ b/src/target/arm926ejs.h @@ -35,6 +35,8 @@ typedef struct arm926ejs_common_s int common_magic; armv4_5_mmu_common_t armv4_5_mmu; arm9tdmi_common_t arm9tdmi_common; + int (*read_cp15)(target_t *target, u32 op1, u32 op2, u32 CRn, u32 CRm, u32 *value); + int (*write_cp15)(target_t *target, u32 op1, u32 op2, u32 CRn, u32 CRm, u32 value); u32 cp15_control_reg; u32 d_fsr; u32 i_fsr; |