source: rtems/c/src/lib/libbsp/sparc/shared/include/grpci.h @ 4d3e70f4

4.115
Last change on this file since 4d3e70f4 was f407c51, checked in by Daniel Hellstrom <daniel@…>, on 02/05/15 at 13:31:42

GRPCI: fixed build warnings

  • Property mode set to 100644
File size: 600 bytes
Line 
1#ifndef __GRPCI_H__
2#define __GRPCI_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/* Register the GRPCI driver to the Driver Manager */
9extern void grpci_register_drv(void);
10
11/* Transfer data using GRPCI DMA unit from AMBA to PCI space. Blocks until
12 * operation completes.
13 */
14int grpci_dma_to_pci(
15        unsigned int ahb_addr,
16        unsigned int pci_addr,
17        unsigned int len);
18
19/* Transfer data using GRPCI DMA unit from PCI to AMBA space. Blocks until
20 * operation completes.
21 */
22int grpci_dma_from_pci(
23        unsigned int ahb_addr,
24        unsigned int pci_addr,
25        unsigned int len);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif
Note: See TracBrowser for help on using the repository browser.