mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
pci: msi support, switch to use PCI_{READ,WRITE}* macros
This commit is contained in:
@@ -88,6 +88,8 @@ void pci_setcommand(pcienum_t *e, int mask, int v);
|
||||
size_t pci_initmsix(pcienum_t *e);
|
||||
void pci_msixsetmask(pcienum_t *e, int v);
|
||||
void pci_msixadd(pcienum_t *e, int msixvec, int vec, int edgetrigger, int deassert);
|
||||
size_t pci_initmsi(pcienum_t *e, int requested);
|
||||
void pci_msisetbase(pcienum_t *e, int base, int edgetrigger, int deassert);
|
||||
void pci_init();
|
||||
|
||||
#define PCI_READ32(e, offset) pci_read32(e->bus, e->device, e->function, offset)
|
||||
|
||||
Reference in New Issue
Block a user