From c008d30fe85a674842632e32d732e22e0a91b95d Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 24 Nov 2009 21:24:44 -0800 Subject: Cortex-A8: implement DPM This implements the DPM interface for Cortex-A8 cores. It also adds a synchronization operation to the DPM framework, which is needed by the Cortex-A8 after CPSR writes. Signed-off-by: David Brownell --- src/target/arm_dpm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/target/arm_dpm.h') diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h index 06b548ec..67ce2180 100644 --- a/src/target/arm_dpm.h +++ b/src/target/arm_dpm.h @@ -61,6 +61,9 @@ struct arm_dpm { int (*instr_write_data_r0)(struct arm_dpm *, uint32_t opcode, uint32_t data); + /** Optional core-specific operation invoked after CPSR writes. */ + int (*instr_cpsr_sync)(struct arm_dpm *dpm); + /* READ FROM CPU */ /** Runs one instruction, reading data from dcc after execution. */ -- cgit v1.2.3