forked from Imagelibrary/rtems
2006-03-08 Joel Sherrill <joel@OARcorp.com>
* itron/macros/rtems/itron/semaphore.inl, itron/macros/rtems/itron/task.inl: Fix warnings. * posix/macros/rtems/posix/cond.inl: Fix typo. * score/macros/rtems/score/heap.inl: Fix missed type change.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2006-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* itron/macros/rtems/itron/semaphore.inl,
|
||||
itron/macros/rtems/itron/task.inl: Fix warnings.
|
||||
* posix/macros/rtems/posix/cond.inl: Fix typo.
|
||||
* score/macros/rtems/score/heap.inl: Fix missed type change.
|
||||
|
||||
2006-03-07 Till Strauman <strauman@slac.stanford.edu>
|
||||
|
||||
PR 830/filesystem
|
||||
|
||||
@@ -75,7 +75,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
/* XXX fix me */
|
||||
static ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
|
||||
static inline ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
|
||||
uint32_t the_semaphore_status
|
||||
)
|
||||
{
|
||||
|
||||
@@ -59,7 +59,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
/* XXX fix me */
|
||||
static Thread_Control *_ITRON_Task_Get (
|
||||
static inline Thread_Control *_ITRON_Task_Get (
|
||||
ID id,
|
||||
Objects_Locations *location
|
||||
)
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
#define ___POSIX_Condition_variables_Get_support( _cond, _location ) \
|
||||
do { \
|
||||
Objects_Id *id = (Objects_Id *)_cond; \
|
||||
Objects_Id *_id = (Objects_Id *)_cond; \
|
||||
int _status; \
|
||||
\
|
||||
if ( !_id ) { \
|
||||
|
||||
@@ -115,9 +115,9 @@
|
||||
|
||||
#define _Heap_Align_up( _value, _alignment ) \
|
||||
do { \
|
||||
unsigned32 v = *(_value); \
|
||||
unsigned32 a = (_alignment); \
|
||||
unsigned32 r = v % a; \
|
||||
uint32_t v = *(_value); \
|
||||
uint32_t a = (_alignment); \
|
||||
uint32_t r = v % a; \
|
||||
*(_value) = r ? v - r + a : v; \
|
||||
} while(0)
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
#define _Heap_Align_down( _value, _alignment ) \
|
||||
do { \
|
||||
unsigned32 v = *(_value); \
|
||||
uint32_t v = *(_value); \
|
||||
*(_value) = v - (v % (_alignment)); \
|
||||
} while(0)
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
#define _Heap_Align_up_uptr( _value, _alignment ) \
|
||||
do { \
|
||||
_H_uptr_t v = *(_value); \
|
||||
unsigned32 a = (_alignment); \
|
||||
uint32_t a = (_alignment); \
|
||||
_H_uptr_t r = v % a; \
|
||||
*(_value) = r ? v - r + a : v; \
|
||||
} while(0)
|
||||
|
||||
Reference in New Issue
Block a user