change log for rtems (2010-07-30)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jul 30 19:10:24 UTC 2010
*joel*:
2010-07-30 Vinu Rajashekhar <vinutheraj at gmail.com>
* sapi/include/confdefs.h: Add configuration macros for Go
requirements.
M 1.2537 cpukit/ChangeLog
M 1.148 cpukit/sapi/include/confdefs.h
diff -u rtems/cpukit/ChangeLog:1.2536 rtems/cpukit/ChangeLog:1.2537
--- rtems/cpukit/ChangeLog:1.2536 Thu Jul 29 17:27:12 2010
+++ rtems/cpukit/ChangeLog Fri Jul 30 13:44:46 2010
@@ -1,3 +1,8 @@
+2010-07-30 Vinu Rajashekhar <vinutheraj at gmail.com>
+
+ * sapi/include/confdefs.h: Add configuration macros for Go
+ requirements.
+
2010-07-29 Bharath Suri <bharath.s.jois at gmail.com>
PR 1620/cpukit
diff -u rtems/cpukit/sapi/include/confdefs.h:1.147 rtems/cpukit/sapi/include/confdefs.h:1.148
--- rtems/cpukit/sapi/include/confdefs.h:1.147 Mon Jul 26 17:20:43 2010
+++ rtems/cpukit/sapi/include/confdefs.h Fri Jul 30 13:44:46 2010
@@ -1463,9 +1463,11 @@
#endif
#define CONFIGURE_MEMORY_FOR_POSIX \
- ( CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES ) + \
+ ( CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES + \
+ CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_MUTEXES) + \
CONFIGURE_MEMORY_FOR_POSIX_CONDITION_VARIABLES( \
- CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES ) + \
+ CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES + \
+ CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_CONDITION_VARIABLES) + \
CONFIGURE_MEMORY_FOR_POSIX_KEYS( CONFIGURE_MAXIMUM_POSIX_KEYS ) + \
CONFIGURE_MEMORY_FOR_POSIX_QUEUED_SIGNALS( \
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS ) + \
@@ -1537,6 +1539,39 @@
#define CONFIGURE_ADA_TASKS_STACK 0
#endif
+#ifdef CONFIGURE_ENABLE_GO
+
+ #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS
+ #define CONFIGURE_MAXIMUM_POSIX_THREADS 1
+ #endif
+ #ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES
+ #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
+ #endif
+ #ifndef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
+ #define CONFIGURE_MAXIMUM_CONDITION_VARIABLES 1
+ #endif
+
+ #define CONFIGURE_GO_INIT_MUTEXES 77
+ #define CONFIGURE_GO_INIT_CONDITION_VARIABLES 4
+
+ #ifndef CONFIGURE_MAXIMUM_GOROUTINES
+ #define CONFIGURE_MAXIMUM_GOROUTINES 400
+ #endif
+
+ #define CONFIGURE_GOROUTINES_TASK_VARIABLES \
+ (2 * CONFIGURE_MAXIMUM_GOROUTINES)
+
+ #ifndef CONFIGURE_MAXIMUM_GO_CHANNELS
+ #define CONFIGURE_MAXIMUM_GO_CHANNELS 500
+ #endif
+
+#else
+ #define CONFIGURE_GO_INIT_MUTEXES 0
+ #define CONFIGURE_GO_INIT_CONDITION_VARIABLES 0
+ #define CONFIGURE_MAXIMUM_GOROUTINES 0
+ #define CONFIGURE_GOROUTINES_TASK_VARIABLES 0
+ #define CONFIGURE_MAXIMUM_GO_CHANNELS 0
+#endif
/**
* This macro specifies the amount of memory to be reserved for the
* Newlib C Library reentrancy structure -- if we are using newlib.
@@ -1736,7 +1771,8 @@
*/
#define CONFIGURE_TOTAL_TASKS_AND_THREADS \
(CONFIGURE_MAXIMUM_TASKS + \
- CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS)
+ CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS + \
+ CONFIGURE_MAXIMUM_GOROUTINES)
/**
* This macro reserves the memory required by the statically configured
@@ -1754,7 +1790,8 @@
* Classic API as configured.
*/
#define CONFIGURE_MEMORY_FOR_CLASSIC \
- (CONFIGURE_MEMORY_FOR_TASK_VARIABLES(CONFIGURE_MAXIMUM_TASK_VARIABLES) + \
+ (CONFIGURE_MEMORY_FOR_TASK_VARIABLES(CONFIGURE_MAXIMUM_TASK_VARIABLES + \
+ CONFIGURE_GOROUTINES_TASK_VARIABLES) + \
CONFIGURE_MEMORY_FOR_TIMERS(CONFIGURE_MAXIMUM_TIMERS + \
CONFIGURE_TIMER_FOR_SHARED_MEMORY_DRIVER ) + \
CONFIGURE_MEMORY_FOR_SEMAPHORES(CONFIGURE_SEMAPHORES) + \
@@ -1836,7 +1873,8 @@
/* Classic API Pieces */
CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS, 0),
- CONFIGURE_MEMORY_FOR_TASK_VARIABLES(CONFIGURE_MAXIMUM_TASK_VARIABLES),
+ CONFIGURE_MEMORY_FOR_TASK_VARIABLES(CONFIGURE_MAXIMUM_TASK_VARIABLES +
+ CONFIGURE_GOROUTINES_TASK_VARIABLES),
CONFIGURE_MEMORY_FOR_TIMERS(CONFIGURE_MAXIMUM_TIMERS),
CONFIGURE_MEMORY_FOR_SEMAPHORES(CONFIGURE_SEMAPHORES),
CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES(CONFIGURE_MAXIMUM_MESSAGE_QUEUES),
@@ -1849,9 +1887,11 @@
#ifdef RTEMS_POSIX_API
/* POSIX API Pieces */
- CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES ),
+ CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES +
+ CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_MUTEXES),
CONFIGURE_MEMORY_FOR_POSIX_CONDITION_VARIABLES(
- CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES ),
+ CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES +
+ CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_CONDITION_VARIABLES),
CONFIGURE_MEMORY_FOR_POSIX_KEYS( CONFIGURE_MAXIMUM_POSIX_KEYS ),
CONFIGURE_MEMORY_FOR_POSIX_QUEUED_SIGNALS(
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS ),
@@ -1878,6 +1918,7 @@
CONFIGURE_MEMORY_FOR_CLASSIC + \
CONFIGURE_MEMORY_FOR_POSIX + \
(CONFIGURE_MAXIMUM_POSIX_THREADS * CONFIGURE_MINIMUM_TASK_STACK_SIZE ) + \
+ (CONFIGURE_MAXIMUM_GOROUTINES * CONFIGURE_MINIMUM_TASK_STACK_SIZE ) + \
CONFIGURE_INITIALIZATION_THREADS_STACKS + \
CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS + \
CONFIGURE_MEMORY_FOR_MP + \
@@ -1911,11 +1952,14 @@
* This is the POSIX API Configuration Table.
*/
posix_api_configuration_table Configuration_POSIX_API = {
- CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS,
+ CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS +
+ CONFIGURE_MAXIMUM_GOROUTINES,
CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_GNAT_MUTEXES +
- CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS,
+ CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS +
+ CONFIGURE_GO_INIT_MUTEXES + CONFIGURE_MAXIMUM_GO_CHANNELS,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES +
- CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS,
+ CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS +
+ CONFIGURE_GO_INIT_CONDITION_VARIABLES + CONFIGURE_MAXIMUM_GO_CHANNELS,
CONFIGURE_MAXIMUM_POSIX_KEYS,
CONFIGURE_MAXIMUM_POSIX_TIMERS,
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
@@ -2035,7 +2079,8 @@
#if !defined(CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION)
#if (CONFIGURE_MAXIMUM_TASKS == 0) && \
(CONFIGURE_MAXIMUM_POSIX_THREADS == 0) && \
- (CONFIGURE_MAXIMUM_ADA_TASKS == 0)
+ (CONFIGURE_MAXIMUM_ADA_TASKS == 0) && \
+ (CONFIGURE_MAXIMUM_GOROUTINES == 0)
#error "CONFIGURATION ERROR: No tasks or threads configured!!"
#endif
#endif
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* shared/irq/exception.S: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.40 c/src/lib/libbsp/mips/ChangeLog
M 1.5 c/src/lib/libbsp/mips/shared/irq/exception.S
diff -u rtems/c/src/lib/libbsp/mips/ChangeLog:1.39 rtems/c/src/lib/libbsp/mips/ChangeLog:1.40
--- rtems/c/src/lib/libbsp/mips/ChangeLog:1.39 Tue Jul 6 02:41:28 2010
+++ rtems/c/src/lib/libbsp/mips/ChangeLog Fri Jul 30 13:51:12 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * shared/irq/exception.S: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-06 Sebastian Huber <sebastian.huber at embedded-brains.de>
* shared/irq/exception.S: Removed _ISR_Signals_to_thread_executing
diff -u rtems/c/src/lib/libbsp/mips/shared/irq/exception.S:1.4 rtems/c/src/lib/libbsp/mips/shared/irq/exception.S:1.5
--- rtems/c/src/lib/libbsp/mips/shared/irq/exception.S:1.4 Tue Jul 6 02:41:28 2010
+++ rtems/c/src/lib/libbsp/mips/shared/irq/exception.S Fri Jul 30 13:51:12 2010
@@ -322,7 +322,7 @@
* restore stack
* #endif
*
- * if ( !_Context_Switch_necessary )
+ * if ( !_Thread_Dispatch_necessary )
* goto the label "exit interrupt (simple case)"
*/
lb t0,DISPATCH_NEEDED
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* new-exceptions/bspsupport/ppc_exc_hdl.c: Rename
_Context_Switch_necessary to _Thread_Dispatch_necessary to more
properly reflect the intent.
M 1.357 c/src/lib/libcpu/powerpc/ChangeLog
M 1.10 c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c
diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.356 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.357
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.356 Tue Jun 29 14:44:06 2010
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Fri Jul 30 13:51:42 2010
@@ -1,3 +1,10 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * new-exceptions/bspsupport/ppc_exc_hdl.c: Rename
+ _Context_Switch_necessary to _Thread_Dispatch_necessary to more
+ properly reflect the intent.
+
2010-06-29 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
diff -u rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c:1.9 rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c:1.10
--- rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c:1.9 Mon Jun 28 19:39:39 2010
+++ rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c Fri Jul 30 13:51:43 2010
@@ -81,7 +81,7 @@
void ppc_exc_wrapup(BSP_Exception_frame *frame)
{
/* dispatch_disable level is decremented from assembly code. */
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
/* FIXME: I believe it should be OK to re-enable
* interrupts around the execution of _Thread_Dispatch();
*/
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Rename
_Context_Switch_necessary to _Thread_Dispatch_necessary to more
properly reflect the intent.
M 1.63 c/src/lib/libcpu/sh/ChangeLog
M 1.17 c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
M 1.19 c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
M 1.15 c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c
M 1.4 c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c
diff -u rtems/c/src/lib/libcpu/sh/ChangeLog:1.62 rtems/c/src/lib/libcpu/sh/ChangeLog:1.63
--- rtems/c/src/lib/libcpu/sh/ChangeLog:1.62 Mon Jun 28 19:39:41 2010
+++ rtems/c/src/lib/libcpu/sh/ChangeLog Fri Jul 30 13:51:48 2010
@@ -1,3 +1,11 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
+ sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Rename
+ _Context_Switch_necessary to _Thread_Dispatch_necessary to more
+ properly reflect the intent.
+
2010-06-28 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1573/cpukit
diff -u rtems/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c:1.16 rtems/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c:1.17
--- rtems/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c:1.16 Mon Jun 28 19:39:41 2010
+++ rtems/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c Fri Jul 30 13:51:48 2010
@@ -176,7 +176,7 @@
return;
}
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
_Thread_Dispatch();
}
}
diff -u rtems/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c:1.18 rtems/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c:1.19
--- rtems/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c:1.18 Mon Jun 28 19:39:41 2010
+++ rtems/c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c Fri Jul 30 13:51:48 2010
@@ -178,7 +178,7 @@
return;
}
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
_Thread_Dispatch();
}
}
diff -u rtems/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c:1.14 rtems/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c:1.15
--- rtems/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c:1.14 Mon Jun 28 19:39:41 2010
+++ rtems/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c Fri Jul 30 13:51:48 2010
@@ -101,7 +101,7 @@
return;
}
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
_Thread_Dispatch();
}
}
diff -u rtems/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c:1.3 rtems/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c:1.4
--- rtems/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c:1.3 Mon Jun 28 19:39:41 2010
+++ rtems/c/src/lib/libcpu/sh/shgdb/score/cpu_asm.c Fri Jul 30 13:51:49 2010
@@ -75,7 +75,7 @@
return;
}
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
_Thread_Dispatch();
}
}
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* cpu_asm.S: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.52 cpukit/score/cpu/avr/ChangeLog
M 1.11 cpukit/score/cpu/avr/cpu_asm.S
M 1.143 cpukit/score/cpu/mips/ChangeLog
M 1.43 cpukit/score/cpu/mips/cpu_asm.S
diff -u rtems/cpukit/score/cpu/avr/ChangeLog:1.51 rtems/cpukit/score/cpu/avr/ChangeLog:1.52
--- rtems/cpukit/score/cpu/avr/ChangeLog:1.51 Thu Jul 29 12:51:33 2010
+++ rtems/cpukit/score/cpu/avr/ChangeLog Fri Jul 30 13:52:03 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * cpu_asm.S: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/avr/cpu_asm.S:1.10 rtems/cpukit/score/cpu/avr/cpu_asm.S:1.11
--- rtems/cpukit/score/cpu/avr/cpu_asm.S:1.10 Mon Jun 28 19:31:05 2010
+++ rtems/cpukit/score/cpu/avr/cpu_asm.S Fri Jul 30 13:52:03 2010
@@ -441,7 +441,7 @@
* if ( _Thread_Dispatch_disable_level )
* goto the label "exit interrupt (simple case)"
*
- * if ( _Context_Switch_necessary ) {
+ * if ( _Thread_Dispatch_necessary ) {
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
* prepare to get out of interrupt
* return from interrupt (maybe to _ISR_Dispatch)
diff -u rtems/cpukit/score/cpu/mips/ChangeLog:1.142 rtems/cpukit/score/cpu/mips/ChangeLog:1.143
--- rtems/cpukit/score/cpu/mips/ChangeLog:1.142 Thu Jul 29 12:51:48 2010
+++ rtems/cpukit/score/cpu/mips/ChangeLog Fri Jul 30 13:52:12 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * cpu_asm.S: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/mips/cpu_asm.S:1.42 rtems/cpukit/score/cpu/mips/cpu_asm.S:1.43
--- rtems/cpukit/score/cpu/mips/cpu_asm.S:1.42 Mon Jun 28 19:31:44 2010
+++ rtems/cpukit/score/cpu/mips/cpu_asm.S Fri Jul 30 13:52:12 2010
@@ -949,7 +949,7 @@
* restore stack
* #endif
*
- * if !_Context_Switch_necessary
+ * if !_Thread_Dispatch_necessary
* goto the label "exit interrupt (simple case)"
*/
lbu t0,DISPATCH_NEEDED
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
to more properly reflect the intent.
M 1.16 cpukit/score/cpu/lm32/ChangeLog
M 1.6 cpukit/score/cpu/lm32/irq.c
M 1.25 cpukit/score/cpu/nios2/ChangeLog
M 1.7 cpukit/score/cpu/nios2/irq.c
diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.15 rtems/cpukit/score/cpu/lm32/ChangeLog:1.16
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.15 Thu Jul 29 12:51:40 2010
+++ rtems/cpukit/score/cpu/lm32/ChangeLog Fri Jul 30 13:52:06 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
+ to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/lm32/irq.c:1.5 rtems/cpukit/score/cpu/lm32/irq.c:1.6
--- rtems/cpukit/score/cpu/lm32/irq.c:1.5 Mon Jun 28 19:31:12 2010
+++ rtems/cpukit/score/cpu/lm32/irq.c Fri Jul 30 13:52:06 2010
@@ -78,7 +78,7 @@
if ( _ISR_Nest_level )
return;
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
/* save off our stack frame so the context switcher can get to it */
_exception_stack_frame = ifr;
diff -u rtems/cpukit/score/cpu/nios2/ChangeLog:1.24 rtems/cpukit/score/cpu/nios2/ChangeLog:1.25
--- rtems/cpukit/score/cpu/nios2/ChangeLog:1.24 Thu Jul 29 12:51:50 2010
+++ rtems/cpukit/score/cpu/nios2/ChangeLog Fri Jul 30 13:52:14 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
+ to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/nios2/irq.c:1.6 rtems/cpukit/score/cpu/nios2/irq.c:1.7
--- rtems/cpukit/score/cpu/nios2/irq.c:1.6 Mon Jun 28 19:31:47 2010
+++ rtems/cpukit/score/cpu/nios2/irq.c Fri Jul 30 13:52:14 2010
@@ -71,7 +71,7 @@
if( _Thread_Dispatch_disable_level == 0 )
{
- if ( _Context_Switch_necessary ) {
+ if ( _Thread_Dispatch_necessary ) {
_CPU_ISR_Enable( level );
_Thread_Dispatch();
/* may have switched to another task and not return here immed. */
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* cpu_asm.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.15 cpukit/score/cpu/m32c/ChangeLog
M 1.7 cpukit/score/cpu/m32c/cpu_asm.c
M 1.8 cpukit/score/cpu/m32r/ChangeLog
M 1.5 cpukit/score/cpu/m32r/cpu_asm.c
M 1.85 cpukit/score/cpu/no_cpu/ChangeLog
M 1.20 cpukit/score/cpu/no_cpu/cpu_asm.c
diff -u rtems/cpukit/score/cpu/m32c/ChangeLog:1.14 rtems/cpukit/score/cpu/m32c/ChangeLog:1.15
--- rtems/cpukit/score/cpu/m32c/ChangeLog:1.14 Thu Jul 29 12:51:42 2010
+++ rtems/cpukit/score/cpu/m32c/ChangeLog Fri Jul 30 13:52:08 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * cpu_asm.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/m32c/cpu_asm.c:1.6 rtems/cpukit/score/cpu/m32c/cpu_asm.c:1.7
--- rtems/cpukit/score/cpu/m32c/cpu_asm.c:1.6 Mon Jun 28 19:31:14 2010
+++ rtems/cpukit/score/cpu/m32c/cpu_asm.c Fri Jul 30 13:52:08 2010
@@ -89,7 +89,7 @@
* if ( _Thread_Dispatch_disable_level )
* goto the label "exit interrupt (simple case)"
*
- * if ( _Context_Switch_necessary ) {
+ * if ( _Thread_Dispatch_necessary ) {
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
* prepare to get out of interrupt
* return from interrupt (maybe to _ISR_Dispatch)
diff -u rtems/cpukit/score/cpu/m32r/ChangeLog:1.7 rtems/cpukit/score/cpu/m32r/ChangeLog:1.8
--- rtems/cpukit/score/cpu/m32r/ChangeLog:1.7 Thu Jul 29 12:51:44 2010
+++ rtems/cpukit/score/cpu/m32r/ChangeLog Fri Jul 30 13:52:10 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * cpu_asm.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/m32r/cpu_asm.c:1.4 rtems/cpukit/score/cpu/m32r/cpu_asm.c:1.5
--- rtems/cpukit/score/cpu/m32r/cpu_asm.c:1.4 Mon Jun 28 19:31:16 2010
+++ rtems/cpukit/score/cpu/m32r/cpu_asm.c Fri Jul 30 13:52:10 2010
@@ -79,7 +79,7 @@
* if ( _Thread_Dispatch_disable_level )
* goto the label "exit interrupt (simple case)"
*
- * if ( _Context_Switch_necessary ) {
+ * if ( _Thread_Dispatch_necessary ) {
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
* prepare to get out of interrupt
* return from interrupt (maybe to _ISR_Dispatch)
diff -u rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.84 rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.85
--- rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.84 Thu Jul 29 12:51:52 2010
+++ rtems/cpukit/score/cpu/no_cpu/ChangeLog Fri Jul 30 13:52:16 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * cpu_asm.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/no_cpu/cpu_asm.c:1.19 rtems/cpukit/score/cpu/no_cpu/cpu_asm.c:1.20
--- rtems/cpukit/score/cpu/no_cpu/cpu_asm.c:1.19 Mon Jun 28 19:33:12 2010
+++ rtems/cpukit/score/cpu/no_cpu/cpu_asm.c Fri Jul 30 13:52:16 2010
@@ -168,7 +168,7 @@
* if ( _Thread_Dispatch_disable_level )
* goto the label "exit interrupt (simple case)"
*
- * if ( _Context_Switch_necessary ) {
+ * if ( _Thread_Dispatch_necessary ) {
* call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
* prepare to get out of interrupt
* return from interrupt (maybe to _ISR_Dispatch)
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* spsize/size.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.410 testsuites/sptests/ChangeLog
M 1.66 testsuites/sptests/spsize/size.c
diff -u rtems/testsuites/sptests/ChangeLog:1.409 rtems/testsuites/sptests/ChangeLog:1.410
--- rtems/testsuites/sptests/ChangeLog:1.409 Thu Jul 29 17:28:51 2010
+++ rtems/testsuites/sptests/ChangeLog Fri Jul 30 13:52:30 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * spsize/size.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Bharath Suri <bharath.s.jois at gmail.com>
PR 1621/testing
diff -u rtems/testsuites/sptests/spsize/size.c:1.65 rtems/testsuites/sptests/spsize/size.c:1.66
--- rtems/testsuites/sptests/spsize/size.c:1.65 Mon Jun 28 19:40:29 2010
+++ rtems/testsuites/sptests/spsize/size.c Fri Jul 30 13:52:30 2010
@@ -228,7 +228,7 @@
(sizeof _Configuration_MP_table) +
#endif
-/*context.h*/ (sizeof _Context_Switch_necessary) +
+/*context.h*/ (sizeof _Thread_Dispatch_necessary) +
/*copyrt.h*/ 0 +
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.89 testsuites/tmtests/ChangeLog
M 1.31 testsuites/tmtests/tm26/task1.c
M 1.28 testsuites/tmtests/tm27/task1.c
diff -u rtems/testsuites/tmtests/ChangeLog:1.88 rtems/testsuites/tmtests/ChangeLog:1.89
--- rtems/testsuites/tmtests/ChangeLog:1.88 Mon Jun 21 11:53:50 2010
+++ rtems/testsuites/tmtests/ChangeLog Fri Jul 30 13:52:32 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-06-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, configure.ac: New test for barrier create, ident, and
diff -u rtems/testsuites/tmtests/tm26/task1.c:1.30 rtems/testsuites/tmtests/tm26/task1.c:1.31
--- rtems/testsuites/tmtests/tm26/task1.c:1.30 Sat Oct 31 23:10:20 2009
+++ rtems/testsuites/tmtests/tm26/task1.c Fri Jul 30 13:52:32 2010
@@ -225,7 +225,7 @@
_Thread_Set_state( _Thread_Executing, STATES_SUSPENDED );
thread_set_state_time = benchmark_timer_read();
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
benchmark_timer_initialize();
_Thread_Dispatch(); /* dispatches Middle_task */
@@ -246,7 +246,7 @@
/* do not force context switch */
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -283,7 +283,7 @@
/* do not force context switch */
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -310,7 +310,7 @@
/* do not force context switch */
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -333,7 +333,7 @@
/* do not force context switch */
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -364,7 +364,7 @@
/* do not force context switch */
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Disable_dispatch();
@@ -430,7 +430,7 @@
*/
_Thread_Heir = _Thread_Executing;
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Dispatch_disable_level = 0;
/*
diff -u rtems/testsuites/tmtests/tm27/task1.c:1.27 rtems/testsuites/tmtests/tm27/task1.c:1.28
--- rtems/testsuites/tmtests/tm27/task1.c:1.27 Sat May 9 16:24:06 2009
+++ rtems/testsuites/tmtests/tm27/task1.c Fri Jul 30 13:52:32 2010
@@ -172,7 +172,7 @@
_Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].last;
- _Context_Switch_necessary = 1;
+ _Thread_Dispatch_necessary = 1;
Interrupt_occurred = 0;
benchmark_timer_initialize();
@@ -229,7 +229,7 @@
_Thread_Heir = (rtems_tcb *) _Thread_Ready_chain[LOW_PRIORITY].first;
- _Context_Switch_necessary = 1;
+ _Thread_Dispatch_necessary = 1;
_Thread_Dispatch();
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* posix/src/psignalunblockthread.c, posix/src/pthreadkill.c,
rtems/src/signalsend.c, score/include/rtems/score/percpu.h,
score/inline/rtems/score/thread.inl, score/src/thread.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threaddispatch.c, score/src/threadready.c,
score/src/threadresume.c, score/src/threadsetstate.c,
score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.2538 cpukit/ChangeLog
M 1.14 cpukit/posix/src/psignalunblockthread.c
M 1.17 cpukit/posix/src/pthreadkill.c
M 1.12 cpukit/rtems/src/signalsend.c
M 1.4 cpukit/score/include/rtems/score/percpu.h
M 1.43 cpukit/score/inline/rtems/score/thread.inl
M 1.64 cpukit/score/src/thread.c
M 1.14 cpukit/score/src/threadchangepriority.c
M 1.12 cpukit/score/src/threadclearstate.c
M 1.22 cpukit/score/src/threaddispatch.c
M 1.9 cpukit/score/src/threadready.c
M 1.12 cpukit/score/src/threadresume.c
M 1.8 cpukit/score/src/threadsetstate.c
M 1.11 cpukit/score/src/threadstartmultitasking.c
M 1.9 cpukit/score/src/threadsuspend.c
M 1.6 cpukit/score/src/threadyieldprocessor.c
diff -u rtems/cpukit/ChangeLog:1.2537 rtems/cpukit/ChangeLog:1.2538
--- rtems/cpukit/ChangeLog:1.2537 Fri Jul 30 13:44:46 2010
+++ rtems/cpukit/ChangeLog Fri Jul 30 13:53:05 2010
@@ -1,3 +1,16 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c,
+ rtems/src/signalsend.c, score/include/rtems/score/percpu.h,
+ score/inline/rtems/score/thread.inl, score/src/thread.c,
+ score/src/threadchangepriority.c, score/src/threadclearstate.c,
+ score/src/threaddispatch.c, score/src/threadready.c,
+ score/src/threadresume.c, score/src/threadsetstate.c,
+ score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
+ score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-30 Vinu Rajashekhar <vinutheraj at gmail.com>
* sapi/include/confdefs.h: Add configuration macros for Go
diff -u rtems/cpukit/posix/src/psignalunblockthread.c:1.13 rtems/cpukit/posix/src/psignalunblockthread.c:1.14
--- rtems/cpukit/posix/src/psignalunblockthread.c:1.13 Thu Jul 29 12:49:30 2010
+++ rtems/cpukit/posix/src/psignalunblockthread.c Fri Jul 30 13:53:06 2010
@@ -113,7 +113,7 @@
} else if ( the_thread->current_state == STATES_READY ) {
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
}
return false;
diff -u rtems/cpukit/posix/src/pthreadkill.c:1.16 rtems/cpukit/posix/src/pthreadkill.c:1.17
--- rtems/cpukit/posix/src/pthreadkill.c:1.16 Mon Jun 28 19:34:11 2010
+++ rtems/cpukit/posix/src/pthreadkill.c Fri Jul 30 13:53:06 2010
@@ -64,7 +64,7 @@
(void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
_Thread_Enable_dispatch();
return 0;
diff -u rtems/cpukit/rtems/src/signalsend.c:1.11 rtems/cpukit/rtems/src/signalsend.c:1.12
--- rtems/cpukit/rtems/src/signalsend.c:1.11 Mon Jun 28 19:34:11 2010
+++ rtems/cpukit/rtems/src/signalsend.c Fri Jul 30 13:53:06 2010
@@ -65,7 +65,7 @@
_ASR_Post_signals( signal_set, &asr->signals_posted );
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
} else {
_ASR_Post_signals( signal_set, &asr->signals_pending );
}
diff -u rtems/cpukit/score/include/rtems/score/percpu.h:1.3 rtems/cpukit/score/include/rtems/score/percpu.h:1.4
--- rtems/cpukit/score/include/rtems/score/percpu.h:1.3 Fri Jul 16 03:31:33 2010
+++ rtems/cpukit/score/include/rtems/score/percpu.h Fri Jul 30 13:53:06 2010
@@ -85,7 +85,7 @@
Thread_Control *idle;
/** This is set to true when this CPU needs to run the dispatcher. */
- volatile bool dispatch_needed;
+ volatile bool dispatch_necessary;
} Per_CPU_Control;
#endif
@@ -160,7 +160,7 @@
#define _ISR_Nest_level _Per_CPU_Information.isr_nest_level
#define _CPU_Interrupt_stack_low _Per_CPU_Information.interrupt_stack_low
#define _CPU_Interrupt_stack_high _Per_CPU_Information.interrupt_stack_high
-#define _Context_Switch_necessary _Per_CPU_Information.dispatch_needed
+#define _Thread_Dispatch_necessary _Per_CPU_Information.dispatch_necessary
#endif /* ASM */
diff -u rtems/cpukit/score/inline/rtems/score/thread.inl:1.42 rtems/cpukit/score/inline/rtems/score/thread.inl:1.43
--- rtems/cpukit/score/inline/rtems/score/thread.inl:1.42 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/inline/rtems/score/thread.inl Fri Jul 30 13:53:06 2010
@@ -258,7 +258,7 @@
RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void )
{
- return ( _Context_Switch_necessary );
+ return ( _Thread_Dispatch_necessary );
}
/**
@@ -351,7 +351,7 @@
if ( are_signals_pending ||
(!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
return true;
}
diff -u rtems/cpukit/score/src/thread.c:1.63 rtems/cpukit/score/src/thread.c:1.64
--- rtems/cpukit/score/src/thread.c:1.63 Mon Jun 28 19:34:12 2010
+++ rtems/cpukit/score/src/thread.c Fri Jul 30 13:53:06 2010
@@ -69,7 +69,7 @@
INTERNAL_ERROR_BAD_STACK_HOOK
);
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Executing = NULL;
_Thread_Heir = NULL;
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
diff -u rtems/cpukit/score/src/threadchangepriority.c:1.13 rtems/cpukit/score/src/threadchangepriority.c:1.14
--- rtems/cpukit/score/src/threadchangepriority.c:1.13 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadchangepriority.c Fri Jul 30 13:53:06 2010
@@ -137,6 +137,6 @@
if ( !_Thread_Is_executing_also_the_heir() &&
_Thread_Executing->is_preemptible )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
_ISR_Enable( level );
}
diff -u rtems/cpukit/score/src/threadclearstate.c:1.11 rtems/cpukit/score/src/threadclearstate.c:1.12
--- rtems/cpukit/score/src/threadclearstate.c:1.11 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadclearstate.c Fri Jul 30 13:53:06 2010
@@ -89,7 +89,7 @@
_Thread_Heir = the_thread;
if ( _Thread_Executing->is_preemptible ||
the_thread->current_priority == 0 )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
}
}
diff -u rtems/cpukit/score/src/threaddispatch.c:1.21 rtems/cpukit/score/src/threaddispatch.c:1.22
--- rtems/cpukit/score/src/threaddispatch.c:1.21 Mon Jun 28 19:34:12 2010
+++ rtems/cpukit/score/src/threaddispatch.c Fri Jul 30 13:53:06 2010
@@ -89,10 +89,10 @@
executing = _Thread_Executing;
_ISR_Disable( level );
- while ( _Context_Switch_necessary == true ) {
+ while ( _Thread_Dispatch_necessary == true ) {
heir = _Thread_Heir;
_Thread_Dispatch_disable_level = 1;
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Executing = heir;
/*
diff -u rtems/cpukit/score/src/threadready.c:1.8 rtems/cpukit/score/src/threadready.c:1.9
--- rtems/cpukit/score/src/threadready.c:1.8 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadready.c Fri Jul 30 13:53:06 2010
@@ -72,7 +72,7 @@
heir = _Thread_Heir;
if ( !_Thread_Is_executing( heir ) && _Thread_Executing->is_preemptible )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
_ISR_Enable( level );
}
diff -u rtems/cpukit/score/src/threadresume.c:1.11 rtems/cpukit/score/src/threadresume.c:1.12
--- rtems/cpukit/score/src/threadresume.c:1.11 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadresume.c Fri Jul 30 13:53:06 2010
@@ -79,7 +79,7 @@
_Thread_Heir = the_thread;
if ( _Thread_Executing->is_preemptible ||
the_thread->current_priority == 0 )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
}
}
diff -u rtems/cpukit/score/src/threadsetstate.c:1.7 rtems/cpukit/score/src/threadsetstate.c:1.8
--- rtems/cpukit/score/src/threadsetstate.c:1.7 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadsetstate.c Fri Jul 30 13:53:06 2010
@@ -81,7 +81,7 @@
_Thread_Calculate_heir();
if ( _Thread_Is_executing( the_thread ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
_ISR_Enable( level );
}
diff -u rtems/cpukit/score/src/threadstartmultitasking.c:1.10 rtems/cpukit/score/src/threadstartmultitasking.c:1.11
--- rtems/cpukit/score/src/threadstartmultitasking.c:1.10 Fri Aug 28 13:26:05 2009
+++ rtems/cpukit/score/src/threadstartmultitasking.c Fri Jul 30 13:53:06 2010
@@ -61,7 +61,7 @@
_System_state_Set( SYSTEM_STATE_UP );
- _Context_Switch_necessary = false;
+ _Thread_Dispatch_necessary = false;
_Thread_Executing = _Thread_Heir;
diff -u rtems/cpukit/score/src/threadsuspend.c:1.8 rtems/cpukit/score/src/threadsuspend.c:1.9
--- rtems/cpukit/score/src/threadsuspend.c:1.8 Thu Jul 29 12:52:10 2010
+++ rtems/cpukit/score/src/threadsuspend.c Fri Jul 30 13:53:06 2010
@@ -79,7 +79,7 @@
_Thread_Calculate_heir();
if ( _Thread_Is_executing( the_thread ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
_ISR_Enable( level );
}
diff -u rtems/cpukit/score/src/threadyieldprocessor.c:1.5 rtems/cpukit/score/src/threadyieldprocessor.c:1.6
--- rtems/cpukit/score/src/threadyieldprocessor.c:1.5 Sun Dec 21 23:52:32 2008
+++ rtems/cpukit/score/src/threadyieldprocessor.c Fri Jul 30 13:53:06 2010
@@ -67,10 +67,10 @@
if ( _Thread_Is_heir( executing ) )
_Thread_Heir = (Thread_Control *) ready->first;
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
else if ( !_Thread_Is_heir( executing ) )
- _Context_Switch_necessary = true;
+ _Thread_Dispatch_necessary = true;
_ISR_Enable( level );
}
*joel*:
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
* porting/interrupts.t: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
M 1.285 doc/ChangeLog
M 1.11 doc/porting/interrupts.t
diff -u rtems/doc/ChangeLog:1.284 rtems/doc/ChangeLog:1.285
--- rtems/doc/ChangeLog:1.284 Thu Jul 29 12:52:18 2010
+++ rtems/doc/ChangeLog Fri Jul 30 13:54:58 2010
@@ -1,3 +1,9 @@
+2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
+
+ PR 1599/cpukit
+ * porting/interrupts.t: Rename _Context_Switch_necessary to
+ _Thread_Dispatch_necessary to more properly reflect the intent.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/doc/porting/interrupts.t:1.10 rtems/doc/porting/interrupts.t:1.11
--- rtems/doc/porting/interrupts.t:1.10 Mon Jun 28 19:39:27 2010
+++ rtems/doc/porting/interrupts.t Fri Jul 30 13:54:58 2010
@@ -368,7 +368,7 @@
if ( _Thread_Dispatch_disable_level )
goto the label "exit interrupt (simple case)"
-if ( _Context_Switch_necessary )
+if ( _Thread_Dispatch_necessary )
call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
prepare to get out of interrupt
return from interrupt (maybe to _ISR_Dispatch)
--
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/20100730/3c049a0e/attachment.html>
More information about the vc
mailing list