From 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Aug 1995 15:30:29 +0000 Subject: Added unused priority ceiling parameter to rtems_semaphore_create. Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core. --- cpukit/score/src/object.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'cpukit/score/src/object.c') diff --git a/cpukit/score/src/object.c b/cpukit/score/src/object.c index b829258a48..b274579736 100644 --- a/cpukit/score/src/object.c +++ b/cpukit/score/src/object.c @@ -476,3 +476,25 @@ final: *next_id_p = RTEMS_OBJECT_ID_FINAL; return 0; } + +/*PAGE + * + * _Objects_Get_information + * + * XXX + */ + +Objects_Information *_Objects_Get_information( + Objects_Id id +) +{ + Objects_Classes the_class; + + the_class = rtems_get_class( id ); + + if ( !_Objects_Is_class_valid( the_class ) ) + return NULL; + + return _Objects_Information_table[ the_class ]; +} + -- cgit v1.2.3