diff options
Diffstat (limited to 'include/bsp/PCI.h')
-rw-r--r-- | include/bsp/PCI.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/bsp/PCI.h b/include/bsp/PCI.h new file mode 100644 index 0000000000..7b1526f84a --- /dev/null +++ b/include/bsp/PCI.h @@ -0,0 +1,42 @@ +/** + * @file + * + * This include file contains prototypes for chips attached to the + * PCI bus. + */ + +/* + * COPYRIGHT (c) 1989-2009. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#ifndef __PCI_h +#define __PCI_h + +/* + * PCI.c + */ + +void PCI_bus_write( + volatile uint32_t * _addr, + uint32_t _data +); + +uint32_t PCI_bus_read( + volatile uint32_t * _addr +); + +uint32_t Read_pci_device_register( + uint32_t address +); + +void Write_pci_device_register( + uint32_t address, + uint32_t data +); + +#endif |