[ac7d5ef0] | 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 | * |
---|
[03f2154e] | 7 | * COPYRIGHT (c) 1989-1997. |
---|
[ac7d5ef0] | 8 | * On-Line Applications Research Corporation (OAR). |
---|
[03f2154e] | 9 | * Copyright assigned to U.S. Government, 1994. |
---|
[ac7d5ef0] | 10 | * |
---|
[98e4ebf5] | 11 | * The license and distribution terms for this file may be |
---|
| 12 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 13 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 14 | * |
---|
| 15 | * $Id$ |
---|
| 16 | */ |
---|
| 17 | |
---|
[3a4ae6c] | 18 | #ifndef __SHM_MPCI_h |
---|
| 19 | #define __SHM_MPCI_h |
---|
[ac7d5ef0] | 20 | |
---|
| 21 | #ifdef __cplusplus |
---|
| 22 | extern "C" { |
---|
| 23 | #endif |
---|
| 24 | |
---|
[12f86efd] | 25 | #include <shm.h> |
---|
[ac7d5ef0] | 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 */ |
---|