jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / target / target_request.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4 * Copyright (C) 2007 by Dominic Rath *
5 * Dominic.Rath@gmx.de *
6 * *
7 * Copyright (C) 2007,2008 Øyvind Harboe *
8 * oyvind.harboe@zylin.com *
9 * *
10 * Copyright (C) 2008 by Spencer Oliver *
11 * spen@spen-soft.co.uk *
12 ***************************************************************************/
13
14 #ifndef OPENOCD_TARGET_TARGET_REQUEST_H
15 #define OPENOCD_TARGET_TARGET_REQUEST_H
16
17 struct target;
18 struct command_context;
19
20 typedef enum target_req_cmd {
21 TARGET_REQ_TRACEMSG,
22 TARGET_REQ_DEBUGMSG,
23 TARGET_REQ_DEBUGCHAR,
24 /* TARGET_REQ_SEMIHOSTING, */
25 } target_req_cmd_t;
26
27 struct debug_msg_receiver {
28 struct command_context *cmd_ctx;
29 struct debug_msg_receiver *next;
30 };
31
32 int target_request(struct target *target, uint32_t request);
33 int delete_debug_msg_receiver(struct command_context *cmd_ctx,
34 struct target *target);
35 int target_request_register_commands(struct command_context *cmd_ctx);
36 /**
37 * Read and clear the flag as to whether we got a message.
38 *
39 * This is used to implement the back-off algorithm on
40 * sleeping in idle mode.
41 */
42 bool target_got_message(void);
43
44 #endif /* OPENOCD_TARGET_TARGET_REQUEST_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)