- 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
This commit is contained in:
drath
2008-02-23 16:30:13 +00:00
parent 88b767e3ec
commit 11ef6e6485
3 changed files with 94 additions and 32 deletions

View File

@@ -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;