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

4.104.114.84.95
Last change on this file since 9eef52b was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 11:46:28 PM

updated copyright to 1998

  • Property mode set to 100644
File size: 1.3 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-1998.
8 *  On-Line Applications Research Corporation (OAR).
9 *  Copyright assigned to U.S. Government, 1994.
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.OARcorp.com/rtems/license.html.
14 *
15 *  $Id$
16 */
17
18#ifndef __SHM_MPCI_h
19#define __SHM_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.