change log for rtems (2010-06-17)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Jun 18 03:12:17 UTC 2010


 *ralf*:
2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	* score/src/threadsuspend.c, score/src/threadresume.c,
	score/src/threadreset.c, score/src/threadinitialize.c,
	score/src/apiext.c, score/include/rtems/score/thread.h,
	score/include/rtems/score/coresem.h:
	Remove RTEMS_ITRON_API conditional blocks.

M 1.2424  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2423 rtems/cpukit/ChangeLog:1.2424
--- rtems/cpukit/ChangeLog:1.2423	Thu Jun 17 17:04:51 2010
+++ rtems/cpukit/ChangeLog	Thu Jun 17 21:56:42 2010
@@ -1,3 +1,11 @@
+2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* score/src/threadsuspend.c, score/src/threadresume.c,
+	score/src/threadreset.c, score/src/threadinitialize.c,
+	score/src/apiext.c, score/include/rtems/score/thread.h,
+	score/include/rtems/score/coresem.h:
+	Remove RTEMS_ITRON_API conditional blocks.
+
 2010-06-18	Chris Johns <chrisj at rtems.org>
 
 	* libfs/src/rfs/rtems-rfs-file-block.c: Clean up uint64_t maths.


 *ralf*:
2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	* sapi/Makefile.am: Remove src/itronapi.c.
	* sapi/src/itronapi.c: Remove.

M 1.2425  cpukit/ChangeLog
M   1.39  cpukit/sapi/Makefile.am
R   1.11  cpukit/sapi/src/itronapi.c

diff -u rtems/cpukit/ChangeLog:1.2424 rtems/cpukit/ChangeLog:1.2425
--- rtems/cpukit/ChangeLog:1.2424	Thu Jun 17 21:56:42 2010
+++ rtems/cpukit/ChangeLog	Thu Jun 17 21:58:15 2010
@@ -1,5 +1,7 @@
 2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* sapi/Makefile.am: Remove src/itronapi.c.
+	* sapi/src/itronapi.c: Remove.
 	* score/src/threadsuspend.c, score/src/threadresume.c,
 	score/src/threadreset.c, score/src/threadinitialize.c,
 	score/src/apiext.c, score/include/rtems/score/thread.h,

diff -u rtems/cpukit/sapi/Makefile.am:1.38 rtems/cpukit/sapi/Makefile.am:1.39
--- rtems/cpukit/sapi/Makefile.am:1.38	Sun Aug  9 10:23:10 2009
+++ rtems/cpukit/sapi/Makefile.am	Thu Jun 17 21:58:15 2010
@@ -26,7 +26,7 @@
     src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
     src/exshutdown.c src/io.c src/ioclose.c src/iocontrol.c src/iodata.c \
     src/ioinitialize.c src/ioopen.c src/ioread.c src/ioregisterdriver.c \
-    src/iounregisterdriver.c src/iowrite.c src/itronapi.c src/posixapi.c  \
+    src/iounregisterdriver.c src/iowrite.c src/posixapi.c  \
     src/rtemsapi.c src/extensiondata.c src/getversionstring.c
 libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
 


 *ralf*:
Remove RTEMS_ITRON_API conditional blocks.

M    1.8  cpukit/rtems/src/rtemsobjectgetapiclassname.c
M   1.52  cpukit/sapi/include/rtems/config.h
M   1.54  cpukit/sapi/src/exinit.c
M   1.30  cpukit/score/include/rtems/score/coresem.h
M   1.92  cpukit/score/include/rtems/score/thread.h
M   1.14  cpukit/score/src/apiext.c
M   1.39  cpukit/score/src/threadinitialize.c
M   1.10  cpukit/score/src/threadreset.c
M   1.10  cpukit/score/src/threadresume.c
M    1.7  cpukit/score/src/threadsuspend.c

diff -u rtems/cpukit/rtems/src/rtemsobjectgetapiclassname.c:1.7 rtems/cpukit/rtems/src/rtemsobjectgetapiclassname.c:1.8
--- rtems/cpukit/rtems/src/rtemsobjectgetapiclassname.c:1.7	Mon Nov 30 09:59:55 2009
+++ rtems/cpukit/rtems/src/rtemsobjectgetapiclassname.c	Thu Jun 17 22:03:22 2010
@@ -56,19 +56,6 @@
 };
 #endif
 
