<!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-07-14)</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>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-14 Jennifer Averett
* make/custom/pcp4.cfg: New file.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ChangeLog.diff?r1=text&tr1=1.273&r2=text&tr2=1.274&diff_format=h">M</a></td><td width='1%'>1.274</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.273 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.274
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.273 Sun Jun 19 16:16:36 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog Thu Jul 14 09:44:47 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-07-14 Jennifer Averett
+
+ * make/custom/pcp4.cfg: New file.
+
</font> 2011-06-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Fix broken path to clockdrv_shell.h.
<font color='#006600'>diff -u /dev/null rtems/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg:1.1
--- /dev/null Thu Jul 14 10:10:19 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg Thu Jul 14 09:44:47 2011
</font><font color='#997700'>@@ -0,0 +1,37 @@
</font><font color='#000088'>+#
+# Configuration file for a PC using a Pentium Class CPU
+#
+# $Id$
+#
+
+RTEMS_CPU_MODEL=pentium
+
+# This contains the compiler options necessary to select the CPU model
+# and enable architecture-specific features and extensions.
+
+# Note that the vanilla gcc multilibs for RTEMS are a joke. The
+# variants only differ by a -mtune=xxx option which merely 'optimizes'
+# for 'xxx' but does not use the full instruction set 'xxx' may implement.
+# (fully bwd compatible with i386).
+#
+# I'd recommend to roll your own set of (useful) multilibs instead...
+#
+# Useful variants would be
+# <default> (i386) (generic 386 with hard-float)
+# -msoft-float (generic 386 with soft-float)
+# -march=pentium4 (P4 with sse2)
+#
+# Note also: we give the -mtune=pentium option here only so that at least the
+# variant optimized for pentium (w/o using any pentium-specific
+# features) is used (assuming you use the vanilla RTEMS multilibs).
+#<span style="background-color: #FF0000"> </span>
+# And: The only sse-related feature the RTEMS support really needs is
+# fxsave/fxrstor. You can build with -msse, -msse2 or -msse3,
+# depending on your CPU.
+# There are run-time checks resulting in a 'panic' if code
+# compiled for e.g. -msse3 is executed on a CPU that only
+# supports sse2, though.
+CPU_CFLAGS = -mtune=pentium4 -march=pentium4 -msse3
+
+include $(RTEMS_ROOT)/make/custom/pc386.cfg
+
</font></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>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* start/start.S: Moved enable_sse into a subroutine that may be called
from other cores on an SMP system.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ChangeLog.diff?r1=text&tr1=1.275&r2=text&tr2=1.276&diff_format=h">M</a></td><td width='1%'>1.276</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/start/start.S.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>c/src/lib/libbsp/i386/pc386/start/start.S</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.275 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.276
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.275 Thu Jul 14 09:44:59 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog Thu Jul 14 10:07:21 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ * start/start.S: Moved enable_sse into a subroutine that may be called
+ from other cores on an SMP system.
+
</font> 2011-07-14 Till Straumann <strauman@slac.stanford.edu>
PR 1833/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.17 rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.18
--- rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.17 Fri Jul 23 07:24:05 2010
+++ rtems/c/src/lib/libbsp/i386/pc386/start/start.S Thu Jul 14 10:07:21 2011
</font><font color='#997700'>@@ -215,12 +215,35 @@
</font> call SYM(BSP_console_select)
#ifdef __SSE__
<font color='#000088'>+ call SYM(enable_sse)
+#endif
+
+/*---------------------------------------------------------------------+
+| Transfer control to User's Board Support Package
+| Note: at the top we reserved space for the argument
+| so that
+| initial_esp = ( TOS - 4 ) & ~(CPU_STACK_ALIGNMENT-1)
+| this ensures that
+| 1) esp is now aligned
+| 2) there is space for the cmdline pointer which we just
+| may store at *(esp)
++---------------------------------------------------------------------*/
+
+ movl $SYM(_boot_multiboot_cmdline), (esp)
+ call SYM (boot_card)
+
+ cli # stops interrupts from being processed after hlt!
+ hlt # shutdown
+
+#ifdef __SSE__
</font> /*--------------------------------------------------------------------+
| Enable SSE; we really only care about fxsave/fxrstor and leave
| The only feature *we* (as an OS) use is fxsave/fxrstor.
| But as a courtesy we make sure we don't execute on hardware
| that doesn't support features possibly used by the compiler.
+---------------------------------------------------------------------*/
<font color='#000088'>+ PUBLIC (enable_sse)
+SYM(enable_sse):
</font> movl SYM (x86_capability), eax
testl $0x01000000, eax
jne 1f
<font color='#997700'>@@ -250,26 +273,8 @@
</font> mov cr4, eax # OK to enable now
or $0x600, eax
mov eax, cr4
<font color='#880000'>-#endif
</font><font color='#000088'>+ ret
</font>
<font color='#880000'>-/*---------------------------------------------------------------------+
-| Transfer control to User's Board Support Package
-| Note: at the top we reserved space for the argument
-| so that
-| initial_esp = ( TOS - 4 ) & ~(CPU_STACK_ALIGNMENT-1)
-| this ensures that
-| 1) esp is now aligned
-| 2) there is space for the cmdline pointer which we just
-| may store at *(esp)
-+---------------------------------------------------------------------*/
-
- movl $SYM(_boot_multiboot_cmdline), (esp)
- call SYM (boot_card)
-
- cli # stops interrupts from being processed after hlt!
- hlt # shutdown
-
-#ifdef __SSE__
</font> SYM(_sse_panic):
call SYM(printk)
1: hlt
</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>joel</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-14 Till Straumann <strauman@slac.stanford.edu>
PR 1833/bsps
* ne2000/ne2000.c: Addition of multicast support disabled broadcast
reception. Patch also includes support to work on big endian CPUs.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ChangeLog.diff?r1=text&tr1=1.274&r2=text&tr2=1.275&diff_format=h">M</a></td><td width='1%'>1.275</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ChangeLog.diff?r1=text&tr1=1.192.2.8&r2=text&tr2=1.192.2.9&diff_format=h">M</a></td><td width='1%'>1.192.2.9</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ChangeLog.diff?r1=text&tr1=1.257.2.3&r2=text&tr2=1.257.2.4&diff_format=h">M</a></td><td width='1%'>1.257.2.4</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c.diff?r1=text&tr1=1.25&r2=text&tr2=1.26&diff_format=h">M</a></td><td width='1%'>1.26</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c.diff?r1=text&tr1=1.21.2.1&r2=text&tr2=1.21.2.2&diff_format=h">M</a></td><td width='1%'>1.21.2.2</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c.diff?r1=text&tr1=1.23.2.1&r2=text&tr2=1.23.2.2&diff_format=h">M</a></td><td width='1%'>1.23.2.2</td><td width='100%'>c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.274 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.275
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.274 Thu Jul 14 09:44:47 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog Thu Jul 14 09:44:59 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-14 Till Straumann <strauman@slac.stanford.edu>
+
+ PR 1833/bsps
+ * ne2000/ne2000.c: Addition of multicast support disabled broadcast
+ reception. Patch also includes support to work on big endian CPUs.
+
</font> 2011-07-14 Jennifer Averett
* make/custom/pcp4.cfg: New file.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.192.2.8 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.192.2.9
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.192.2.8 Mon Apr 11 12:28:04 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog Thu Jul 14 09:45:13 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-14 Till Straumann <strauman@slac.stanford.edu>
+
+ PR 1833/bsps
+ * ne2000/ne2000.c: Addition of multicast support disabled broadcast
+ reception. Patch also includes support to work on big endian CPUs.
+
</font> 2011-04-11 Keith Robertson <kjrobert at alumni dot uwaterloo dot ca>
* ne2000/ne2000.c: Add multicast support. Patch submitted to mailing
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.257.2.3 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.257.2.4
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.257.2.3 Mon Apr 11 12:27:57 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog Thu Jul 14 09:45:05 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-14 Till Straumann <strauman@slac.stanford.edu>
+
+ PR 1833/bsps
+ * ne2000/ne2000.c: Addition of multicast support disabled broadcast
+ reception. Patch also includes support to work on big endian CPUs.
+
</font> 2011-04-11 Keith Robertson <kjrobert at alumni dot uwaterloo dot ca>
* ne2000/ne2000.c: Add multicast support. Patch submitted to mailing
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.25 rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.26
--- rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.25 Mon Apr 11 06:55:42 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c Thu Jul 14 09:44:59 2011
</font><font color='#997700'>@@ -205,7 +205,8 @@
</font> {
unsigned char rsr; /* receiver status */
unsigned char next; /* pointer to next packet */
<font color='#880000'>- unsigned short count; /* bytes in packet (length + 4) */
</font><font color='#000088'>+ unsigned char cnt_lo; /* bytes in packet (length + 4) */
+ unsigned char cnt_hi; /* 16-bit, little-endian value */
</font> };
/* Forward declarations to avoid warnings */
<font color='#997700'>@@ -502,11 +503,8 @@
</font> /* Set page 0 registers */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STP);
<font color='#880000'>- /* accept broadcast */
- outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0));
-
- /* accept multicast */
- outport_byte (port + RCR, MSK_AM);
</font><font color='#000088'>+ /* accept broadcast + multicast */
+ outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0) | MSK_AM);
</font>
/* Start interface */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STA);
<font color='#997700'>@@ -605,7 +603,7 @@
</font> next = NE_FIRST_RX_PAGE;
/* check packet length */
<font color='#880000'>- len = hdr.count;
</font><font color='#000088'>+ len = ( hdr.cnt_hi << 8 ) | hdr.cnt_lo;
</font> if (currpage < startpage)
cnt1 = currpage + (NE_STOP_PAGE - NE_FIRST_RX_PAGE) - startpage;
else
<font color='#997700'>@@ -684,7 +682,7 @@
</font> m->m_data += sizeof (struct ether_header);
#ifdef DEBUG_NE
<font color='#880000'>- /* printk("[r%d]", hdr.count - sizeof(hdr)); */
</font><font color='#000088'>+ /* printk("[r%d]", ((hdr.cnt_hi<<8) + hdr.cnt_lo - sizeof(hdr))); */
</font> printk("<");
#endif
ether_input (ifp, eh, m);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.21.2.1 rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.21.2.2
--- rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.21.2.1 Mon Apr 11 12:28:04 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c Thu Jul 14 09:45:13 2011
</font><font color='#997700'>@@ -204,7 +204,8 @@
</font> {
unsigned char rsr; /* receiver status */
unsigned char next; /* pointer to next packet */
<font color='#880000'>- unsigned short count; /* bytes in packet (length + 4) */
</font><font color='#000088'>+ unsigned char cnt_lo; /* bytes in packet (length + 4) */
+ unsigned char cnt_hi; /* 16-bit, little-endian value */
</font> };
/* Forward declarations to avoid warnings */
<font color='#997700'>@@ -501,11 +502,8 @@
</font> /* Set page 0 registers */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STP);
<font color='#880000'>- /* accept broadcast */
- outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0));
-
- /* accept multicast */
- outport_byte (port + RCR, MSK_AM);
</font><font color='#000088'>+ /* accept broadcast + multicast */
+ outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0) | MSK_AM);
</font>
/* Start interface */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STA);
<font color='#997700'>@@ -604,7 +602,7 @@
</font> next = NE_FIRST_RX_PAGE;
/* check packet length */
<font color='#880000'>- len = hdr.count;
</font><font color='#000088'>+ len = ( hdr.cnt_hi << 8 ) | hdr.cnt_lo;
</font> if (currpage < startpage)
cnt1 = currpage + (NE_STOP_PAGE - NE_FIRST_RX_PAGE) - startpage;
else
<font color='#997700'>@@ -683,7 +681,7 @@
</font> m->m_data += sizeof (struct ether_header);
#ifdef DEBUG_NE
<font color='#880000'>- /* printk("[r%d]", hdr.count - sizeof(hdr)); */
</font><font color='#000088'>+ /* printk("[r%d]", ((hdr.cnt_hi<<8) + hdr.cnt_lo - sizeof(hdr))); */
</font> printk("<");
#endif
ether_input (ifp, eh, m);
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.23.2.1 rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.23.2.2
--- rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c:1.23.2.1 Mon Apr 11 12:27:57 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c Thu Jul 14 09:45:05 2011
</font><font color='#997700'>@@ -205,7 +205,8 @@
</font> {
unsigned char rsr; /* receiver status */
unsigned char next; /* pointer to next packet */
<font color='#880000'>- unsigned short count; /* bytes in packet (length + 4) */
</font><font color='#000088'>+ unsigned char cnt_lo; /* bytes in packet (length + 4) */
+ unsigned char cnt_hi; /* 16-bit, little-endian value */
</font> };
/* Forward declarations to avoid warnings */
<font color='#997700'>@@ -502,11 +503,8 @@
</font> /* Set page 0 registers */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STP);
<font color='#880000'>- /* accept broadcast */
- outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0));
-
- /* accept multicast */
- outport_byte (port + RCR, MSK_AM);
</font><font color='#000088'>+ /* accept broadcast + multicast */
+ outport_byte (port + RCR, (sc->accept_broadcasts ? MSK_AB : 0) | MSK_AM);
</font>
/* Start interface */
outport_byte (port + CMDR, MSK_PG0 | MSK_RD2 | MSK_STA);
<font color='#997700'>@@ -605,7 +603,7 @@
</font> next = NE_FIRST_RX_PAGE;
/* check packet length */
<font color='#880000'>- len = hdr.count;
</font><font color='#000088'>+ len = ( hdr.cnt_hi << 8 ) | hdr.cnt_lo;
</font> if (currpage < startpage)
cnt1 = currpage + (NE_STOP_PAGE - NE_FIRST_RX_PAGE) - startpage;
else
<font color='#997700'>@@ -684,7 +682,7 @@
</font> m->m_data += sizeof (struct ether_header);
#ifdef DEBUG_NE
<font color='#880000'>- /* printk("[r%d]", hdr.count - sizeof(hdr)); */
</font><font color='#000088'>+ /* printk("[r%d]", ((hdr.cnt_hi<<8) + hdr.cnt_lo - sizeof(hdr))); */
</font> printk("<");
#endif
ether_input (ifp, eh, m);
</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>