From 0868844e5e18dbafbb43a9359dbe343362e039eb Mon Sep 17 00:00:00 2001 From: Thomas Doerfler Date: Tue, 27 May 2008 10:31:22 +0000 Subject: Added new defines OBJECTS_ID_NONE and RTEMS_ID_NONE. No object can have this ID. --- cpukit/score/include/rtems/score/object.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/score/include/rtems/score/object.h') diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 9a7963e4bd..1097e27b77 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -387,6 +387,11 @@ SCORE_EXTERN uint16_t _Objects_Maximum_nodes; SCORE_EXTERN Objects_Information **_Objects_Information_table[OBJECTS_APIS_LAST + 1]; +/** + * No object can have this ID. + */ +#define OBJECTS_ID_NONE 0 + /** * The following defines the constant which may be used * with _Objects_Get to manipulate the calling task. -- cgit v1.2.3