-#ifdef RTEMS_ITRON_API
-rtems_assoc_t rtems_object_api_itron_assoc[] = {
-  { "Task",                    OBJECTS_ITRON_TASKS, 0},
-  { "Event Flag",              OBJECTS_ITRON_EVENTFLAGS, 0},
-  { "Mailbox",                 OBJECTS_ITRON_MAILBOXES, 0},
-  { "Message Buffer",          OBJECTS_ITRON_MESSAGE_BUFFERS, 0},
-  { "Port",                    OBJECTS_ITRON_PORTS, 0},
-  { "Semaphore",               OBJECTS_ITRON_SEMAPHORES, 0},
-  { "Variable Memory Pool",    OBJECTS_ITRON_VARIABLE_MEMORY_POOLS, 0},
-  { "Fixed Memory Pool",       OBJECTS_ITRON_FIXED_MEMORY_POOLS, 0},
-};
-#endif
-
 const char *rtems_object_get_api_class_name(
   int the_api,
   int the_class
@@ -85,10 +72,6 @@
   else if ( the_api == OBJECTS_POSIX_API )
     api_assoc = rtems_object_api_posix_assoc;
 #endif
-#ifdef RTEMS_ITRON_API
-  else if ( the_api == OBJECTS_ITRON_API )
-    api_assoc = rtems_object_api_itron_assoc;
-#endif
   else
     return "BAD API";
   class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );

diff -u rtems/cpukit/sapi/include/rtems/config.h:1.51 rtems/cpukit/sapi/include/rtems/config.h:1.52
--- rtems/cpukit/sapi/include/rtems/config.h:1.51	Sun Nov 29 07:51:51 2009
+++ rtems/cpukit/sapi/include/rtems/config.h	Thu Jun 17 22:03:22 2010
@@ -48,13 +48,6 @@
 typedef void *posix_api_configuration_table;
 #endif
 
-#ifdef RTEMS_ITRON_API
-#include <rtems/itron.h>
-#include <rtems/itron/config.h>
-#else
-typedef void *itron_api_configuration_table;
-#endif
-
 #include <rtems/rtems/config.h>
 
 #include <rtems/extension.h>

diff -u rtems/cpukit/sapi/src/exinit.c:1.53 rtems/cpukit/sapi/src/exinit.c:1.54
--- rtems/cpukit/sapi/src/exinit.c:1.53	Fri Aug 28 13:26:05 2009
+++ rtems/cpukit/sapi/src/exinit.c	Thu Jun 17 22:03:22 2010
@@ -55,9 +55,6 @@
 #ifdef RTEMS_POSIX_API
   #include <rtems/posix/posixapi.h>
 #endif
-#ifdef RTEMS_ITRON_API
-  #include <rtems/itron/itronapi.h>
-#endif
 
 Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
 
@@ -150,10 +147,6 @@
     _POSIX_API_Initialize();
   #endif
 
-  #ifdef RTEMS_ITRON_API
-    _ITRON_API_Initialize();
-  #endif
-
   _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
 
   /*

diff -u rtems/cpukit/score/include/rtems/score/coresem.h:1.29 rtems/cpukit/score/include/rtems/score/coresem.h:1.30
--- rtems/cpukit/score/include/rtems/score/coresem.h:1.29	Mon Jun 14 01:08:40 2010
+++ rtems/cpukit/score/include/rtems/score/coresem.h	Thu Jun 17 21:56:26 2010
@@ -38,7 +38,7 @@
 extern "C" {
 #endif
 
-#if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API)
+#if defined(RTEMS_POSIX_API)
   #define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY
 #endif
 

diff -u rtems/cpukit/score/include/rtems/score/thread.h:1.91 rtems/cpukit/score/include/rtems/score/thread.h:1.92
--- rtems/cpukit/score/include/rtems/score/thread.h:1.91	Thu Jun 17 12:20:55 2010
+++ rtems/cpukit/score/include/rtems/score/thread.h	Thu Jun 17 21:56:26 2010
@@ -27,7 +27,7 @@
  */
 /**@{*/
 
-#if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API)
+#if defined(RTEMS_POSIX_API)
   #define RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE
 #endif
 

diff -u rtems/cpukit/score/src/apiext.c:1.13 rtems/cpukit/score/src/apiext.c:1.14
--- rtems/cpukit/score/src/apiext.c:1.13	Fri Jul  3 15:57:21 2009
+++ rtems/cpukit/score/src/apiext.c	Thu Jun 17 21:56:26 2010
@@ -110,9 +110,6 @@
      *  Currently the ITRON API is the only API which does not
      *  provide this hook.
      */
