53 "<address> <length>" );
int parse_integer(char *text, unsigned int *value)
Parse integer value.
struct arbelprm_rc_send_wqe rc
static int imgmem_exec(int argc, char **argv)
The "imgmem" command.
int optind
Current option index.
static struct command_descriptor imgmem_cmd
"imgmem" command descriptor
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Parse command-line options.
Access to external ("user") memory.
int parse_string(char *text, char **value)
Parse string value.
Command line option parsing.
static struct option_descriptor imgmem_opts[]
"imgmem" option list
#define OPTION_DESC(_longopt, _shortopt, _has_arg, _struct, _field, _parse)
Construct option descriptor.
Option requires an argument.
A command-line option descriptor.
uint8_t data[48]
Additional event data.
static union @447 opts
"cert<xxx>" option list
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
int imgmem(const char *name, const void *data, size_t len)
Create image from block of memory.
COMMAND(imgmem, imgmem_exec)
Read memory command.