diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-20 08:45:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-21 08:25:31 +0200 |
commit | 4db0ae8e07870d4ca23dc1b9f8097e3494fe82a2 (patch) | |
tree | e7ba3533960b935b67b152198bba713b1c4ebed2 /cpukit/score/include/rtems/score/objectimpl.h | |
parent | score: Add _ISR_lock_ISR_disable/enable() (diff) | |
download | rtems-4db0ae8e07870d4ca23dc1b9f8097e3494fe82a2.tar.bz2 |
score: _Objects_Get_isr_disable()
Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for
low-level locking.
Update #2273.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index d24f5847b8..a137deace3 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -21,7 +21,7 @@ #include <rtems/score/object.h> #include <rtems/score/apimutex.h> -#include <rtems/score/isrlevel.h> +#include <rtems/score/isrlock.h> #include <rtems/score/threaddispatch.h> #ifdef __cplusplus @@ -539,7 +539,7 @@ Objects_Control *_Objects_Get ( * @param[in] information points to an object class information block. * @param[in] id is the Id of the object whose name we are locating. * @param[in] location will contain an indication of success or failure. - * @param[in] level is the interrupt level being turned. + * @param[in] lock_context is the previous interrupt state being turned. * * @retval This method returns one of the values from the * @ref Objects_Name_or_id_lookup_errors enumeration to indicate @@ -555,7 +555,7 @@ Objects_Control *_Objects_Get_isr_disable( Objects_Information *information, Objects_Id id, Objects_Locations *location, - ISR_Level *level + ISR_lock_Context *lock_context ); /** |