-#if defined(RTEMS_ITRON_API)
-    if ( the_extension->postswitch_hook )
-#endif
       (*the_extension->postswitch_hook)( _Thread_Executing );
   }
 }

diff -u rtems/cpukit/score/src/threadinitialize.c:1.38 rtems/cpukit/score/src/threadinitialize.c:1.39
--- rtems/cpukit/score/src/threadinitialize.c:1.38	Wed Dec  2 12:22:18 2009
+++ rtems/cpukit/score/src/threadinitialize.c	Thu Jun 17 21:56:26 2010
@@ -190,9 +190,6 @@
   the_thread->current_state           = STATES_DORMANT;
   the_thread->Wait.queue              = NULL;
   the_thread->resource_count          = 0;
-  #if defined(RTEMS_ITRON_API)
-    the_thread->suspend_count         = 0;
-  #endif
   the_thread->real_priority           = priority;
   the_thread->Start.initial_priority  = priority;
   _Thread_Set_priority( the_thread, priority );

diff -u rtems/cpukit/score/src/threadreset.c:1.9 rtems/cpukit/score/src/threadreset.c:1.10
--- rtems/cpukit/score/src/threadreset.c:1.9	Mon Jun  1 16:44:01 2009
+++ rtems/cpukit/score/src/threadreset.c	Thu Jun 17 21:56:26 2010
@@ -47,9 +47,6 @@
 )
 {
   the_thread->resource_count   = 0;
-  #if defined(RTEMS_ITRON_API)
-    the_thread->suspend_count  = 0;
-  #endif
   the_thread->is_preemptible   = the_thread->Start.is_preemptible;
   the_thread->budget_algorithm = the_thread->Start.budget_algorithm;
   the_thread->budget_callout   = the_thread->Start.budget_callout;

diff -u rtems/cpukit/score/src/threadresume.c:1.9 rtems/cpukit/score/src/threadresume.c:1.10
--- rtems/cpukit/score/src/threadresume.c:1.9	Mon Jun  1 16:44:01 2009
+++ rtems/cpukit/score/src/threadresume.c	Thu Jun 17 21:56:26 2010
@@ -62,18 +62,6 @@
 
   _ISR_Disable( level );
 
-  #if defined(RTEMS_ITRON_API)
-    if ( force == true )
-      the_thread->suspend_count = 0;
-    else
-      the_thread->suspend_count--;
-
-    if ( the_thread->suspend_count > 0 ) {
-      _ISR_Enable( level );
-      return;
-    }
-  #endif
-
   current_state = the_thread->current_state;
   if ( current_state & STATES_SUSPENDED ) {
     current_state =

diff -u rtems/cpukit/score/src/threadsuspend.c:1.6 rtems/cpukit/score/src/threadsuspend.c:1.7
--- rtems/cpukit/score/src/threadsuspend.c:1.6	Mon Jun  1 16:44:01 2009
+++ rtems/cpukit/score/src/threadsuspend.c	Thu Jun 17 21:56:26 2010
@@ -56,9 +56,6 @@
 
   ready = the_thread->ready;
   _ISR_Disable( level );
-  #if defined(RTEMS_ITRON_API)
-    the_thread->suspend_count++;
-  #endif
   if ( !_States_Is_ready( the_thread->current_state ) ) {
     the_thread->current_state =
        _States_Set( STATES_SUSPENDED, the_thread->current_state );


 *ralf*:
2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>

	* rtems/src/rtemsobjectgetapiclassname.c,
	sapi/include/rtems/config.h, sapi/src/exinit.c:
	Remove RTEMS_ITRON_API conditional blocks.

M 1.2426  cpukit/ChangeLog

diff -u rtems/cpukit/ChangeLog:1.2425 rtems/cpukit/ChangeLog:1.2426
--- rtems/cpukit/ChangeLog:1.2425	Thu Jun 17 21:58:15 2010
+++ rtems/cpukit/ChangeLog	Thu Jun 17 22:03:32 2010
@@ -1,5 +1,8 @@
 2010-06-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* rtems/src/rtemsobjectgetapiclassname.c,
+	sapi/include/rtems/config.h, sapi/src/exinit.c:
+	Remove RTEMS_ITRON_API conditional blocks.
 	* sapi/Makefile.am: Remove src/itronapi.c.
 	* sapi/src/itronapi.c: Remove.
 	* score/src/threadsuspend.c, score/src/threadresume.c,



--

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/20100617/ef7ed416/attachment-0001.html>


More information about the vc mailing list