RTEMS CPU Kit with SuperCore  4.11.3
status.h
Go to the documentation of this file.
1 
13 /* COPYRIGHT (c) 1989-2013.
14  * On-Line Applications Research Corporation (OAR).
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef _RTEMS_RTEMS_STATUS_H
22 #define _RTEMS_RTEMS_STATUS_H
23 
24 #include <rtems/score/basedefs.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
46 typedef enum {
182 
186 #define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
187 
191 #define RTEMS_STATUS_CODES_LAST RTEMS_PROXY_BLOCKING
192 
201 )
202 {
203  return (code == RTEMS_SUCCESSFUL);
204 }
205 
213  rtems_status_code code1,
214  rtems_status_code code2
215 )
216 {
217  return (code1 == code2);
218 }
219 
243 
255 
258 #ifdef __cplusplus
259 }
260 #endif
261 
262 #endif
263 /* end of include file */
This is the status to indicate that a blocking directive timed out.
Definition: status.h:75
This is the status to indicate that the specified number was invalid.
Definition: status.h:92
This is the status to indicate successful completion.
Definition: status.h:50
This is the status to indicate that the specified node Id was invalid.
Definition: status.h:141
This is the status to indicate that the directive attempted to allocate memory but was unable to do s...
Definition: status.h:167
This is the status to indicate you have attempted to create too many instances of a particular object...
Definition: status.h:71
RTEMS_INLINE_ROUTINE bool rtems_is_status_successful(rtems_status_code code)
Checks if the status code is equal to RTEMS_SUCCESSFUL.
Definition: status.h:199
This is the status to indicate that the operation should not be called from from this excecution envi...
Definition: status.h:128
This is the status to indicate the the directive or requested portion of the directive is not impleme...
Definition: status.h:157
#define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
RTEMS_INLINE_ROUTINE bool rtems_are_statuses_equal(rtems_status_code code1, rtems_status_code code2)
Checks if the status code1 is equal to code2.
Definition: status.h:212
This is the status to indicate that the item has not been initialized.
Definition: status.h:96
This is the status to indicate illegal for remote object.
Definition: status.h:123
This is the status to indicate that a thread exited.
Definition: status.h:54
int rtems_status_code_to_errno(rtems_status_code sc)
RTEMS Status Code to Errno Mapping Function.
Definition: status.c:64
This is the status to indicate that the caller is not the owner of the resource.
Definition: status.h:150
This is the status to indicate multiprocessing is not configured.
Definition: status.h:58
rtems_status_code
Classic API Status.
Definition: status.h:46
This is the status to indicate that the specified size was invalid.
Definition: status.h:84
This is the status is used internally to RTEMS when performing operations on behalf of remote tasks...
Definition: status.h:180
This is the status to indicate that an internal RTEMS inconsistency was detected. ...
Definition: status.h:162
This is the status to indicate that the object name was invalid.
Definition: status.h:62
This is the status to indicate that the operation is illegal on calling thread.
Definition: status.h:119
const char * rtems_status_text(rtems_status_code code)
Returns a text for a status code.
Definition: statustext.c:59
This is the status to indicate that a thread is in wrong state was in the wrong execution state for t...
Definition: status.h:110
This is the status to indicate that the object still has resources in use.
Definition: status.h:101
This is the status to indicate thread was already suspended.
Definition: status.h:114
This is the status to indicate that an invalid thread priority was provided.
Definition: status.h:133
Definition: inftrees.h:25
This is the status to indicate that the directive was not configured.
Definition: status.h:145
This is the status to indicate that the object Id was invalid.
Definition: status.h:66
Basic Definitions.
This is the status to indicate that the specified address is invalid.
Definition: status.h:88
This is the status to indicate an driver IO error.
Definition: status.h:171
This is the status to indicate the the object was deleted while the task was blocked waiting...
Definition: status.h:80
This is the status to indicate that the specified date/time was invalid.
Definition: status.h:137
This is the status to indicate that the request was not satisfied.
Definition: status.h:105