1 |
/* Return values from IPC system. |
/* Return values from IPC system. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@rtmk.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 |
24 |
|
|
25 |
/* Error return codes from the IPC system. */ |
/* Error return codes from the IPC system. */ |
26 |
|
|
27 |
#define MSG_SUCCESS KERN_SUCCESS |
#define _MSG_SEND_ERROR_BASE 100 |
28 |
|
#define MSG_SEND_TIMEOUT (_MSG_SEND_ERROR_BASE + 0) |
29 |
#define MSG_ERROR_BASE 0x1000 |
#define MSG_SEND_TOO_SMALL (_MSG_SEND_ERROR_BASE + 1) |
30 |
#define MSG_TIMEOUT (MSG_ERROR_BASE + 0) |
#define MSG_SEND_TOO_BIG (_MSG_SEND_ERROR_BASE + 2) |
31 |
#define MSG_SEND_TIMEOUT (MSG_TIMEOUT) |
#define MSG_SEND_INVALID_DST (_MSG_SEND_ERROR_BASE + 3) |
32 |
#define MSG_RCV_TIMEOUT (MSG_TIMEOUT) |
|
33 |
#define MSG_SEND_TOO_SMALL (MSG_ERROR_BASE + 1) |
#define _MSG_RECV_ERROR_BASE 200 |
34 |
#define MSG_SEND_TOO_BIG (MSG_ERROR_BASE + 2) |
#define MSG_RECV_TIMEOUT (_MSG_RECV_ERROR_BASE + 0) |
35 |
#define MSG_RCV_TOO_SMALL (MSG_ERROR_BASE + 3) |
#define MSG_RECV_TOO_SMALL (_MSG_RECV_ERROR_BASE + 1) |
36 |
#define MSG_RCV_TOO_BIG (MSG_ERROR_BASE + 4) |
#define MSG_RECV_TOO_BIG (_MSG_RECV_ERROR_BASE + 2) |
37 |
|
#define MSG_RECV_INVALID_SRC (_MSG_RECV_ERROR_BASE + 3) |
38 |
|
#define MSG_RECV_PORT_DIED (_MSG_RECV_ERROR_BASE + 4) |
39 |
|
|
40 |
#endif /* ipc-return.h */ |
#endif /* ipc-return.h */ |