2007-11-23 12:52:34 +01:00
|
|
|
#ifndef PCI_HELPER
|
|
|
|
#define PCI_HELPER
|
|
|
|
|
2010-04-07 15:35:56 +02:00
|
|
|
_PROTOTYPE( unsigned pci_inb, (u16_t port) );
|
|
|
|
_PROTOTYPE( unsigned pci_inw, (u16_t port) );
|
|
|
|
_PROTOTYPE( unsigned pci_inl, (u16_t port) );
|
2007-11-23 12:52:34 +01:00
|
|
|
|
2010-04-07 15:35:56 +02:00
|
|
|
_PROTOTYPE( void pci_outb, (u16_t port, u8_t value) );
|
|
|
|
_PROTOTYPE( void pci_outw, (u16_t port, u16_t value) );
|
|
|
|
_PROTOTYPE( void pci_outl, (u16_t port, u32_t value) );
|
2007-11-23 12:52:34 +01:00
|
|
|
|
|
|
|
#endif
|