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

4.104.114.84.95
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 17, 1999 at 5:51:34 PM

Updated copyright notice.

  • 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.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef __SHM_MPCI_h
18#define __SHM_MPCI_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include <shm.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.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 */
Note: See TracBrowser for help on using the repository browser.