gfdt_intr_spec()

Get the FDT data representing an interrupt (ARM)

Synopsis:

#include <qvm/firmware.h>
size_t gfdt_intr_spec(guest_intr_t *gip,
                      fw_table_payload_fmt_t payload_fmt,
                      void *buf,
                      size_t buf_len)

Arguments:

gip
A pointer to the structure for the interrupt whose data is being retrieved.
payload_fmt
The piece of the table specification to get (see fw_table_payload_fmt_t).
buf
A pointer to a buffer for storing the interrupt data.
buf_len
The length of the buffer.

Returns:

The number of bytes in the table specification.

Page updated: