Get rid of PCI register size map
This commit is contained in:
@@ -48,8 +48,12 @@ typedef union {
|
||||
#define PCI_DEV_PER_BUS 32
|
||||
#define PCI_FN_PER_DEV 32
|
||||
|
||||
uint32_t pci_read(PciDev dev, uint32_t field);
|
||||
void pci_write(PciDev dev, uint32_t field, uint32_t v);
|
||||
uint32_t pci_read32(PciDev dev, uint32_t field);
|
||||
uint16_t pci_read16(PciDev dev, uint32_t field);
|
||||
uint8_t pci_read8(PciDev dev, uint32_t field);
|
||||
void pci_write32(PciDev dev, uint32_t field, uint32_t v);
|
||||
void pci_write16(PciDev dev, uint32_t field, uint16_t v);
|
||||
void pci_write8(PciDev dev, uint32_t field, uint8_t v);
|
||||
uint32_t pci_devtype(PciDev dev);
|
||||
uint32_t pci_scndrybus(PciDev dev);
|
||||
uint32_t pci_isend(PciDev dev);
|
||||
|
||||
Reference in New Issue
Block a user