2007-11-23 12:40:33 +01:00
|
|
|
#ifndef PCI_HELPER
|
|
|
|
#define PCI_HELPER
|
|
|
|
|
2012-03-24 16:16:34 +01:00
|
|
|
unsigned pci_inb(u16_t port);
|
|
|
|
unsigned pci_inw(u16_t port);
|
|
|
|
unsigned pci_inl(u16_t port);
|
2007-11-23 12:40:33 +01:00
|
|
|
|
2012-03-24 16:16:34 +01:00
|
|
|
void pci_outb(u16_t port, u8_t value);
|
|
|
|
void pci_outw(u16_t port, u16_t value);
|
|
|
|
void pci_outl(u16_t port, u32_t value);
|
2007-11-23 12:40:33 +01:00
|
|
|
|
|
|
|
#endif
|