jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / target / dsp563xx.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4 * Copyright (C) 2009-2011 by Mathias Kuester *
5 * mkdorg@users.sourceforge.net *
6 ***************************************************************************/
7
8 #ifndef OPENOCD_TARGET_DSP563XX_H
9 #define OPENOCD_TARGET_DSP563XX_H
10
11 #include <jtag/jtag.h>
12 #include <target/dsp563xx_once.h>
13
14 #define DSP563XX_NUMCOREREGS 54
15 #define DSP563XX_NUMONCEREGS 25
16
17 struct mcu_jtag {
18 struct jtag_tap *tap;
19 };
20
21 enum breakpoint_usage {
22 BPU_NONE = 0,
23 BPU_BREAKPOINT,
24 BPU_WATCHPOINT
25 };
26
27 struct hardware_breakpoint {
28 enum breakpoint_usage used;
29 };
30
31 struct dsp563xx_common {
32 struct mcu_jtag jtag_info;
33 struct reg_cache *core_cache;
34 uint32_t core_regs[DSP563XX_NUMCOREREGS];
35 struct once_reg once_regs[DSP563XX_NUMONCEREGS];
36
37 /* register cache to processor synchronization */
38 int (*read_core_reg)(struct target *target, int num);
39 int (*write_core_reg)(struct target *target, int num);
40
41 struct hardware_breakpoint hardware_breakpoint[1];
42
43 /*Were the hardware breakpoints cleared on startup?*/
44 bool hardware_breakpoints_cleared;
45 };
46
47 struct dsp563xx_core_reg {
48 uint32_t num;
49 const char *name;
50 uint32_t size;
51 uint8_t eame;
52 uint32_t instr_mask;
53 struct target *target;
54 struct dsp563xx_common *dsp563xx_common;
55 };
56
57 static inline struct dsp563xx_common *target_to_dsp563xx(struct target *target)
58 {
59 return target->arch_info;
60 }
61
62 #endif /* OPENOCD_TARGET_DSP563XX_H */

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)