Audit and remove redundant uses of replacements.h in the tree.
[openocd.git] / src / target / arm7_9_common.h
index de2aef86e29eee1f4d1ec37b0f8609b15f6ac115..04e29e05808904a6b30b7efe00d9398f3e8edd98 100644 (file)
 #ifndef ARM7_9_COMMON_H
 #define ARM7_9_COMMON_H
 
-#include "armv4_5.h"
-#include "arm_jtag.h"
 #include "breakpoints.h"
-#include "target.h"
-
 #include "etm.h"
 
 #define        ARM7_9_COMMON_MAGIC 0x0a790a79
 typedef struct arm7_9_common_s
 {
        u32 common_magic;
-       
+
        arm_jtag_t jtag_info;
        reg_cache_t *eice_cache;
-       
+
        u32 arm_bkpt;
        u16 thumb_bkpt;
        int sw_breakpoints_added;
@@ -58,32 +54,32 @@ typedef struct arm7_9_common_s
        int dbgreq_adjust_pc;
        int use_dbgrq;
        int need_bypass_before_restart;
-       
+
        etm_context_t *etm_ctx;
-       
+
        int has_single_step;
        int has_monitor_mode;
        int has_vector_catch;
-       
+
        int debug_entry_from_reset;
-       
+
        struct working_area_s *dcc_working_area;
-       
+
        int fast_memory_access;
        int dcc_downloads;
 
        int (*examine_debug_reason)(target_t *target);
-       
+
        void (*change_to_arm)(target_t *target, u32 *r0, u32 *pc);
-       
+
        void (*read_core_regs)(target_t *target, u32 mask, u32 *core_regs[16]);
        void (*read_core_regs_target_buffer)(target_t *target, u32 mask, void *buffer, int size);
        void (*read_xpsr)(target_t *target, u32 *xpsr, int spsr);
-       
+
        void (*write_xpsr)(target_t *target, u32 xpsr, int spsr);
        void (*write_xpsr_im8)(target_t *target, u8 xpsr_im, int rot, int spsr);
        void (*write_core_regs)(target_t *target, u32 mask, u32 core_regs[16]);
-       
+
        void (*load_word_regs)(target_t *target, u32 mask);
        void (*load_hword_reg)(target_t *target, int num);
        void (*load_byte_reg)(target_t *target, int num);
@@ -91,22 +87,22 @@ typedef struct arm7_9_common_s
        void (*store_word_regs)(target_t *target, u32 mask);
        void (*store_hword_reg)(target_t *target, int num);
        void (*store_byte_reg)(target_t *target, int num);
-       
+
        void (*write_pc)(target_t *target, u32 pc);
        void (*branch_resume)(target_t *target);
        void (*branch_resume_thumb)(target_t *target);
-       
+
        void (*enable_single_step)(target_t *target, u32 next_pc);
        void (*disable_single_step)(target_t *target);
-       
+
        void (*set_special_dbgrq)(target_t *target);
 
        void (*pre_debug_entry)(target_t *target);
        void (*post_debug_entry)(target_t *target);
-       
+
        void (*pre_restore_context)(target_t *target);
        void (*post_restore_context)(target_t *target);
-       
+
        armv4_5_common_t armv4_5_common;
        void *arch_info;
 
@@ -127,7 +123,6 @@ int arm7_9_soft_reset_halt(struct target_s *target);
 int arm7_9_prepare_reset_halt(struct target_s *target);
 
 int arm7_9_halt(target_t *target);
-int arm7_9_debug_entry(target_t *target);
 int arm7_9_full_context(target_t *target);
 int arm7_9_restore_context(target_t *target);
 int arm7_9_resume(struct target_s *target, int current, u32 address, int handle_breakpoints, int debug_execution);

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)