summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectgetisr.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 15:01:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 16:17:00 +0200
commit4bae341dc94c57a812427194c7f49f37bd006bb3 (patch)
tree757a58b7a9363f35868f413230ef43a55928f9ed /cpukit/score/src/objectgetisr.c
parentrtems: _Semaphore_Get_interrupt_disable() (diff)
downloadrtems-4bae341dc94c57a812427194c7f49f37bd006bb3.tar.bz2
score: Delete unused _Objects_Get_isr_disable()
Delete now unused Objects_Locations.
Diffstat (limited to 'cpukit/score/src/objectgetisr.c')
-rw-r--r--cpukit/score/src/objectgetisr.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/cpukit/score/src/objectgetisr.c b/cpukit/score/src/objectgetisr.c
deleted file mode 100644
index 71f62fe482..0000000000
--- a/cpukit/score/src/objectgetisr.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @file
- *
- * @brief Object Get Isr Disable
- * @ingroup ScoreObject
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/objectimpl.h>
-
-Objects_Control *_Objects_Get_isr_disable(
- Objects_Information *information,
- Objects_Id id,
- Objects_Locations *location,
- ISR_lock_Context *lock_context
-)
-{
- Objects_Control *the_object;
- uint32_t index;
-
- index = id - information->minimum_id + 1;
-
- if ( information->maximum >= index ) {
- _ISR_lock_ISR_disable( lock_context );
- if ( (the_object = information->local_table[ index ]) != NULL ) {
- *location = OBJECTS_LOCAL;
- return the_object;
- }
- _ISR_lock_ISR_enable( lock_context );
- *location = OBJECTS_ERROR;
- return NULL;
- }
-
- *location = OBJECTS_ERROR;
-
-#if defined(RTEMS_MULTIPROCESSING)
- if ( _Objects_MP_Is_remote( id, information ) ) {
- *location = OBJECTS_REMOTE;
- }
-#endif
-
- return NULL;
-}