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

4.104.115
Last change on this file since dd9cc9f7 was 4e89a12, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:56:25

2003-09-04 Joel Sherrill <joel@…>

  • addlq.c, cnvpkt.c, dump.c, fatal.c, getlq.c, getpkt.c, init.c, initlq.c, intr.c, mpci.h, mpisr.c, poll.c, receive.c, retpkt.c, send.c, setckvec.c, shm_driver.h: URL for license changed.
  • 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.com/license/LICENSE.
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_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 */
Note: See TracBrowser for help on using the repository browser.