mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
pci/msi: export msi_is_masked()
It is going to be used later on outside MSI code to detect whether one MSI vector is masked out. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d7bb469afa
commit
afa26ecc30
2 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ int msi_init(struct PCIDevice *dev, uint8_t offset,
|
|||
bool msi_per_vector_mask, Error **errp);
|
||||
void msi_uninit(struct PCIDevice *dev);
|
||||
void msi_reset(PCIDevice *dev);
|
||||
bool msi_is_masked(const PCIDevice *dev, unsigned int vector);
|
||||
void msi_notify(PCIDevice *dev, unsigned int vector);
|
||||
void msi_send_message(PCIDevice *dev, MSIMessage msg);
|
||||
void msi_write_config(PCIDevice *dev, uint32_t addr, uint32_t val, int len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue