1 |
/* IPC port definitions. |
/* IPC port definitions. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@opencores.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
30 |
/* Port types. */ |
/* Port types. */ |
31 |
|
|
32 |
#define RTMK_PORT_TYPE(TYPE) (1 << (16 + (TYPE))) |
#define RTMK_PORT_TYPE(TYPE) (1 << (16 + (TYPE))) |
33 |
#define RTMK_PORT_TYPE_NONE RTMK_PORT_TYPE(0) |
#define RTMK_PORT_TYPE_NONE 0 |
34 |
#define RTMK_PORT_TYPE_SEND RTMK_PORT_TYPE(RTMK_PORT_RIGHT_SEND) |
#define RTMK_PORT_TYPE_SEND RTMK_PORT_TYPE(RTMK_PORT_RIGHT_SEND) |
35 |
#define RTMK_PORT_TYPE_SEND_ONCE RTMK_PORT_TYPE(RTMK_PORT_RIGHT_SEND_ONCE) |
#define RTMK_PORT_TYPE_SEND_ONCE RTMK_PORT_TYPE(RTMK_PORT_RIGHT_SEND_ONCE) |
36 |
#define RTMK_PORT_TYPE_RECEIVE RTMK_PORT_TYPE(RTMK_PORT_RIGHT_RECEIVE) |
#define RTMK_PORT_TYPE_RECEIVE RTMK_PORT_TYPE(RTMK_PORT_RIGHT_RECEIVE) |