target/mips32: add mips ejtag command
[openocd.git] / src / target / mips_ejtag.h
index 852444a5195ebde69f4de27a2a3ff3b8c279a761..172ac5955b5b8eff117917b75d8d7b856cf69f46 100644 (file)
 #define EJTAG64_V25_IBA0               0xFFFFFFFFFF301100ull
 #define EJTAG64_V25_IBS                        0xFFFFFFFFFF301000ull
 
+static const struct dcr_feature {
+       int bit;
+       const char *name;
+} dcr_features[] = {
+       {22, "DAS"},
+       {18, "FDC"},
+       {17, "DataBrk"},
+       {16, "InstBrk"},
+       {15, "Inverted Data value"},
+       {14, "Data value stored"},
+       {10, "Complex Breakpoints"},
+       { 9, "PC Sampling"},
+};
+
+#define EJTAG_DCR_ENTRIES (ARRAY_SIZE(dcr_features))
+
 struct mips_ejtag {
        struct jtag_tap *tap;
        uint32_t impcode;
@@ -244,6 +260,9 @@ int mips_ejtag_init(struct mips_ejtag *ejtag_info);
 int mips_ejtag_config_step(struct mips_ejtag *ejtag_info, int enable_step);
 int mips64_ejtag_config_step(struct mips_ejtag *ejtag_info, bool enable_step);
 
+void ejtag_main_print_imp(struct mips_ejtag *ejtag_info);
+int mips_ejtag_get_impcode(struct mips_ejtag *ejtag_info);
+
 static inline void mips_le_to_h_u32(jtag_callback_data_t arg)
 {
        uint8_t *in = (uint8_t *)arg;

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)