rtp_ops struct
Actions/operations to be executed while parsing ROM tables.
Syntax
struct rtp_ops
{
int (*ap_header)(struct adiv5_ap *ap, int depth, void *priv);
int (*mem_ap_header)(int retval, struct adiv5_ap *ap, uint64_t dbgbase,
uint32_t apid, int depth, void *priv);
int (*cs_component)(int retval, struct cs_component_vals *v, int depth, void *priv);
int (*rom_table_entry)(int retval, int depth, unsigned int offset, uint64_t romentry,
void *priv);
void *priv;
};
Fields
int (*)(struct adiv5_ap *ap, int depth, void *priv) Executed at the start of a new AP, typically to print the AP header.
int (*)(int retval, struct adiv5_ap *ap, uint64_t dbgbase,
uint32_t apid, int depth, void *priv)
Executed at the start of a new MEM-AP, typically to print the MEM-AP header.
Executed when a CoreSight component is parsed, typically to print information on the component.
int (*)(int retval, int depth, unsigned int offset, uint64_t romentry,
void *priv)
Executed for each entry of a ROM table, typically to print the entry and information about validity or end-of-table mark.