<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-11-07)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/serial/serial.h: Declare Console_Port_Minor.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.571&r2=text&tr2=1.572&diff_format=h">M</a></td><td width='1%'>1.572</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/serial/serial.h.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>c/src/libchip/serial/serial.h</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * libchip/serial/serial.h: Declare Console_Port_Minor.
+
</font> 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1945/cpukit
<font color='#006600'>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
</font><font color='#997700'>@@ -23,10 +23,10 @@
</font> #ifndef __LIBCHIP_SERIAL_h
#define __LIBCHIP_SERIAL_h
<font color='#880000'>-#include <stdint.h>
-#include <stdbool.h>
</font> #include <termios.h>
<font color='#000088'>+#include <rtems.h>
+
</font> #ifdef __cplusplus
extern "C" {
#endif
<font color='#997700'>@@ -219,6 +219,8 @@
</font> */
extern console_data *Console_Port_Data;
<font color='#000088'>+extern rtems_device_minor_number Console_Port_Minor;
+
</font> #ifdef __cplusplus
}
#endif
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console_private.h: Removed Console_Port_Minor declaration.
* console.c: Define console_initialized as static.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/ChangeLog.diff?r1=text&tr1=1.194&r2=text&tr2=1.195&diff_format=h">M</a></td><td width='1%'>1.195</td><td width='100%'>c/src/lib/libbsp/shared/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/console.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>c/src/lib/libbsp/shared/console.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/console_private.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>c/src/lib/libbsp/shared/console_private.h</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * console_private.h: Removed Console_Port_Minor declaration.
+ * console.c: Define console_initialized as static.
+
</font> 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1945/cpukit
<font color='#006600'>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
</font><font color='#997700'>@@ -32,7 +32,7 @@
</font> console_tbl **Console_Port_Tbl = NULL;
console_data *Console_Port_Data = NULL;
rtems_device_minor_number Console_Port_Minor = 0;
<font color='#880000'>-bool console_initialized = false;
</font><font color='#000088'>+static bool console_initialized = false;
</font>
/*
* console_initialize_pointers
<font color='#997700'>@@ -76,7 +76,7 @@
</font> * console_initialize has been invoked so it is now too late to
* register devices.
*/
<font color='#880000'>- if ( console_initialized == true ) {
</font><font color='#000088'>+ if ( console_initialized ) {
</font> printk( "Attempt to register console devices after driver initialized\n" );
rtems_fatal_error_occurred( 0xdead0001 );
}
<font color='#006600'>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
</font><font color='#997700'>@@ -26,7 +26,6 @@
</font> extern "C" {
#endif
<font color='#880000'>-extern rtems_device_minor_number Console_Port_Minor;
</font> extern rtems_device_minor_number BSPPrintkPort;
/**
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1951/bsps
* Makefile.am, console/console-config.c: Update due to API changes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lm3s69xx/ChangeLog.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/arm/lm3s69xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/arm/lm3s69xx/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ PR 1951/bsps
+ * Makefile.am, console/console-config.c: Update due to API changes.
+
</font> 2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 0001-Fixed-interrupt-handling-for-ARMv7M.patch,
<font color='#006600'>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
</font><font color='#997700'>@@ -88,9 +88,13 @@
</font> irq/irq.c
# Console
<font color='#880000'>-libbsp_a_SOURCES += ../../shared/console.c \
- console/console-config.c \
- console/uart.c
</font><font color='#000088'>+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
</font>
# Clock
libbsp_a_SOURCES += clock/clock-config.c \
<font color='#006600'>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
</font><font color='#997700'>@@ -23,7 +23,7 @@
</font> #include <bsp/uart.h>
#include <bsp/lm3s69xx.h>
<font color='#880000'>-console_tbl Console_Port_Tbl [] = {
</font><font color='#000088'>+console_tbl Console_Configuration_Ports [] = {
</font> #ifdef LM3S69XX_ENABLE_UART_0
{
.sDeviceName = "/dev/ttyS0",
<font color='#997700'>@@ -56,17 +56,16 @@
</font> #endif
};
<font color='#880000'>-#define PORT_COUNT (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
</font><font color='#000088'>+#define PORT_COUNT \
+ (sizeof(Console_Configuration_Ports) \
+ / sizeof(Console_Configuration_Ports [0]))
</font>
<font color='#880000'>-unsigned long Console_Port_Count = PORT_COUNT;
-
-rtems_device_minor_number Console_Port_Minor;
-
-console_data Console_Port_Data [PORT_COUNT];
</font><font color='#000088'>+unsigned long Console_Configuration_Count = PORT_COUNT;
</font>
static void output_char(char c)
{
<font color='#880000'>- const console_fns *con = Console_Port_Tbl [Console_Port_Minor].pDeviceFns;
</font><font color='#000088'>+ const console_fns *con =
+ Console_Configuration_Ports [Console_Port_Minor].pDeviceFns;
</font>
if (c == '\n') {
con->deviceWritePolled((int) Console_Port_Minor, '\r');
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console/console-config.c: Avoid explicit type.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog.diff?r1=text&tr1=1.74&r2=text&tr2=1.75&diff_format=h">M</a></td><td width='1%'>1.75</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/console/console-config.c</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * console/console-config.c: Avoid explicit type.
+
</font> 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
<font color='#006600'>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
</font><font color='#997700'>@@ -177,5 +177,6 @@
</font> };
#define LPC24XX_UART_COUNT \
<font color='#880000'>- (sizeof(Console_Configuration_Ports) / sizeof(console_tbl))
</font><font color='#000088'>+ (sizeof(Console_Configuration_Ports) \
+ / sizeof(Console_Configuration_Ports [0]))
</font> unsigned long Console_Configuration_Count = LPC24XX_UART_COUNT;
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>