summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-12-02 22:50:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-12-02 22:50:33 +0000
commitffe316d5267c5e7ce99685be45efc9308b041dc6 (patch)
tree35cf4feefc6218fed328a2d13346ecbf1792245c /cpukit/rtems/include
parentChanges to reflect new revision of erc32 per Jiri Gaisler's suggestions. (diff)
downloadrtems-ffe316d5267c5e7ce99685be45efc9308b041dc6.tar.bz2
Suggested changes from Mark Jordan which eliminate warnings and errors
he received using the Microtec C++ compiler. Most of these are either missing casts from/to (void *), heavy handed use of enumerated types, or simply assumed conversions. There is at least one actual bug in an error path in thread.c in which the wrong argument was passed to _Thread_Stack_Free and was not being caught by gcc.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r--cpukit/rtems/include/rtems/rtems/status.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/status.h b/cpukit/rtems/include/rtems/rtems/status.h
index ac9b9d1046..876cfc5fc6 100644
--- a/cpukit/rtems/include/rtems/rtems/status.h
+++ b/cpukit/rtems/include/rtems/rtems/status.h
@@ -52,11 +52,12 @@ typedef enum {
RTEMS_NOT_OWNER_OF_RESOURCE = 23, /* not owner of resource */
RTEMS_NOT_IMPLEMENTED = 24, /* directive not implemented */
RTEMS_INTERNAL_ERROR = 25, /* RTEMS inconsistency detected */
- RTEMS_NO_MEMORY = 26 /* could not get enough memory */
+ RTEMS_NO_MEMORY = 26, /* could not get enough memory */
+ RTEMS_PROXY_BLOCKING = 27 /* internal error only */
} rtems_status_code;
#define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
-#define RTEMS_STATUS_CODES_LAST RTEMS_NO_MEMORY
+#define RTEMS_STATUS_CODES_LAST RTEMS_PROXY_BLOCKING
extern rtems_status_code _Status_Object_name_errors_to_status[];