4.104.114.84.95
Last change
on this file since df49c60 was
48bfd992,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/99 at 19:58:02
|
Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[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 | * |
---|
[08311cc3] | 7 | * COPYRIGHT (c) 1989-1999. |
---|
[ac7d5ef0] | 8 | * On-Line Applications Research Corporation (OAR). |
---|
| 9 | * |
---|
[98e4ebf5] | 10 | * The license and distribution terms for this file may be |
---|
| 11 | * found in the file LICENSE in this distribution or at |
---|
[03f2154e] | 12 | * http://www.OARcorp.com/rtems/license.html. |
---|
[ac7d5ef0] | 13 | * |
---|
| 14 | * $Id$ |
---|
| 15 | */ |
---|
| 16 | |
---|
[3a4ae6c] | 17 | #ifndef __SHM_MPCI_h |
---|
| 18 | #define __SHM_MPCI_h |
---|
[ac7d5ef0] | 19 | |
---|
| 20 | #ifdef __cplusplus |
---|
| 21 | extern "C" { |
---|
| 22 | #endif |
---|
| 23 | |
---|
[48bfd992] | 24 | #include <shm_driver.h> |
---|
[ac7d5ef0] | 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 | |
---|
[48bfd992] | 41 | /* Unnecessary... mapped in shm_driver.h |
---|
[ac7d5ef0] | 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.