From 43b6f757ce6127d95778fe2eaa9e3a9fc3a06ae3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 30 Nov 2000 14:08:30 +0000 Subject: 2000-11-30 Joel Sherrill * General effort to make things compile with macros not inlines * inline/rtems/score/coremutex.inl: Added comment indicating for macros there is another copy of _CORE_mutex_Seize_interrupt_trylock() in src/coremutexseize.c. * src/coremutexseize.c: Added body of _CORE_mutex_Seize_interrupt_trylock() for macro case. * macros/rtems/score/coremutex.inl: Added prototype for _CORE_mutex_Seize_interrupt_trylock() since there is a real body when macros are enabled. * macros/rtems/score/coresem.inl: Added macro implementation of _CORE_semaphore_Seize_isr_disable. * macros/score/Makefile.am: Fixed typos. * rtems/score/address.inl: Correct macro implementation of _Addresses_Is_aligned() so it would compile. * macros/rtems/score/coremsg.inl: Added closing parentheses. --- cpukit/score/macros/rtems/score/coremutex.inl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cpukit/score/macros/rtems/score/coremutex.inl') diff --git a/cpukit/score/macros/rtems/score/coremutex.inl b/cpukit/score/macros/rtems/score/coremutex.inl index be6f483dae..90323374e5 100644 --- a/cpukit/score/macros/rtems/score/coremutex.inl +++ b/cpukit/score/macros/rtems/score/coremutex.inl @@ -63,5 +63,19 @@ #define _CORE_mutex_Is_priority_ceiling( _the_attribute )\ ( (_the_attribute)->discipline == CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING ) +/*PAGE + * + * _CORE_mutex_Seize_interrupt_trylock + * + * NOTE: This is not really a MACRO version of this routine. + * A body is in coremutexseize.c that is duplicated + * from the .inl by hand. + */ + +int _CORE_mutex_Seize_interrupt_trylock( + CORE_mutex_Control *the_mutex, + ISR_Level *level_p +); + #endif /* end of include file */ -- cgit v1.2.3