change log for rtems (2011-11-07)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Nov 7 09:10:13 UTC 2011


 *sh*:
2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libchip/serial/serial.h: Declare Console_Port_Minor.

M  1.572  c/src/ChangeLog
M   1.21  c/src/libchip/serial/serial.h

diff -u rtems/c/src/ChangeLog:1.571 rtems/c/src/ChangeLog:1.572
--- rtems/c/src/ChangeLog:1.571	Sun Nov  6 06:40:21 2011
+++ rtems/c/src/ChangeLog	Mon Nov  7 02:18:07 2011
@@ -1,3 +1,7 @@
+2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libchip/serial/serial.h: Declare Console_Port_Minor.
+
 2011-11-06	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	PR 1945/cpukit

diff -u rtems/c/src/libchip/serial/serial.h:1.20 rtems/c/src/libchip/serial/serial.h:1.21
--- rtems/c/src/libchip/serial/serial.h:1.20	Tue Oct 18 13:40:27 2011
+++ rtems/c/src/libchip/serial/serial.h	Mon Nov  7 02:18:07 2011
@@ -23,10 +23,10 @@
 #ifndef __LIBCHIP_SERIAL_h
 #define __LIBCHIP_SERIAL_h
 
-#include <stdint.h>
-#include <stdbool.h>
 #include <termios.h>
 
+#include <rtems.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -219,6 +219,8 @@
  */
 extern console_data  *Console_Port_Data;
 
+extern rtems_device_minor_number Console_Port_Minor;
+
 #ifdef __cplusplus
 }
 #endif


 *sh*:
2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* console_private.h: Removed Console_Port_Minor declaration.
	* console.c: Define console_initialized as static.

M  1.195  c/src/lib/libbsp/shared/ChangeLog
M   1.21  c/src/lib/libbsp/shared/console.c
M    1.3  c/src/lib/libbsp/shared/console_private.h

diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.194 rtems/c/src/lib/libbsp/shared/ChangeLog:1.195
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.194	Sun Nov  6 06:36:55 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog	Mon Nov  7 02:20:26 2011
@@ -1,3 +1,8 @@
+2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* console_private.h: Removed Console_Port_Minor declaration.
+	* console.c: Define console_initialized as static.
+
 2011-11-06	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	PR 1945/cpukit

diff -u rtems/c/src/lib/libbsp/shared/console.c:1.20 rtems/c/src/lib/libbsp/shared/console.c:1.21
--- rtems/c/src/lib/libbsp/shared/console.c:1.20	Thu Oct 20 10:33:09 2011
+++ rtems/c/src/lib/libbsp/shared/console.c	Mon Nov  7 02:20:26 2011
@@ -32,7 +32,7 @@
 console_tbl               **Console_Port_Tbl    = NULL;
 console_data               *Console_Port_Data   = NULL;
 rtems_device_minor_number   Console_Port_Minor  = 0;
-bool                        console_initialized = false;
+static bool                 console_initialized = false;
 
 /*
  *  console_initialize_pointers
@@ -76,7 +76,7 @@
    *  console_initialize has been invoked so it is now too late to
    *  register devices.
    */
