guest_msi_register()
Register a PIC MSI handle
Synopsis:
#include <qvm/guest.h>void guest_msi_register(vdev_t *const pic,
uint64_t const paddr,
uint64_t const mask,
guest_msi_deliver_func_t *deliver,
unsigned cookie)Arguments:
- pic
- A pointer to a PIC vdev.
- paddr
- The guest physical address being registered.
- mask
- A mask to apply when checking against paddr.
- deliver
- A pointer to the function to call when an MSI is signaled (see guest_msi_deliver_func_t).
- cookie
- A value to be passed back to the deliver callback.
Description:
Call this function during startup to register a handle for Programmable Interrupt Controller (PIC) Message Signaled Interrupts (MSIs).
Page updated:
