diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-24 21:24:44 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-24 21:24:44 -0800 |
commit | c008d30fe85a674842632e32d732e22e0a91b95d (patch) | |
tree | a2de30f8dd613f9347980406fef10e58563849b6 /src/target/arm_dpm.h | |
parent | 991daa03ebbc69829be4a3899b77efb981254038 (diff) | |
download | riscv-openocd-c008d30fe85a674842632e32d732e22e0a91b95d.zip riscv-openocd-c008d30fe85a674842632e32d732e22e0a91b95d.tar.gz riscv-openocd-c008d30fe85a674842632e32d732e22e0a91b95d.tar.bz2 |
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 <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_dpm.h')
-rw-r--r-- | src/target/arm_dpm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h index 06b548e..67ce218 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. */ |