change log for rtems (2011-10-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Oct 19 16:13:31 UTC 2011


 *ralf*:
2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>

	* psxtmbarrier01/init.c, psxtmbarrier02/init.c, psxtmbarrier03/init.c,
	psxtmkey01/init.c, psxtmkey02/init.c, psxtmmq01/init.c,
	psxtmmutex01/init.c, psxtmmutex02/init.c, psxtmmutex03/init.c,
	psxtmmutex04/init.c, psxtmmutex05/init.c, psxtmmutex06/init.c,
	psxtmmutex07/init.c, psxtmnanosleep01/init.c, psxtmnanosleep02/init.c,
	psxtmrwlock01/init.c, psxtmrwlock02/init.c, psxtmrwlock03/init.c,
	psxtmrwlock04/init.c, psxtmrwlock05/init.c, psxtmrwlock06/init.c,
	psxtmrwlock07/init.c, psxtmsem01/init.c, psxtmsem02/init.c,
	psxtmsem03/init.c, psxtmsem04/init.c, psxtmsem05/init.c,
	psxtmsleep01/init.c, psxtmsleep02/init.c, psxtmthread03/init.c:
	Use benchmark_timer_t for benchmark_timer values (Avoid 64bit
	arch issues).

M   1.50  testsuites/psxtmtests/ChangeLog
M    1.2  testsuites/psxtmtests/psxtmbarrier01/init.c
M    1.2  testsuites/psxtmtests/psxtmbarrier02/init.c
M    1.2  testsuites/psxtmtests/psxtmbarrier03/init.c
M    1.2  testsuites/psxtmtests/psxtmkey01/init.c
M    1.2  testsuites/psxtmtests/psxtmkey02/init.c
M    1.2  testsuites/psxtmtests/psxtmmq01/init.c
M    1.2  testsuites/psxtmtests/psxtmmutex01/init.c
M    1.5  testsuites/psxtmtests/psxtmmutex02/init.c
M    1.2  testsuites/psxtmtests/psxtmmutex03/init.c
M    1.2  testsuites/psxtmtests/psxtmmutex04/init.c
M    1.4  testsuites/psxtmtests/psxtmmutex05/init.c
M    1.3  testsuites/psxtmtests/psxtmmutex06/init.c
M    1.2  testsuites/psxtmtests/psxtmmutex07/init.c
M    1.3  testsuites/psxtmtests/psxtmnanosleep01/init.c
M    1.3  testsuites/psxtmtests/psxtmnanosleep02/init.c
M    1.3  testsuites/psxtmtests/psxtmrwlock01/init.c
M    1.2  testsuites/psxtmtests/psxtmrwlock02/init.c
M    1.3  testsuites/psxtmtests/psxtmrwlock03/init.c
M    1.2  testsuites/psxtmtests/psxtmrwlock04/init.c
M    1.2  testsuites/psxtmtests/psxtmrwlock05/init.c
M    1.2  testsuites/psxtmtests/psxtmrwlock06/init.c
M    1.2  testsuites/psxtmtests/psxtmrwlock07/init.c
M    1.2  testsuites/psxtmtests/psxtmsem01/init.c
M    1.2  testsuites/psxtmtests/psxtmsem02/init.c
M    1.3  testsuites/psxtmtests/psxtmsem03/init.c
M    1.2  testsuites/psxtmtests/psxtmsem04/init.c
M    1.2  testsuites/psxtmtests/psxtmsem05/init.c
M    1.3  testsuites/psxtmtests/psxtmsleep01/init.c
M    1.3  testsuites/psxtmtests/psxtmsleep02/init.c
M    1.5  testsuites/psxtmtests/psxtmthread03/init.c

diff -u rtems/testsuites/psxtmtests/ChangeLog:1.49 rtems/testsuites/psxtmtests/ChangeLog:1.50
--- rtems/testsuites/psxtmtests/ChangeLog:1.49	Thu Sep 29 10:59:10 2011
+++ rtems/testsuites/psxtmtests/ChangeLog	Wed Oct 19 10:27:26 2011
@@ -1,3 +1,18 @@
+2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* psxtmbarrier01/init.c, psxtmbarrier02/init.c, psxtmbarrier03/init.c,
+	psxtmkey01/init.c, psxtmkey02/init.c, psxtmmq01/init.c,
+	psxtmmutex01/init.c, psxtmmutex02/init.c, psxtmmutex03/init.c,
+	psxtmmutex04/init.c, psxtmmutex05/init.c, psxtmmutex06/init.c,
+	psxtmmutex07/init.c, psxtmnanosleep01/init.c, psxtmnanosleep02/init.c,
+	psxtmrwlock01/init.c, psxtmrwlock02/init.c, psxtmrwlock03/init.c,
+	psxtmrwlock04/init.c, psxtmrwlock05/init.c, psxtmrwlock06/init.c,
+	psxtmrwlock07/init.c, psxtmsem01/init.c, psxtmsem02/init.c,
+	psxtmsem03/init.c, psxtmsem04/init.c, psxtmsem05/init.c,
+	psxtmsleep01/init.c, psxtmsleep02/init.c, psxtmthread03/init.c:
+	Use benchmark_timer_t for benchmark_timer values (Avoid 64bit
+	arch issues).
+
 2011-09-29	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* psxtmsem03/init.c: Add HAVE_CONFIG_H.

diff -u rtems/testsuites/psxtmtests/psxtmbarrier01/init.c:1.1 rtems/testsuites/psxtmtests/psxtmbarrier01/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmbarrier01/init.c:1.1	Thu Jul 28 16:17:16 2011
+++ rtems/testsuites/psxtmtests/psxtmbarrier01/init.c	Wed Oct 19 10:27:26 2011
@@ -22,7 +22,7 @@
 
 void benchmark_pthread_barrier_init(void)
 {
-  long                  end_time;
+  benchmark_timer_t end_time;
   int                   status;
   pthread_barrierattr_t attr;
 
@@ -48,7 +48,7 @@
 
 void benchmark_pthread_barrier_destroy(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmbarrier02/init.c:1.1 rtems/testsuites/psxtmtests/psxtmbarrier02/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmbarrier02/init.c:1.1	Fri Jul 29 10:08:21 2011
+++ rtems/testsuites/psxtmtests/psxtmbarrier02/init.c	Wed Oct 19 10:27:26 2011
@@ -27,7 +27,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmbarrier03/init.c:1.1 rtems/testsuites/psxtmtests/psxtmbarrier03/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmbarrier03/init.c:1.1	Fri Jul 29 11:54:32 2011
+++ rtems/testsuites/psxtmtests/psxtmbarrier03/init.c	Wed Oct 19 10:27:26 2011
@@ -39,7 +39,7 @@
 {
   int        status;
   pthread_t  threadId;
-  long       end_time;
+  benchmark_timer_t end_time;
 
   puts( "\n\n*** POSIX TIME TEST PSXTMBARRIER 03 ***" );
 

diff -u rtems/testsuites/psxtmtests/psxtmkey01/init.c:1.1 rtems/testsuites/psxtmtests/psxtmkey01/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmkey01/init.c:1.1	Wed Jul 20 08:20:25 2011
+++ rtems/testsuites/psxtmtests/psxtmkey01/init.c	Wed Oct 19 10:27:26 2011
@@ -23,7 +23,7 @@
 
 void benchmark_pthread_key_create(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -43,7 +43,7 @@
 
 void benchmark_pthread_key_delete(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmkey02/init.c:1.1 rtems/testsuites/psxtmtests/psxtmkey02/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmkey02/init.c:1.1	Tue Jul 19 08:04:20 2011
+++ rtems/testsuites/psxtmtests/psxtmkey02/init.c	Wed Oct 19 10:27:26 2011
@@ -24,7 +24,7 @@
 
 void benchmark_pthread_setspecific( void *value_p )
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -44,7 +44,7 @@
 
 void benchmark_pthread_getspecific( void *expected )
 {
-  long  end_time;
+  benchmark_timer_t end_time;
   void *value_p;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmmq01/init.c:1.1 rtems/testsuites/psxtmtests/psxtmmq01/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmmq01/init.c:1.1	Wed Aug 24 16:15:58 2011
+++ rtems/testsuites/psxtmtests/psxtmmq01/init.c	Wed Oct 19 10:27:26 2011
@@ -30,7 +30,7 @@
 
 void benchmark_mq_open(int printable)
 {
-  long            end_time;
+  benchmark_timer_t end_time;
   struct mq_attr  attr;
 
   attr.mq_maxmsg  = MQ_MAXMSG;
@@ -54,7 +54,7 @@
 
 void benchmark_mq_open_second(int printable)
 {
-  long            end_time;
+  benchmark_timer_t end_time;
   struct mq_attr  attr;
 
   attr.mq_maxmsg  = MQ_MAXMSG;
@@ -78,7 +78,7 @@
 
 void benchmark_mq_close(int printable)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -98,7 +98,7 @@
 
 void benchmark_mq_close_second(int printable)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -118,7 +118,7 @@
 
 void benchmark_mq_unlink(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -137,7 +137,7 @@
 
 void benchmark_mq_notify(void)
 {
-  long            end_time;
+  benchmark_timer_t end_time;
   int             status;
   struct sigevent event;
 
@@ -160,7 +160,7 @@
 
 void benchmark_mq_send(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   status = 9;
@@ -180,7 +180,7 @@
 
 void benchmark_mq_receive(void)
 {
-  long           end_time;
+  benchmark_timer_t end_time;
   int           status;
   unsigned int  priority;
   int           message[MQ_MAXMSG];
@@ -202,7 +202,7 @@
 
 void benchmark_mq_timedsend(void)
 {
-  long             end_time;
+  benchmark_timer_t end_time;
   int              status;
   struct timespec  timeout;
 
@@ -226,7 +226,7 @@
 
 void benchmark_mq_timedreceive(void)
 {
-  long             end_time;
+  benchmark_timer_t end_time;
   int              status;
   unsigned int     priority;
   struct timespec  timeout;

diff -u rtems/testsuites/psxtmtests/psxtmmutex01/init.c:1.1 rtems/testsuites/psxtmtests/psxtmmutex01/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmmutex01/init.c:1.1	Wed Jul 13 10:23:25 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex01/init.c	Wed Oct 19 10:27:26 2011
@@ -23,7 +23,7 @@
 
 void test_mutex_create(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -42,7 +42,7 @@
 
 void test_mutex_destroy(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmmutex02/init.c:1.4 rtems/testsuites/psxtmtests/psxtmmutex02/init.c:1.5
--- rtems/testsuites/psxtmtests/psxtmmutex02/init.c:1.4	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex02/init.c	Wed Oct 19 10:27:26 2011
@@ -27,7 +27,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmmutex03/init.c:1.1 rtems/testsuites/psxtmtests/psxtmmutex03/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmmutex03/init.c:1.1	Tue Jul 12 08:22:24 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex03/init.c	Wed Oct 19 10:27:27 2011
@@ -23,7 +23,7 @@
 
 void benchmark_mutex_lock_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -42,7 +42,7 @@
 
 void benchmark_mutex_unlock_no_threads_waiting(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -61,7 +61,7 @@
 
 void benchmark_mutex_trylock_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -81,7 +81,7 @@
 
 void benchmark_mutex_trylock_not_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -105,7 +105,7 @@
 
 void benchmark_mutex_timedlock_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmmutex04/init.c:1.1 rtems/testsuites/psxtmtests/psxtmmutex04/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmmutex04/init.c:1.1	Thu Jul 21 08:48:52 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex04/init.c	Wed Oct 19 10:27:27 2011
@@ -27,7 +27,7 @@
   void *argument
 )
 {  
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmmutex05/init.c:1.3 rtems/testsuites/psxtmtests/psxtmmutex05/init.c:1.4
--- rtems/testsuites/psxtmtests/psxtmmutex05/init.c:1.3	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex05/init.c	Wed Oct 19 10:27:27 2011
@@ -40,7 +40,7 @@
 {
   int        status;
   pthread_t  threadId;
-  long       end_time;
+  benchmark_timer_t end_time;
 
   puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX05 ***" );
 

diff -u rtems/testsuites/psxtmtests/psxtmmutex06/init.c:1.2 rtems/testsuites/psxtmtests/psxtmmutex06/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmmutex06/init.c:1.2	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex06/init.c	Wed Oct 19 10:27:27 2011
@@ -28,7 +28,7 @@
 )
 {
   int      status;
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
     status = pthread_mutex_lock( &MutexId );
   end_time = benchmark_timer_read();

diff -u rtems/testsuites/psxtmtests/psxtmmutex07/init.c:1.1 rtems/testsuites/psxtmtests/psxtmmutex07/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmmutex07/init.c:1.1	Fri Jul 15 14:33:48 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex07/init.c	Wed Oct 19 10:27:27 2011
@@ -23,7 +23,7 @@
 
 void test_mutex_setprioceiling(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
   int  old_ceiling;
 
@@ -43,7 +43,7 @@
 
 void test_mutex_getprioceiling(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
   int  current_ceiling;
 

diff -u rtems/testsuites/psxtmtests/psxtmnanosleep01/init.c:1.2 rtems/testsuites/psxtmtests/psxtmnanosleep01/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmnanosleep01/init.c:1.2	Tue Jul 12 08:25:18 2011
+++ rtems/testsuites/psxtmtests/psxtmnanosleep01/init.c	Wed Oct 19 10:27:27 2011
@@ -21,7 +21,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
   struct timespec sleepTime;
 
   sleepTime.tv_sec = 0;

diff -u rtems/testsuites/psxtmtests/psxtmnanosleep02/init.c:1.2 rtems/testsuites/psxtmtests/psxtmnanosleep02/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmnanosleep02/init.c:1.2	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmnanosleep02/init.c	Wed Oct 19 10:27:27 2011
@@ -23,7 +23,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   end_time = benchmark_timer_read();
 

diff -u rtems/testsuites/psxtmtests/psxtmrwlock01/init.c:1.2 rtems/testsuites/psxtmtests/psxtmrwlock01/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmrwlock01/init.c:1.2	Thu Aug  4 10:06:45 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock01/init.c	Wed Oct 19 10:27:27 2011
@@ -22,7 +22,7 @@
 
 void benchmark_pthread_rwlock_init(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
   pthread_rwlockattr_t attr;
 
@@ -44,7 +44,7 @@
 
 void benchmark_pthread_rwlock_rdlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -64,7 +64,7 @@
 
 void benchmark_pthread_rwlock_unlock(int print)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -84,7 +84,7 @@
 
 void benchmark_pthread_rwlock_tryrdlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -112,7 +112,7 @@
 
 void benchmark_pthread_rwlock_timedrdlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -132,7 +132,7 @@
 
 void benchmark_pthread_rwlock_wrlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -152,7 +152,7 @@
 
 void benchmark_pthread_rwlock_trywrlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -181,7 +181,7 @@
 
 void benchmark_pthread_rwlock_timedwrlock(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -200,7 +200,7 @@
 
 void benchmark_pthread_rwlock_destroy(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmrwlock02/init.c:1.1 rtems/testsuites/psxtmtests/psxtmrwlock02/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmrwlock02/init.c:1.1	Tue Aug  2 09:19:46 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock02/init.c	Wed Oct 19 10:27:27 2011
@@ -27,7 +27,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmrwlock03/init.c:1.2 rtems/testsuites/psxtmtests/psxtmrwlock03/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmrwlock03/init.c:1.2	Thu Aug  4 09:42:05 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock03/init.c	Wed Oct 19 10:27:27 2011
@@ -28,7 +28,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmrwlock04/init.c:1.1 rtems/testsuites/psxtmtests/psxtmrwlock04/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmrwlock04/init.c:1.1	Tue Aug  2 12:20:18 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock04/init.c	Wed Oct 19 10:27:27 2011
@@ -27,7 +27,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmrwlock05/init.c:1.1 rtems/testsuites/psxtmtests/psxtmrwlock05/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmrwlock05/init.c:1.1	Thu Aug  4 10:02:06 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock05/init.c	Wed Oct 19 10:27:27 2011
@@ -28,7 +28,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmrwlock06/init.c:1.1 rtems/testsuites/psxtmtests/psxtmrwlock06/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmrwlock06/init.c:1.1	Thu Aug  4 10:15:23 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock06/init.c	Wed Oct 19 10:27:27 2011
@@ -40,7 +40,7 @@
 {
   int                   status;
   pthread_t             threadId;
-  long                  end_time;
+  benchmark_timer_t end_time;
   pthread_rwlockattr_t  attr;
 
   puts( "\n\n*** POSIX TIME TEST PSXTMRWLOCK 06 ***" );

diff -u rtems/testsuites/psxtmtests/psxtmrwlock07/init.c:1.1 rtems/testsuites/psxtmtests/psxtmrwlock07/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmrwlock07/init.c:1.1	Thu Aug  4 10:20:06 2011
+++ rtems/testsuites/psxtmtests/psxtmrwlock07/init.c	Wed Oct 19 10:27:27 2011
@@ -28,7 +28,7 @@
 )
 {
   int      status;
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /* write locking */
     status = pthread_rwlock_wrlock(&rwlock);

diff -u rtems/testsuites/psxtmtests/psxtmsem01/init.c:1.1 rtems/testsuites/psxtmtests/psxtmsem01/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmsem01/init.c:1.1	Fri Jul 22 12:05:46 2011
+++ rtems/testsuites/psxtmtests/psxtmsem01/init.c	Wed Oct 19 10:27:27 2011
@@ -29,7 +29,7 @@
 
 void benchmark_sem_init(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -48,7 +48,7 @@
 
 void benchmark_sem_destroy(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -67,7 +67,7 @@
 
 void benchmark_sem_open(bool report_time)
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   benchmark_timer_initialize();
     n_sem1 = sem_open( "sem1", O_CREAT, 0777, 1 );
@@ -86,7 +86,7 @@
 
 void benchmark_sem_close(bool report_time)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -107,7 +107,7 @@
 
 void benchmark_sem_unlink(const char *message)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -126,7 +126,7 @@
 
 void benchmark_sem_open_second(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   benchmark_timer_initialize();
     n_sem2 = sem_open( "sem1", O_EXCL, 0777, 1 );
@@ -143,7 +143,7 @@
 
 void benchmark_sem_close_second(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmsem02/init.c:1.1 rtems/testsuites/psxtmtests/psxtmsem02/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmsem02/init.c:1.1	Fri Jul 22 12:22:10 2011
+++ rtems/testsuites/psxtmtests/psxtmsem02/init.c	Wed Oct 19 10:27:27 2011
@@ -26,7 +26,7 @@
 
 void benchmark_sem_getvalue(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
   int  value;
 
@@ -46,7 +46,7 @@
 
 void benchmark_sem_wait(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -65,7 +65,7 @@
 
 void benchmark_sem_post(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -84,7 +84,7 @@
 
 void benchmark_sem_trywait_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();
@@ -103,7 +103,7 @@
 
 void benchmark_sem_trywait_not_available(void)
 {
-  long end_time;
+  benchmark_timer_t end_time;
   int  status;
 
   benchmark_timer_initialize();

diff -u rtems/testsuites/psxtmtests/psxtmsem03/init.c:1.2 rtems/testsuites/psxtmtests/psxtmsem03/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmsem03/init.c:1.2	Thu Sep 29 10:59:10 2011
+++ rtems/testsuites/psxtmtests/psxtmsem03/init.c	Wed Oct 19 10:27:27 2011
@@ -31,7 +31,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,

diff -u rtems/testsuites/psxtmtests/psxtmsem04/init.c:1.1 rtems/testsuites/psxtmtests/psxtmsem04/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmsem04/init.c:1.1	Tue Jul 26 08:33:50 2011
+++ rtems/testsuites/psxtmtests/psxtmsem04/init.c	Wed Oct 19 10:27:27 2011
@@ -42,7 +42,7 @@
 {
   int        status;
   pthread_t  threadId;
-  long       end_time;
+  benchmark_timer_t end_time;
 
   puts( "\n\n*** POSIX TIME TEST SEMAPHORE 04 ***" );
 

diff -u rtems/testsuites/psxtmtests/psxtmsem05/init.c:1.1 rtems/testsuites/psxtmtests/psxtmsem05/init.c:1.2
--- rtems/testsuites/psxtmtests/psxtmsem05/init.c:1.1	Tue Jul 26 08:38:42 2011
+++ rtems/testsuites/psxtmtests/psxtmsem05/init.c	Wed Oct 19 10:27:27 2011
@@ -33,7 +33,7 @@
 )
 {
   int      status;
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
     status = sem_wait(&sem1); /* semaphore blocks */
   end_time = benchmark_timer_read();

diff -u rtems/testsuites/psxtmtests/psxtmsleep01/init.c:1.2 rtems/testsuites/psxtmtests/psxtmsleep01/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmsleep01/init.c:1.2	Tue Jul 12 08:25:18 2011
+++ rtems/testsuites/psxtmtests/psxtmsleep01/init.c	Wed Oct 19 10:27:27 2011
@@ -23,7 +23,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   puts( "\n\n*** POSIX TIME TEST PSXTMSLEEP01 ***" );
 

diff -u rtems/testsuites/psxtmtests/psxtmsleep02/init.c:1.2 rtems/testsuites/psxtmtests/psxtmsleep02/init.c:1.3
--- rtems/testsuites/psxtmtests/psxtmsleep02/init.c:1.2	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmsleep02/init.c	Wed Oct 19 10:27:27 2011
@@ -23,7 +23,7 @@
   void *argument
 )
 {
-  long end_time;
+  benchmark_timer_t end_time;
 
   end_time = benchmark_timer_read();
 

diff -u rtems/testsuites/psxtmtests/psxtmthread03/init.c:1.4 rtems/testsuites/psxtmtests/psxtmthread03/init.c:1.5
--- rtems/testsuites/psxtmtests/psxtmthread03/init.c:1.4	Thu Jul 21 08:46:49 2011
+++ rtems/testsuites/psxtmtests/psxtmthread03/init.c	Wed Oct 19 10:27:27 2011
@@ -25,7 +25,7 @@
   void *argument
 )
 {
-  uint32_t end_time;
+  benchmark_timer_t end_time;
 
   /*
    * Now we have finished the thread startup overhead,


 *ralf*:
2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libchip/network/smc91111.c: Use PRIxPTR to print pointers.

M  1.563  c/src/ChangeLog
M   1.15  c/src/libchip/network/smc91111.c

diff -u rtems/c/src/ChangeLog:1.562 rtems/c/src/ChangeLog:1.563
--- rtems/c/src/ChangeLog:1.562	Tue Oct 18 13:40:27 2011
+++ rtems/c/src/ChangeLog	Wed Oct 19 11:02:12 2011
@@ -1,3 +1,7 @@
+2011-10-19	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/libchip/network/smc91111.c:1.14 rtems/c/src/libchip/network/smc91111.c:1.15
--- rtems/c/src/libchip/network/smc91111.c:1.14	Tue Oct 11 00:19:13 2011
+++ rtems/c/src/libchip/network/smc91111.c	Wed Oct 19 11:02:12 2011
@@ -445,8 +445,8 @@
 				struct mbuf *n = m;
 				db_printf("mbuf-chain:");
 				while (n) {
-					db_printf("[%x:%x]",
-						  (unsigned int)(n-> m_data),
+					db_printf("[%" PRIxPTR ":%x]",
+						  n->m_data,
 						  (unsigned int)(n->m_len));
 					n = n->m_next;
 				}
@@ -1273,8 +1273,8 @@
 	if (!chip_ids[(revision_register >> 4) & 0xF]) {
 		/* I don't recognize this chip, so... */
 		db_printf
-		    ("smc_probe: IO %x: Unrecognized revision register:"
-		     " %x, Contact author. \n", (unsigned int)cpd->base,
+		    ("smc_probe: IO %" PRIxPTR ": Unrecognized revision register:"
+		     " %x, Contact author. \n", cpd->base,
 		     revision_register);
 
 		return -ENODEV;



--

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/20111019/a8a26987/attachment-0001.html>


More information about the vc mailing list