aarch64: introduce dpm extension for ARMv8
[fw/openocd] / src / target / arm_dpm.h
index 5b16e6481728992821bb2d35f174e184ef977016..ad49b8c44c5b6c12a004f0726e6ae9585c391fce 100644 (file)
@@ -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. */