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

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 1.4 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, 1990, 1991, 1992, 1993, 1994.
8 *  On-Line Applications Research Corporation (OAR).
9 *  All rights assigned to U.S. Government, 1994.
10 *
11 *  This material may be reproduced by or for the U.S. Government pursuant
12 *  to the copyright license under the clause at DFARS 252.227-7013.  This
13 *  notice must appear in all copies of this file and its derivatives.
14 *
15 *  $Id$
16 */
17
18#ifndef __MPCI_h
19#define __MPCI_h
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "shm.h"
26
27#define MPCI_Initialization( _configuration ) \
28  Shm_Initialization( _configuration )
29
30#define MPCI_Get_packet( _the_packet ) \
31  Shm_Get_packet( _the_packet )
32
33#define MPCI_Return_packet( _the_packet ) \
34  Shm_Return_packet( _the_packet )
35
36#define MPCI_Receive_packet( _the_packet ) \
37  Shm_Receive_packet( _the_packet )
38
39#define MPCI_Send_packet( _destination, _the_packet ) \
40  Shm_Send_packet( _destination, _the_packet )
41
42/* Unnecessary... mapped in shm.h
43#define MPCI_Fatal( _the_error ) \
44  Shm_Fatal( _the_error )
45*/
46
47#define MPCI_Enable_statistics()
48
49#define MPCI_Print_statistics() \
50  Shm_Print_statistics()
51
52/* no need to rename the MPCI_Table either */
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif
59/* end of include file */
Note: See TracBrowser for help on using the repository browser.