change log for rtems (2011-11-09)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Nov 9 19:12:03 UTC 2011
*joel* (on branch rtems-4-9-branch):
2011-11-09 Werner Almesberger <werner at almesberger.net>
PR 1957/cpukit
* score/include/rtems/score/coremutex.h,
score/inline/rtems/score/threadmp.inl: Add parentheses to protect
macro arguments.
M 1.2986 cpukit/ChangeLog
M 1.1539.2.83 cpukit/ChangeLog
M 1.2346.2.106 cpukit/ChangeLog
M 1.46 cpukit/score/include/rtems/score/coremutex.h
M 1.36.2.2 cpukit/score/include/rtems/score/coremutex.h
M 1.39.2.2 cpukit/score/include/rtems/score/coremutex.h
M 1.20 cpukit/score/inline/rtems/score/threadmp.inl
M 1.19.4.1 cpukit/score/inline/rtems/score/threadmp.inl
M 1.19.2.1 cpukit/score/inline/rtems/score/threadmp.inl
diff -u rtems/cpukit/ChangeLog:1.2985 rtems/cpukit/ChangeLog:1.2986
--- rtems/cpukit/ChangeLog:1.2985 Mon Nov 7 15:42:22 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:42:15 2011
@@ -1,3 +1,10 @@
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
+ PR 1957/cpukit
+ * score/include/rtems/score/coremutex.h,
+ score/inline/rtems/score/threadmp.inl: Add parentheses to protect
+ macro arguments.
+
2011-11-07 Ralf Corsepius <ralf.corsepius at rtems.org>
PR 1952/cpukit
diff -u rtems/cpukit/ChangeLog:1.1539.2.82 rtems/cpukit/ChangeLog:1.1539.2.83
--- rtems/cpukit/ChangeLog:1.1539.2.82 Mon Nov 7 15:42:43 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:44:29 2011
@@ -1,3 +1,10 @@
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
+ PR 1957/cpukit
+ * score/include/rtems/score/coremutex.h,
+ score/inline/rtems/score/threadmp.inl: Add parentheses to protect
+ macro arguments.
+
2011-11-07 Ralf Corsepius <ralf.corsepius at rtems.org>
PR 1952/cpukit
diff -u rtems/cpukit/ChangeLog:1.2346.2.105 rtems/cpukit/ChangeLog:1.2346.2.106
--- rtems/cpukit/ChangeLog:1.2346.2.105 Mon Nov 7 15:42:34 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:43:56 2011
@@ -1,3 +1,10 @@
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
+ PR 1957/cpukit
+ * score/include/rtems/score/coremutex.h,
+ score/inline/rtems/score/threadmp.inl: Add parentheses to protect
+ macro arguments.
+
2011-11-07 Ralf Corsepius <ralf.corsepius at rtems.org>
PR 1952/cpukit
diff -u rtems/cpukit/score/include/rtems/score/coremutex.h:1.45 rtems/cpukit/score/include/rtems/score/coremutex.h:1.46
--- rtems/cpukit/score/include/rtems/score/coremutex.h:1.45 Tue Aug 2 08:59:48 2011
+++ rtems/cpukit/score/include/rtems/score/coremutex.h Wed Nov 9 12:42:16 2011
@@ -395,8 +395,8 @@
INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE \
); \
} \
- if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &_level ) ) { \
- if ( !_wait ) { \
+ if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &(_level) ) ) { \
+ if ( !(_wait) ) { \
_ISR_Enable( _level ); \
_Thread_Executing->Wait.return_code = \
CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT; \
diff -u rtems/cpukit/score/include/rtems/score/coremutex.h:1.36.2.1 rtems/cpukit/score/include/rtems/score/coremutex.h:1.36.2.2
--- rtems/cpukit/score/include/rtems/score/coremutex.h:1.36.2.1 Thu May 28 15:38:22 2009
+++ rtems/cpukit/score/include/rtems/score/coremutex.h Wed Nov 9 12:44:34 2011
@@ -374,8 +374,8 @@
INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE \
); \
} \
- if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &_level ) ) { \
- if ( !_wait ) { \
+ if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &(_level) ) ) { \
+ if ( !(_wait) ) { \
_ISR_Enable( _level ); \
_Thread_Executing->Wait.return_code = \
CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT; \
diff -u rtems/cpukit/score/include/rtems/score/coremutex.h:1.39.2.1 rtems/cpukit/score/include/rtems/score/coremutex.h:1.39.2.2
--- rtems/cpukit/score/include/rtems/score/coremutex.h:1.39.2.1 Wed May 25 09:17:51 2011
+++ rtems/cpukit/score/include/rtems/score/coremutex.h Wed Nov 9 12:44:00 2011
@@ -374,8 +374,8 @@
INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE \
); \
} \
- if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &_level ) ) { \
- if ( !_wait ) { \
+ if ( _CORE_mutex_Seize_interrupt_trylock( _the_mutex, &(_level) ) ) { \
+ if ( !(_wait) ) { \
_ISR_Enable( _level ); \
_Thread_Executing->Wait.return_code = \
CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT; \
diff -u rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.20
--- rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 Fri Sep 5 09:50:10 2008
+++ rtems/cpukit/score/inline/rtems/score/threadmp.inl Wed Nov 9 12:42:17 2011
@@ -38,7 +38,7 @@
* _MPCI_Receive_server_tcb until it is used.
*/
#define _Thread_MP_Is_receive(_the_thread) \
- (_the_thread == _MPCI_Receive_server_tcb)
+ ((_the_thread) == _MPCI_Receive_server_tcb)
/**
* This routine frees a proxy control block to the
diff -u rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19.4.1
--- rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 Fri Sep 5 09:50:10 2008
+++ rtems/cpukit/score/inline/rtems/score/threadmp.inl Wed Nov 9 12:44:01 2011
@@ -38,7 +38,7 @@
* _MPCI_Receive_server_tcb until it is used.
*/
#define _Thread_MP_Is_receive(_the_thread) \
- (_the_thread == _MPCI_Receive_server_tcb)
+ ((_the_thread) == _MPCI_Receive_server_tcb)
/**
* This routine frees a proxy control block to the
diff -u rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19.2.1
--- rtems/cpukit/score/inline/rtems/score/threadmp.inl:1.19 Fri Sep 5 09:50:10 2008
+++ rtems/cpukit/score/inline/rtems/score/threadmp.inl Wed Nov 9 12:44:34 2011
@@ -38,7 +38,7 @@
* _MPCI_Receive_server_tcb until it is used.
*/
#define _Thread_MP_Is_receive(_the_thread) \
- (_the_thread == _MPCI_Receive_server_tcb)
+ ((_the_thread) == _MPCI_Receive_server_tcb)
/**
* This routine frees a proxy control block to the
*joel*:
2011-11-09 Werner Almesberger <werner at almesberger.net>
PR 1954/cpukit
* score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
M 1.2987 cpukit/ChangeLog
M 1.5 cpukit/score/cpu/lm32/rtems/score/lm32.h
diff -u rtems/cpukit/ChangeLog:1.2986 rtems/cpukit/ChangeLog:1.2987
--- rtems/cpukit/ChangeLog:1.2986 Wed Nov 9 12:42:15 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:51:12 2011
@@ -1,5 +1,10 @@
2011-11-09 Werner Almesberger <werner at almesberger.net>
+ PR 1954/cpukit
+ * score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
+
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
PR 1957/cpukit
* score/include/rtems/score/coremutex.h,
score/inline/rtems/score/threadmp.inl: Add parentheses to protect
diff -u rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.4 rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.5
--- rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.4 Fri Feb 11 02:57:36 2011
+++ rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h Wed Nov 9 12:51:13 2011
@@ -74,7 +74,7 @@
#define lm32_disable_interrupts( _level ) \
do { register uint32_t ie; \
__asm__ volatile ("rcsr %0,ie":"=r"(ie)); \
- _level = ie; \
+ (_level) = ie; \
ie &= (~0x0001); \
__asm__ volatile ("wcsr ie,%0"::"r"(ie)); \
} while (0)
@@ -85,7 +85,7 @@
#define lm32_flash_interrupts( _level ) \
do { register uint32_t ie; \
__asm__ volatile ("wcsr ie,%0"::"r"(_level)); \
- ie = _level & (~0x0001); \
+ ie = (_level) & (~0x0001); \
__asm__ volatile ("wcsr ie,%0"::"r"(ie)); \
} while (0)
@@ -99,7 +99,7 @@
#define lm32_interrupt_mask( _mask ) \
do { register uint32_t im; \
__asm__ volatile ("rcsr %0,im":"=r"(im)); \
- im &= ~_mask; \
+ im &= ~(_mask); \
__asm__ volatile ("wcsr im,%0"::"r"(im)); \
} while (0)
*joel* (on branch rtems-4-10-branch):
2011-11-09 Werner Almesberger <werner at almesberger.net>
PR 1954/cpukit
* rtems/score/lm32.h: Protect against macro expansion.
M 1.12.2.2 cpukit/score/cpu/lm32/ChangeLog
M 1.2.2.1 cpukit/score/cpu/lm32/rtems/score/lm32.h
diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.1 rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.2
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.1 Wed Nov 9 09:15:40 2011
+++ rtems/cpukit/score/cpu/lm32/ChangeLog Wed Nov 9 12:51:29 2011
@@ -1,5 +1,10 @@
2011-11-09 Werner Almesberger <werner at almesberger.net>
+ PR 1954/cpukit
+ * rtems/score/lm32.h: Protect against macro expansion.
+
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
PR 1955/cpukit
* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
diff -u rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.2 rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.2.2.1
--- rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h:1.2 Thu Dec 3 22:27:21 2009
+++ rtems/cpukit/score/cpu/lm32/rtems/score/lm32.h Wed Nov 9 12:51:29 2011
@@ -71,7 +71,7 @@
#define lm32_disable_interrupts( _level ) \
do { register uint32_t ie; \
asm volatile ("rcsr %0,ie":"=r"(ie)); \
- _level = ie; \
+ (_level) = ie; \
ie &= (~0x0001); \
asm volatile ("wcsr ie,%0"::"r"(ie)); \
} while (0)
@@ -82,7 +82,7 @@
#define lm32_flash_interrupts( _level ) \
do { register uint32_t ie; \
asm volatile ("wcsr ie,%0"::"r"(_level)); \
- ie = _level & (~0x0001); \
+ ie = (_level) & (~0x0001); \
asm volatile ("wcsr ie,%0"::"r"(ie)); \
} while (0)
*joel* (on branch rtems-4-10-branch):
Move entries to correct file.
M 1.2988 cpukit/ChangeLog
M 1.2346.2.107 cpukit/ChangeLog
M 1.26 cpukit/score/cpu/lm32/ChangeLog
M 1.12.2.3 cpukit/score/cpu/lm32/ChangeLog
diff -u rtems/cpukit/ChangeLog:1.2987 rtems/cpukit/ChangeLog:1.2988
--- rtems/cpukit/ChangeLog:1.2987 Wed Nov 9 12:51:12 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:51:58 2011
@@ -1,15 +1,3 @@
-2011-11-09 Werner Almesberger <werner at almesberger.net>
-
- PR 1954/cpukit
- * score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
-
-2011-11-09 Werner Almesberger <werner at almesberger.net>
-
- PR 1957/cpukit
- * score/include/rtems/score/coremutex.h,
- score/inline/rtems/score/threadmp.inl: Add parentheses to protect
- macro arguments.
-
2011-11-07 Ralf Corsepius <ralf.corsepius at rtems.org>
PR 1952/cpukit
diff -u rtems/cpukit/ChangeLog:1.2346.2.106 rtems/cpukit/ChangeLog:1.2346.2.107
--- rtems/cpukit/ChangeLog:1.2346.2.106 Wed Nov 9 12:43:56 2011
+++ rtems/cpukit/ChangeLog Wed Nov 9 12:52:22 2011
@@ -1,10 +1,3 @@
-2011-11-09 Werner Almesberger <werner at almesberger.net>
-
- PR 1957/cpukit
- * score/include/rtems/score/coremutex.h,
- score/inline/rtems/score/threadmp.inl: Add parentheses to protect
- macro arguments.
-
2011-11-07 Ralf Corsepius <ralf.corsepius at rtems.org>
PR 1952/cpukit
diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.25 rtems/cpukit/score/cpu/lm32/ChangeLog:1.26
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.25 Wed Nov 9 09:15:25 2011
+++ rtems/cpukit/score/cpu/lm32/ChangeLog Wed Nov 9 12:51:59 2011
@@ -1,5 +1,17 @@
2011-11-09 Werner Almesberger <werner at almesberger.net>
+ PR 1954/cpukit
+ * score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
+
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
+ PR 1957/cpukit
+ * score/include/rtems/score/coremutex.h,
+ score/inline/rtems/score/threadmp.inl: Add parentheses to protect
+ macro arguments.
+
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
PR 1955/cpukit
* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.2 rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.3
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.12.2.2 Wed Nov 9 12:51:29 2011
+++ rtems/cpukit/score/cpu/lm32/ChangeLog Wed Nov 9 12:52:25 2011
@@ -1,5 +1,12 @@
2011-11-09 Werner Almesberger <werner at almesberger.net>
+ PR 1957/cpukit
+ * score/include/rtems/score/coremutex.h,
+ score/inline/rtems/score/threadmp.inl: Add parentheses to protect
+ macro arguments.
+
+2011-11-09 Werner Almesberger <werner at almesberger.net>
+
PR 1954/cpukit
* rtems/score/lm32.h: Protect against macro expansion.
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111109/f2759622/attachment-0001.html>
More information about the vc
mailing list