summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.h
blob: 16d2bbfc6f00436be15aaae40336338ef640cabd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*  PCI.h
 *
 *  This include file contains prototypes for chips attached to the
 *  PCI bus.
 *
 *  COPYRIGHT (c) 1989-1997.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may in
 *  the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id: 
 */
#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