#include "serial.h"
-struct rom_cmd_data {
- char *cmd; /* command to send */
- char *delim; /* the delimiter */
- char *result; /* the result */
-};
-
/* This structure describes the strings necessary to give small command
sequences to the monitor, and parse the response.
struct regrw_cmd
{
char *cmd; /* Command to send for reg read/write */
- char *resp_delim; /* String just prior to the desired value */
+ char *resp_delim; /* String (actually a regexp if getmem) just
+ prior to the desired value */
char *term; /* Terminating string to search for */
char *term_cmd; /* String to get out of sub-mode (if necessary) */
};