From 11ef6e64856eef2f7ad09af83128a78c01e01cf7 Mon Sep 17 00:00:00 2001 From: drath Date: Sat, 23 Feb 2008 16:30:13 +0000 Subject: - 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 --- src/target/arm926ejs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/arm926ejs.h') 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; -- cgit v1.2.3