change #include "arm_jtag.h" to <target/arm_jtag.h>
[fw/openocd] / src / target / arm11.h
index cde6c787d014504c69f8c8737acf12b20d10d315..fd14720760cc379257b3f210dcb87e95903cc472 100644 (file)
@@ -24,9 +24,7 @@
 #define ARM11_H
 
 #include "armv4_5.h"
-#include "arm_dpm.h"
-
-#define ARM11_REGCACHE_COUNT           2
+#include <target/arm_dpm.h>
 
 #define ARM11_TAP_DEFAULT                      TAP_INVALID
 
@@ -59,25 +57,15 @@ struct arm11_common
        size_t  wrp;                    /**< Number of Watchpoint Register Pairs from DIDR      */
        size_t  free_brps;              /**< Number of breakpoints allocated */
 
-       uint32_t                last_dscr;              /**< Last retrieved DSCR value;
-                                                            Use only for debug message generation              */
+       uint32_t dscr;                  /**< Last retrieved DSCR value. */
 
        uint32_t saved_rdtr;
+       uint32_t saved_wdtr;
 
        bool is_rdtr_saved;
-       bool    simulate_reset_on_next_halt;    /**< Perform cleanups of the ARM state on next halt */
-
-       /** \name Shadow registers to save debug state */
-       /*@{*/
-
-       struct reg *    reg_list;                                                       /**< target register list */
-       uint32_t                reg_values[ARM11_REGCACHE_COUNT];       /**< data for registers */
+       bool is_wdtr_saved;
 
-       /*@}*/
-
-
-       // GA
-       struct reg_cache *core_cache;
+       bool    simulate_reset_on_next_halt;    /**< Perform cleanups of the ARM state on next halt */
 
        struct arm_jtag jtag_info;
 };