guest_msi_decode_table_cb_t

Function prototype for the callback to decode a firmware table

Synopsis:

#include <qvm/guest.h>
typedef errno_t guest_msi_decode_table_cb_t(vdev_t *pic,
                                            fw_table_payload_fmt_t payload_fmt,
                                            void* data,
                                            size_t *data_len,
                                            void **host_data,
                                            size_t *host_data_len);

Arguments:

pic
A pointer to a PIC vdev.
payload_fmt
An FTPF_FDT_* value indicating the table payload format.
data
A pointer to the table data.
data_len
A pointer to the length of the table data in FDT cells.
host_data
A pointer to a location for storing the address of the decoded (i.e., host view) information.
host_data_len
A pointer to a location for storing the length of the decoded (host view) information as the number of FDT cells.
Page updated: