4.9
Line | |
---|
1 | /* PCI.h |
---|
2 | * |
---|
3 | * This include file contains prototypes for chips attached to the |
---|
4 | * PCI bus. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1997. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may in |
---|
10 | * the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.com/license/LICENSE. |
---|
12 | * |
---|
13 | * $Id: |
---|
14 | */ |
---|
15 | #ifndef __PCI_h |
---|
16 | #define __PCI_h |
---|
17 | |
---|
18 | /* |
---|
19 | * PCI.c |
---|
20 | */ |
---|
21 | |
---|
22 | void PCI_bus_write( |
---|
23 | volatile uint32_t * _addr, |
---|
24 | uint32_t _data |
---|
25 | ); |
---|
26 | |
---|
27 | uint32_t PCI_bus_read( |
---|
28 | volatile uint32_t * _addr |
---|
29 | ); |
---|
30 | |
---|
31 | uint32_t Read_pci_device_register( |
---|
32 | uint32_t address |
---|
33 | ); |
---|
34 | |
---|
35 | void Write_pci_device_register( |
---|
36 | uint32_t address, |
---|
37 | uint32_t data |
---|
38 | ); |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.