1
2
3
4
5
6
7
8
9
10
15
16
17
18
19
20
#ifndef OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
#define OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
#include "or1k_tap.h"
#include "or1k.h"
#include "or1k_du.h"
struct jsp_service {
char *banner;
struct or1k_jtag *jtag_info;
struct connection *connection;
...};
int jsp_init(struct or1k_jtag *jtag_info, char *banner);
int jsp_register_commands(struct command_context *cmd_ctx);
void jsp_service_free(void);
/* ... */
#endif