source:
rtems/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.h
@
31a5ec8
Last change on this file since 31a5ec8 was 31a5ec8, checked in by Jennifer Averett <Jennifer.Averett@…>, on 05/05/09 at 16:18:06 | |
---|---|
|
|
File size: 735 bytes |
Rev | Line | |
---|---|---|
[9c448e1] | 1 | /* PCI.h |
2 | * | |
3 | * This include file contains prototypes for chips attached to the | |
4 | * PCI bus. | |
5 | * | |
[31a5ec8] | 6 | * COPYRIGHT (c) 1989-2009. |
[9c448e1] | 7 | * On-Line Applications Research Corporation (OAR). |
8 | * | |
[31a5ec8] | 9 | * The license and distribution terms for this file may be |
10 | * found in the file LICENSE in this distribution or at | |
[b14e2f2] | 11 | * http://www.rtems.com/license/LICENSE. |
[9c448e1] | 12 | * |
[6128a4a] | 13 | * $Id: |
[9c448e1] | 14 | */ |
15 | #ifndef __PCI_h | |
16 | #define __PCI_h | |
17 | ||
18 | /* | |
19 | * PCI.c | |
20 | */ | |
21 | ||
22 | void PCI_bus_write( | |
[6128a4a] | 23 | volatile uint32_t * _addr, |
24 | uint32_t _data | |
25 | ); | |
[9c448e1] | 26 | |
[dac4208] | 27 | uint32_t PCI_bus_read( |
[6128a4a] | 28 | volatile uint32_t * _addr |
[9c448e1] | 29 | ); |
30 | ||
[dac4208] | 31 | uint32_t Read_pci_device_register( |
32 | uint32_t address | |
[9c448e1] | 33 | ); |
34 | ||
35 | void Write_pci_device_register( | |
[dac4208] | 36 | uint32_t address, |
[6128a4a] | 37 | uint32_t data |
[9c448e1] | 38 | ); |
39 | ||
40 | #endif |
Note: See TracBrowser
for help on using the repository browser.