Retire obsolete and superfluous implementations of virt2phys in each target. This...
[fw/openocd] / src / target / armv4_5.h
index aed3a48de318fbba8aea8826a9c726e111e40dc0..7ea3826ab092a347b64ef10aa03edf9f36e37709 100644 (file)
@@ -74,8 +74,9 @@ typedef struct armv4_5_common_s
 {
        int common_magic;
        reg_cache_t *core_cache;
-       enum armv4_5_mode core_mode;
+       int /* armv4_5_mode */ core_mode;
        enum armv4_5_state core_state;
+       bool is_armv4;
        int (*full_context)(struct target_s *target);
        int (*read_core_reg)(struct target_s *target, int num, enum armv4_5_mode mode);
        int (*write_core_reg)(struct target_s *target, int num, enum armv4_5_mode mode, uint32_t value);