diff options
author | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2016-09-03 23:20:58 +0200 |
---|---|---|
committer | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2017-02-10 14:01:38 +0100 |
commit | a3b9e12aecc3021bc3022eca93d07f7d11255b3b (patch) | |
tree | 82b35ea3737b66feeadfdff5846759c355cc50c2 /src/target/arm_dpm.h | |
parent | df32af234cae1f24b0a0f3abf4b50859f9d26740 (diff) | |
download | riscv-openocd-a3b9e12aecc3021bc3022eca93d07f7d11255b3b.zip riscv-openocd-a3b9e12aecc3021bc3022eca93d07f7d11255b3b.tar.gz riscv-openocd-a3b9e12aecc3021bc3022eca93d07f7d11255b3b.tar.bz2 |
aarch64: introduce dpm extension for ARMv8
Add or move ARMv8 related dpm function to their own source module
Change-Id: Id93d50be0b8635bd40ddb2a74fe8746ff840d736
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Diffstat (limited to 'src/target/arm_dpm.h')
-rw-r--r-- | src/target/arm_dpm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h index 5b16e64..ad49b8c 100644 --- a/src/target/arm_dpm.h +++ b/src/target/arm_dpm.h @@ -59,7 +59,7 @@ struct arm_dpm { struct arm *arm; /** Cache of DIDR */ - uint32_t didr; + uint64_t didr; /** Invoke before a series of instruction operations */ int (*prepare)(struct arm_dpm *); @@ -67,6 +67,9 @@ struct arm_dpm { /** Invoke after a series of instruction operations */ int (*finish)(struct arm_dpm *); + /** Runs one instruction. */ + int (*instr_execute)(struct arm_dpm *, uint32_t opcode); + /* WRITE TO CPU */ /** Runs one instruction, writing data to DCC before execution. */ |