-  if ( console_initialized == true ) {
+  if ( console_initialized ) {
     printk( "Attempt to register console devices after driver initialized\n" );
     rtems_fatal_error_occurred( 0xdead0001 );
   }

diff -u rtems/c/src/lib/libbsp/shared/console_private.h:1.2 rtems/c/src/lib/libbsp/shared/console_private.h:1.3
--- rtems/c/src/lib/libbsp/shared/console_private.h:1.2	Wed Oct 19 04:43:36 2011
+++ rtems/c/src/lib/libbsp/shared/console_private.h	Mon Nov  7 02:20:26 2011
@@ -26,7 +26,6 @@
 extern "C" {
 #endif
 
-extern rtems_device_minor_number  Console_Port_Minor;
 extern rtems_device_minor_number  BSPPrintkPort;
 
 /**


 *sh*:
2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1951/bsps
	* Makefile.am, console/console-config.c: Update due to API changes.

M    1.2  c/src/lib/libbsp/arm/lm3s69xx/ChangeLog
M    1.2  c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
M    1.2  c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c

diff -u rtems/c/src/lib/libbsp/arm/lm3s69xx/ChangeLog:1.1 rtems/c/src/lib/libbsp/arm/lm3s69xx/ChangeLog:1.2
--- rtems/c/src/lib/libbsp/arm/lm3s69xx/ChangeLog:1.1	Sat Sep 24 08:23:42 2011
+++ rtems/c/src/lib/libbsp/arm/lm3s69xx/ChangeLog	Mon Nov  7 02:26:11 2011
@@ -1,3 +1,8 @@
+2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1951/bsps
+	* Makefile.am, console/console-config.c: Update due to API changes.
+
 2011-09-24	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* 0001-Fixed-interrupt-handling-for-ARMv7M.patch,

diff -u rtems/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am:1.1 rtems/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am:1.2
--- rtems/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am:1.1	Sat Sep 24 08:23:42 2011
+++ rtems/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am	Mon Nov  7 02:26:12 2011
@@ -88,9 +88,13 @@
 	irq/irq.c
 
 # Console
-libbsp_a_SOURCES += ../../shared/console.c \
-	console/console-config.c \
-	console/uart.c
+libbsp_a_SOURCES += ../../shared/console.c
+libbsp_a_SOURCES += ../../shared/console_control.c
+libbsp_a_SOURCES += ../../shared/console_read.c
+libbsp_a_SOURCES += ../../shared/console_select.c
+libbsp_a_SOURCES += ../../shared/console_write.c
+libbsp_a_SOURCES += console/console-config.c
+libbsp_a_SOURCES += console/uart.c
 
 # Clock
 libbsp_a_SOURCES += clock/clock-config.c \

diff -u rtems/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:1.1 rtems/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:1.2
--- rtems/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c:1.1	Sat Sep 24 08:23:42 2011
+++ rtems/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c	Mon Nov  7 02:26:12 2011
@@ -23,7 +23,7 @@
 #include <bsp/uart.h>
 #include <bsp/lm3s69xx.h>
 
-console_tbl Console_Port_Tbl [] = {
+console_tbl Console_Configuration_Ports [] = {
   #ifdef LM3S69XX_ENABLE_UART_0
     {
       .sDeviceName = "/dev/ttyS0",
@@ -56,17 +56,16 @@
   #endif
 };
 
-#define PORT_COUNT (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
+#define PORT_COUNT \
+  (sizeof(Console_Configuration_Ports) \
+    / sizeof(Console_Configuration_Ports [0]))
 
-unsigned long Console_Port_Count = PORT_COUNT;
-
-rtems_device_minor_number Console_Port_Minor;
-
-console_data Console_Port_Data [PORT_COUNT];
+unsigned long Console_Configuration_Count = PORT_COUNT;
 
 static void output_char(char c)
 {
-  const console_fns *con = Console_Port_Tbl [Console_Port_Minor].pDeviceFns;
+  const console_fns *con =
+    Console_Configuration_Ports [Console_Port_Minor].pDeviceFns;
   
   if (c == '\n') {
     con->deviceWritePolled((int) Console_Port_Minor, '\r');


 *sh*:
2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* console/console-config.c: Avoid explicit type.

M   1.75  c/src/lib/libbsp/arm/lpc24xx/ChangeLog
M    1.8  c/src/lib/libbsp/arm/lpc24xx/console/console-config.c

diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.74 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.75
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.74	Tue Oct 18 13:25:35 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog	Mon Nov  7 02:33:14 2011
@@ -1,3 +1,7 @@
+2011-11-07	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* console/console-config.c: Avoid explicit type.
+
 2011-10-18	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1917/bsps

diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c:1.7 rtems/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c:1.8
--- rtems/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c:1.7	Tue Oct 18 13:25:35 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c	Mon Nov  7 02:33:14 2011
@@ -177,5 +177,6 @@
 };
 
 #define LPC24XX_UART_COUNT \
-  (sizeof(Console_Configuration_Ports) / sizeof(console_tbl))
+  (sizeof(Console_Configuration_Ports) \
+    / sizeof(Console_Configuration_Ports [0]))
 unsigned long Console_Configuration_Count = LPC24XX_UART_COUNT;



--

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/20111107/e152704d/attachment.html>


More information about the vc mailing list