change log for rtems (2011-10-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Oct 13 13:12:04 UTC 2011


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

	* shared/comm/uart.c: Remove unused var "tmp".

M   1.87  c/src/lib/libbsp/i386/ChangeLog
M   1.21  c/src/lib/libbsp/i386/shared/comm/uart.c

diff -u rtems/c/src/lib/libbsp/i386/ChangeLog:1.86 rtems/c/src/lib/libbsp/i386/ChangeLog:1.87
--- rtems/c/src/lib/libbsp/i386/ChangeLog:1.86	Thu Aug  4 19:15:50 2011
+++ rtems/c/src/lib/libbsp/i386/ChangeLog	Thu Oct 13 07:18:39 2011
@@ -1,3 +1,7 @@
+2011-10-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* shared/comm/uart.c: Remove unused var "tmp".
+
 2011-08-04	Till Straumann <strauman at slac.stanford.edu>
 
 	* shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes

diff -u rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.20 rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.21
--- rtems/c/src/lib/libbsp/i386/shared/comm/uart.c:1.20	Fri Feb 11 06:06:31 2011
+++ rtems/c/src/lib/libbsp/i386/shared/comm/uart.c	Thu Oct 13 07:18:39 2011
@@ -110,8 +110,6 @@
   int hwFlow
 )
 {
-  unsigned char tmp;
-
   /* Sanity check */
   assert(uart == BSP_UART_COM1 || uart == BSP_UART_COM2);
 
@@ -156,9 +154,9 @@
   uwrite(uart, IER, 0);
 
   /* Read status to clear them */
-  tmp = uread(uart, LSR);
-  tmp = uread(uart, RBR);
-  tmp = uread(uart, MSR);
+  uread(uart, LSR);
+  uread(uart, RBR);
+  uread(uart, MSR);
 
   /* Remember state */
   uart_data[uart].baud       = baud;


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

	* support/include/primode.h: New.
	* Makefile.am: Add support/include/primode.h

M  1.191  testsuites/ChangeLog
M   1.15  testsuites/Makefile.am
A    1.1  testsuites/support/include/primode.h

diff -u rtems/testsuites/ChangeLog:1.190 rtems/testsuites/ChangeLog:1.191
--- rtems/testsuites/ChangeLog:1.190	Thu Sep 29 21:58:15 2011
+++ rtems/testsuites/ChangeLog	Thu Oct 13 08:08:12 2011
@@ -1,8 +1,14 @@
+2011-10-13	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* support/include/primode.h: New.
+	* Makefile.am: Add support/include/primode.h
+
 2011-09-30	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* support/include/tmacros.h: Remove PRItime_t.
 
 2011-09-30	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* support/include/pritime.h: New.
 	* Makefile.am: Add support/include/pritime.h
 

diff -u rtems/testsuites/Makefile.am:1.14 rtems/testsuites/Makefile.am:1.15
--- rtems/testsuites/Makefile.am:1.14	Thu Sep 29 21:31:25 2011
+++ rtems/testsuites/Makefile.am	Thu Oct 13 08:08:12 2011
@@ -12,6 +12,7 @@
 noinst_HEADERS += support/include/test_support.h
 noinst_HEADERS += support/include/tmacros.h
 noinst_HEADERS += support/include/pritime.h
+noinst_HEADERS += support/include/primode.h
 
 SUBDIRS = @subdirs@
 

diff -u /dev/null rtems/testsuites/support/include/primode.h:1.1
--- /dev/null	Thu Oct 13 08:12:04 2011
+++ rtems/testsuites/support/include/primode.h	Thu Oct 13 08:08:12 2011
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2011 by
+ * Ralf Corsépius, Ulm, Germany. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * is freely granted, provided that this notice is preserved.
+ */
+
+/*
+ * Helper macro to print "time_t"
+ */
+
+#ifndef _PRIMODE_H
+#define _PRIMODE_H
+
+#include <inttypes.h>
+
+#ifndef SIZEOF_MODE_T
+#error "missing SIZEOF_MODE_T"
+#endif
+
+#if SIZEOF_MODE_T == 8
+#define PRIomode_t PRIo64
+#elif SIZEOF_MODE_T == 4
+#define PRIomode_t PRIo32
+#else
+#error "unsupported size of mode_t"
+#endif
+
+#endif



--

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/20111013/064e4743/attachment.html>


More information about the vc mailing list