OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [shmdr/] [mpci.h] - Blame information for rev 562

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  mpci.h
2
 *
3
 *  This include file contains all the renaming necessary to
4
 *  have an application use the Shared Memory Driver as its
5
 *  sole mechanism for MPCI.
6
 *
7
 *  COPYRIGHT (c) 1989-1999.
8
 *  On-Line Applications Research Corporation (OAR).
9
 *
10
 *  The license and distribution terms for this file may be
11
 *  found in the file LICENSE in this distribution or at
12
 *  http://www.OARcorp.com/rtems/license.html.
13
 *
14
 *  $Id: mpci.h,v 1.2 2001-09-27 12:01:12 chris Exp $
15
 */
16
 
17
#ifndef __SHM_MPCI_h
18
#define __SHM_MPCI_h
19
 
20
#ifdef __cplusplus
21
extern "C" {
22
#endif
23
 
24
#include <shm_driver.h>
25
 
26
#define MPCI_Initialization( _configuration ) \
27
  Shm_Initialization( _configuration )
28
 
29
#define MPCI_Get_packet( _the_packet ) \
30
  Shm_Get_packet( _the_packet )
31
 
32
#define MPCI_Return_packet( _the_packet ) \
33
  Shm_Return_packet( _the_packet )
34
 
35
#define MPCI_Receive_packet( _the_packet ) \
36
  Shm_Receive_packet( _the_packet )
37
 
38
#define MPCI_Send_packet( _destination, _the_packet ) \
39
  Shm_Send_packet( _destination, _the_packet )
40
 
41
/* Unnecessary... mapped in shm_driver.h
42
#define MPCI_Fatal( _the_error ) \
43
  Shm_Fatal( _the_error )
44
*/
45
 
46
#define MPCI_Enable_statistics()
47
 
48
#define MPCI_Print_statistics() \
49
  Shm_Print_statistics()
50
 
51
/* no need to rename the MPCI_Table either */
52
 
53
#ifdef __cplusplus
54
}
55
#endif
56
 
57
#endif
58
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.