Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helper struct to manage device interrupt mode
A device may support multiple interrupt modes. For example, a PCI device may support legacy, PCI MSI and PCI MSIx interrupts. So add struct DeviceInterruptManager to manage the device interupt working mode. This interrupt manager helps a device backend driver to manage its interrupts and provides interfaces to switch interrupt working modes. Signed-off-by: Liu Jiang <[email protected]>
- Loading branch information