c114df82ec
Remove all uses of U16_t and U32_t in pci-related code. If necessary to avoid problems, change functions to ansi-style declaration.
12 lines
353 B
C
12 lines
353 B
C
#ifndef PCI_HELPER
|
|
#define PCI_HELPER
|
|
|
|
_PROTOTYPE( unsigned pci_inb, (u16_t port) );
|
|
_PROTOTYPE( unsigned pci_inw, (u16_t port) );
|
|
_PROTOTYPE( unsigned pci_inl, (u16_t port) );
|
|
|
|
_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) );
|
|
|
|
#endif
|