summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-07 22:42:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-07 22:42:04 +0000
commitc31c15c16c47df7361ef0afc992f560a947a552b (patch)
tree7ccd6d3f5667c954db50a329a43f32d8ad000128 /c/src/exec/score/include
parent2001-11-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-c31c15c16c47df7361ef0afc992f560a947a552b.tar.bz2
2001-11-07 Joel Sherrill <joel@OARcorp.com>
Reported by Todor.Todorov@barco.com and tracked as PR36. * include/rtems/score/object.h: Added prototype for _Objects_Get_by_index(). * src/objectget.c, src/objectgetisr.c: Corrected procedure for getting index from Id so it is correct and optimal for both single and multiprocessor configurations.
Diffstat (limited to 'c/src/exec/score/include')
-rw-r--r--c/src/exec/score/include/rtems/score/object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/exec/score/include/rtems/score/object.h b/c/src/exec/score/include/rtems/score/object.h
index 26d0eb33de..ced94e685b 100644
--- a/c/src/exec/score/include/rtems/score/object.h
+++ b/c/src/exec/score/include/rtems/score/object.h
@@ -454,6 +454,11 @@ Objects_Control *_Objects_Get_isr_disable(
ISR_Level *level
);
+Objects_Control *_Objects_Get_by_index (
+ Objects_Information *information,
+ Objects_Id id,
+ Objects_Locations *location
+);
/*
* _Objects_Get_next
*