source: rtems/c/src/libchip/shmdr/mpci.h @ 6279149

4.115
Last change on this file since 6279149 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*  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.rtems.org/license/LICENSE.
13 */
14
15#ifndef __SHM_MPCI_h
16#define __SHM_MPCI_h
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <shm_driver.h>
23
24#define MPCI_Initialization( _configuration ) \
25  Shm_Initialization( _configuration )
26
27#define MPCI_Get_packet( _the_packet ) \
28  Shm_Get_packet( _the_packet )
29
30#define MPCI_Return_packet( _the_packet ) \
31  Shm_Return_packet( _the_packet )
32
33#define MPCI_Receive_packet( _the_packet ) \
34  Shm_Receive_packet( _the_packet )
35
36#define MPCI_Send_packet( _destination, _the_packet ) \
37  Shm_Send_packet( _destination, _the_packet )
38
39/* Unnecessary... mapped in shm_driver.h
40#define MPCI_Fatal( _the_error ) \
41  Shm_Fatal( _the_error )
42*/
43
44#define MPCI_Enable_statistics()
45
46#define MPCI_Print_statistics() \
47  Shm_Print_statistics()
48
49/* no need to rename the MPCI_Table either */
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif
56/* end of include file */
Note: See TracBrowser for help on using the repository browser.