/[rtmk]/rtmk/include/rtmk/ipc-return.h
ViewVC logotype

Diff of /rtmk/include/rtmk/ipc-return.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jrydberg, Mon Dec 10 22:29:08 2001 UTC revision 1.3 by jrydberg, Thu Feb 21 20:14:42 2002 UTC
# Line 1  Line 1 
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
# Line 24  typedef kern_return_t ipc_return_t; Line 24  typedef kern_return_t ipc_return_t;
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 */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26