<!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-06-17)</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>joel</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Fix formatting.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog.diff?r1=text&tr1=1.129&r2=text&tr2=1.130&diff_format=h">M</a></td><td width='1%'>1.130</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog.diff?r1=text&tr1=1.122.2.2&r2=text&tr2=1.122.2.3&diff_format=h">M</a></td><td width='1%'>1.122.2.3</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.129 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.130
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.129 Tue Jun 7 08:26:40 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Fri Jun 17 08:24:34 2011
</font><font color='#997700'>@@ -108,6 +108,7 @@
</font> * irq/irq.c, network/if_1GHz/POSSIBLEBUG: Removed.
2009-05-08<span style="background-color: #FF0000"> </span> Kate Feng <feng1@bnl.gov>
<font color='#000088'>+
</font> * include/bsp.h, start/start.S, startup/bspstart.c:<span style="background-color: #FF0000"> </span>
added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h.
removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined
<font color='#997700'>@@ -504,25 +505,26 @@
</font>
2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
</font><font color='#000088'>+ * irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
</font>
2005-05-12 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
- pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
- pci/pci_interface.c, pci/pcifinddevice.c:<span style="background-color: #FF0000"> </span>
- Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release.
- Modifications made to merge this release with the current tree.
</font><font color='#000088'>+ * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
+ pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
+ pci/pci_interface.c, pci/pcifinddevice.c:<span style="background-color: #FF0000"> </span>
+ Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP
+ v1.1 release. Modifications made to merge this release with
+ the current tree.
</font>
2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * network/GT64260eth.c: Fixed warning.<span style="background-color: #FF0000"> </span>
- * pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
</font><font color='#000088'>+ * network/GT64260eth.c: Fixed warning.<span style="background-color: #FF0000"> </span>
+ * pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
</font>
2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
- common PCI interface
</font><font color='#000088'>+ * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
+ common PCI interface
</font>
2005-04-15 Joel Sherrill <joel@OARcorp.com>
<font color='#997700'>@@ -532,13 +534,13 @@
</font>
2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- PR 779/bsp
- * irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260eth.c: add
- parameter to new exception interrupt handlers in powerpc bsps
</font><font color='#000088'>+ PR 779/bsp
+ * irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260eth.c: add
+ parameter to new exception interrupt handlers in powerpc bsps
</font>
2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * startup/linkcmds: add missing section to link cmds
</font><font color='#000088'>+ * startup/linkcmds: add missing section to link cmds
</font>
2005-03-14 Joel Sherrill <joel@OARcorp.com>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.2 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.3
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.2 Wed May 18 00:08:36 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Fri Jun 17 08:22:14 2011
</font><font color='#997700'>@@ -86,6 +86,7 @@
</font> * irq/irq.c, network/if_1GHz/POSSIBLEBUG: Removed.
2009-05-08<span style="background-color: #FF0000"> </span> Kate Feng <feng1@bnl.gov>
<font color='#000088'>+
</font> * include/bsp.h, start/start.S, startup/bspstart.c:<span style="background-color: #FF0000"> </span>
added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h.
removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined
<font color='#997700'>@@ -295,7 +296,8 @@
</font>
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
<font color='#880000'>- * network/GT64260eth.c, network/GT64260eth.h, network/GT64260ethreg.h: Removed.
</font><font color='#000088'>+ * network/GT64260eth.c, network/GT64260eth.h,
+ network/GT64260ethreg.h: Removed.
</font>
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
<font color='#997700'>@@ -482,25 +484,26 @@
</font>
2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
</font><font color='#000088'>+ * irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
</font>
2005-05-12 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
- pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
- pci/pci_interface.c, pci/pcifinddevice.c:<span style="background-color: #FF0000"> </span>
- Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release.
- Modifications made to merge this release with the current tree.
</font><font color='#000088'>+ * README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
+ pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
+ pci/pci_interface.c, pci/pcifinddevice.c:<span style="background-color: #FF0000"> </span>
+ Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1
+ release. Modifications made to merge this release with the
+ current tree.
</font>
2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * network/GT64260eth.c: Fixed warning.<span style="background-color: #FF0000"> </span>
- * pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
</font><font color='#000088'>+ * network/GT64260eth.c: Fixed warning.<span style="background-color: #FF0000"> </span>
+ * pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
</font>
2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
- common PCI interface
</font><font color='#000088'>+ * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
+ common PCI interface
</font>
2005-04-15 Joel Sherrill <joel@OARcorp.com>
<font color='#997700'>@@ -510,13 +513,13 @@
</font>
2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- PR 779/bsp
- * irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260eth.c: add
- parameter to new exception interrupt handlers in powerpc bsps
</font><font color='#000088'>+ PR 779/bsp
+ * irq/irq.c, irq/irq.h, irq/irq_init.c, network/GT64260eth.c: add
+ parameter to new exception interrupt handlers in powerpc bsps
</font>
2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
<font color='#880000'>- * startup/linkcmds: add missing section to link cmds
</font><font color='#000088'>+ * startup/linkcmds: add missing section to link cmds
</font>
2005-03-14 Joel Sherrill <joel@OARcorp.com>
</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>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-04-10 Kate Feng <feng@bnl.gov>
PR 1786/bsps
* Makefile.am: Add support for Altivec.
* startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
* make/custom/mvme5500.cfg: Change CPU_CFLAGS to
"-mcpu=7450 -mtune=7450 -Dmpc7455"
* irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
Remove warnings.
* vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
* network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
is any Rx error.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog.diff?r1=text&tr1=1.130&r2=text&tr2=1.131&diff_format=h">M</a></td><td width='1%'>1.131</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog.diff?r1=text&tr1=1.122.2.3&r2=text&tr2=1.122.2.4&diff_format=h">M</a></td><td width='1%'>1.122.2.4</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am.diff?r1=text&tr1=1.39&r2=text&tr2=1.40&diff_format=h">M</a></td><td width='1%'>1.40</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am.diff?r1=text&tr1=1.39&r2=text&tr2=1.39.2.1&diff_format=h">M</a></td><td width='1%'>1.39.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/bsp_specs</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs.diff?r1=text&tr1=1.6&r2=text&tr2=1.6.2.1&diff_format=h">M</a></td><td width='1%'>1.6.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/bsp_specs</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h.diff?r1=text&tr1=1.19.2.1&r2=text&tr2=1.19.2.2&diff_format=h">M</a></td><td width='1%'>1.19.2.2</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.5.2.1&diff_format=h">M</a></td><td width='1%'>1.5.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg.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/powerpc/mvme5500/make/custom/mvme5500.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg.diff?r1=text&tr1=1.2&r2=text&tr2=1.2.2.1&diff_format=h">M</a></td><td width='1%'>1.2.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.8.2.1&diff_format=h">M</a></td><td width='1%'>1.8.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.8.2.1&diff_format=h">M</a></td><td width='1%'>1.8.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.5.2.1&diff_format=h">M</a></td><td width='1%'>1.5.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.16.2.1&diff_format=h">M</a></td><td width='1%'>1.16.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.8.2.1&diff_format=h">M</a></td><td width='1%'>1.8.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/start/start.S</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S.diff?r1=text&tr1=1.9&r2=text&tr2=1.9.2.1&diff_format=h">M</a></td><td width='1%'>1.9.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/start/start.S</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&diff_format=h">M</a></td><td width='1%'>1.36</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c.diff?r1=text&tr1=1.34&r2=text&tr2=1.34.2.1&diff_format=h">M</a></td><td width='1%'>1.34.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.4.2.1&diff_format=h">M</a></td><td width='1%'>1.4.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.130 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.131
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.130 Fri Jun 17 08:24:34 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Fri Jun 17 08:24:46 2011
</font><font color='#997700'>@@ -1,3 +1,16 @@
</font><font color='#000088'>+2011-04-10 Kate Feng <feng@bnl.gov>
+
+ PR 1786/bsps
+ * Makefile.am: Add support for Altivec.
+ * startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
+ * make/custom/mvme5500.cfg: Change CPU_CFLAGS to
+ "-mcpu=7450 -mtune=7450 -Dmpc7455"
+ * irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
+ Remove warnings.
+ * vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
+ * network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
+ is any Rx error.
+
</font> 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.ac: Use standard cache BSP options.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.3 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.4
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.122.2.3 Fri Jun 17 08:22:14 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -1,3 +1,16 @@
</font><font color='#000088'>+2011-04-10 Kate Feng <feng@bnl.gov>
+
+ PR 1786/bsps
+ * Makefile.am: Add support for Altivec.
+ * startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
+ * make/custom/mvme5500.cfg: Change CPU_CFLAGS to
+ "-mcpu=7450 -mtune=7450 -Dmpc7455"
+ * irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
+ Remove warnings.
+ * vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
+ * network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
+ is any Rx error.
+
</font> 2011-05-17 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.39 rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.40
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.39 Sat Nov 28 00:24:47 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -34,6 +34,7 @@
</font> libbsp_a_SOURCES += startup/bspstart.c \
../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
../../powerpc/shared/startup/pretaskinghook.c \
<font color='#000088'>+ ../../powerpc/shared/startup/zerobss.c \
</font> ../../powerpc/shared/startup/bspgetworkarea.c \
../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
../../shared/bsppredriverhook.c startup/bspclean.c \
<font color='#997700'>@@ -121,7 +122,9 @@
</font> ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
<font color='#880000'>- ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
</font><font color='#000088'>+ ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel\
+ ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
+
</font> if HAS_NETWORKING
libbsp_a_LIBADD += network.rel
endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.39 rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.39.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am:1.39 Sat Nov 28 00:24:47 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -34,6 +34,7 @@
</font> libbsp_a_SOURCES += startup/bspstart.c \
../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
../../powerpc/shared/startup/pretaskinghook.c \
<font color='#000088'>+ ../../powerpc/shared/startup/zerobss.c \
</font> ../../powerpc/shared/startup/bspgetworkarea.c \
../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
../../shared/bsppredriverhook.c startup/bspclean.c \
<font color='#997700'>@@ -121,7 +122,9 @@
</font> ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
<font color='#880000'>- ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
</font><font color='#000088'>+ ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel\
+ ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
+
</font> if HAS_NETWORKING
libbsp_a_LIBADD += network.rel
endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.6 rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.7
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.6 Sat Dec 6 22:31:01 2008
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -4,8 +4,7 @@
</font>
*startfile:
%{!qrtems: %(old_startfile)} \
<font color='#880000'>-%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
- mvme5500start.o%s -e __rtems_entry_point -u __vectors}}
</font><font color='#000088'>+%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s -e __rtems_entry_point -u __vectors mvme5500start.o%s}}
</font>
*link:
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.6 rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.6.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs:1.6 Sat Dec 6 22:31:01 2008
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/bsp_specs Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -4,8 +4,7 @@
</font>
*startfile:
%{!qrtems: %(old_startfile)} \
<font color='#880000'>-%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
- mvme5500start.o%s -e __rtems_entry_point -u __vectors}}
</font><font color='#000088'>+%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s -e __rtems_entry_point -u __vectors mvme5500start.o%s}}
</font>
*link:
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.22 rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.23
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.22 Wed May 18 00:26:52 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -103,11 +103,7 @@
</font>
/* The glues to Till's vmeUniverse, although the name does not
* actually reflect the relevant architect of the MVME5500.
<font color='#880000'>- * Till TODO ? : BSP_PCI_DO_EOI instead ?
- * BSP_EXT_IRQ0 instead of BSP_PCI_IRQ0 ?
- *
</font> */
<font color='#880000'>-#define BSP_PIC_DO_EOI inl(0xc34) /* PCI IACK */
</font> #define BSP_PCI_IRQ0 BSP_GPP_IRQ_LOWEST_OFFSET
/*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.19.2.1 rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.19.2.2
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h:1.19.2.1 Wed May 18 00:08:36 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -103,11 +103,7 @@
</font>
/* The glues to Till's vmeUniverse, although the name does not
* actually reflect the relevant architect of the MVME5500.
<font color='#880000'>- * Till TODO ? : BSP_PCI_DO_EOI instead ?
- * BSP_EXT_IRQ0 instead of BSP_PCI_IRQ0 ?
- *
</font> */
<font color='#880000'>-#define BSP_PIC_DO_EOI inl(0xc34) /* PCI IACK */
</font> #define BSP_PCI_IRQ0 BSP_GPP_IRQ_LOWEST_OFFSET
/*
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.5 rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.5 Sun Nov 29 22:24:25 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -381,7 +381,8 @@
</font> * bit 10:GPP interrupts as level sensitive(1) or edge sensitive(0).
* MOTload default is set as level sensitive(1). Set it agin to make sure.
*/
<font color='#880000'>- out_le32(GT_CommUnitArb_Ctrl, (in_le32(GT_CommUnitArb_Ctrl)| (1<<10)));
</font><font color='#000088'>+ out_le32((volatile unsigned int *)GT_CommUnitArb_Ctrl,
+ (in_le32((volatile unsigned int *)GT_CommUnitArb_Ctrl)| (1<<10)));
</font>
#if 0
printk("BSP_irqMask_reg[0] = 0x%x, BSP_irqCause_reg[0] 0x%x\n",
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.5 rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.5.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c:1.5 Sun Nov 29 22:24:25 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/irq/BSP_irq.c Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -381,7 +381,8 @@
</font> * bit 10:GPP interrupts as level sensitive(1) or edge sensitive(0).
* MOTload default is set as level sensitive(1). Set it agin to make sure.
*/
<font color='#880000'>- out_le32(GT_CommUnitArb_Ctrl, (in_le32(GT_CommUnitArb_Ctrl)| (1<<10)));
</font><font color='#000088'>+ out_le32((volatile unsigned int *)GT_CommUnitArb_Ctrl,
+ (in_le32((volatile unsigned int *)GT_CommUnitArb_Ctrl)| (1<<10)));
</font>
#if 0
printk("BSP_irqMask_reg[0] = 0x%x, BSP_irqCause_reg[0] 0x%x\n",
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.2 rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.3
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.2 Wed Oct 21 05:53:38 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -9,12 +9,12 @@
</font> RTEMS_CPU=powerpc
RTEMS_CPU_MODEL=mpc7455
<font color='#000088'>+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme5500
+
</font> # This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
<font color='#880000'>-# if gcc does not regonize 7450 then change -mcpu=750
-#
-CPU_CFLAGS = -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align
-#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
</font><font color='#000088'>+CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
</font>
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
<font color='#997700'>@@ -23,3 +23,6 @@
</font> $(default-bsp-post-link)
$(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
endef
<font color='#000088'>+
+#<span style="background-color: #FF0000"> </span>
+START_BASE=mvme5500start
</font>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.2 rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.2.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg:1.2 Wed Oct 21 05:53:38 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/make/custom/mvme5500.cfg Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -9,12 +9,12 @@
</font> RTEMS_CPU=powerpc
RTEMS_CPU_MODEL=mpc7455
<font color='#000088'>+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=mvme5500
+
</font> # This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.<span style="background-color: #FF0000"> </span>
<font color='#880000'>-# if gcc does not regonize 7450 then change -mcpu=750
-#
-CPU_CFLAGS = -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmultiple -mstring -mstrict-align
-#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
</font><font color='#000088'>+CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
</font>
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
<font color='#997700'>@@ -23,3 +23,6 @@
</font> $(default-bsp-post-link)
$(OBJCOPY) -O binary $(basename $@).exe $(basename $@)$(DOWNEXT)
endef
<font color='#000088'>+
+#<span style="background-color: #FF0000"> </span>
+START_BASE=mvme5500start
</font>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.9
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.8 Sun Nov 29 22:24:25 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -745,21 +745,22 @@
</font> if (cmdsts & RX_STS_SF) sc->stats.frame_errors++;
if ((cmdsts & RX_STS_LC) || (cmdsts & RX_STS_COL))
ifp->if_collisions++;
<font color='#880000'>- goto give_it_back;
</font><font color='#000088'>+ /* recycle the buffer */
+ m->m_len=sc->rx_buf_sz;<span style="background-color: #FF0000"> </span>
+ }
+ else {
+ m = sc->rxq_mbuf[sc->rxq_fi];
+ m->m_len = m->m_pkthdr.len = byteCount - sizeof(struct ether_header);
+ eh = mtod (m, struct ether_header *);
+ m->m_data += sizeof(struct ether_header);
+ ether_input (ifp, eh, m);
+
+ ifp->if_ipackets++;
+ ifp->if_ibytes+=byteCount;
+ --sc->rxq_active;
+ MGETHDR (m, M_WAIT, MT_DATA);
+ MCLGET (m, M_WAIT);
</font> }
<font color='#880000'>- m = sc->rxq_mbuf[sc->rxq_fi];
- m->m_len = m->m_pkthdr.len = byteCount - sizeof(struct ether_header);
- eh = mtod (m, struct ether_header *);
- m->m_data += sizeof(struct ether_header);
- ether_input (ifp, eh, m);
-
- ifp->if_ipackets++;
- ifp->if_ibytes+=byteCount;
- --sc->rxq_active;
-
- give_it_back:
- MGETHDR (m, M_WAIT, MT_DATA);
- MCLGET (m, M_WAIT);
</font> m->m_pkthdr.rcvif = ifp;
sc->rxq_mbuf[sc->rxq_fi]= m;
/* convert mbuf pointer to data pointer of correct type */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.8.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1.8 Sun Nov 29 22:24:25 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -745,21 +745,22 @@
</font> if (cmdsts & RX_STS_SF) sc->stats.frame_errors++;
if ((cmdsts & RX_STS_LC) || (cmdsts & RX_STS_COL))
ifp->if_collisions++;
<font color='#880000'>- goto give_it_back;
</font><font color='#000088'>+ /* recycle the buffer */
+ m->m_len=sc->rx_buf_sz;<span style="background-color: #FF0000"> </span>
+ }
+ else {
+ m = sc->rxq_mbuf[sc->rxq_fi];
+ m->m_len = m->m_pkthdr.len = byteCount - sizeof(struct ether_header);
+ eh = mtod (m, struct ether_header *);
+ m->m_data += sizeof(struct ether_header);
+ ether_input (ifp, eh, m);
+
+ ifp->if_ipackets++;
+ ifp->if_ibytes+=byteCount;
+ --sc->rxq_active;
+ MGETHDR (m, M_WAIT, MT_DATA);
+ MCLGET (m, M_WAIT);
</font> }
<font color='#880000'>- m = sc->rxq_mbuf[sc->rxq_fi];
- m->m_len = m->m_pkthdr.len = byteCount - sizeof(struct ether_header);
- eh = mtod (m, struct ether_header *);
- m->m_data += sizeof(struct ether_header);
- ether_input (ifp, eh, m);
-
- ifp->if_ipackets++;
- ifp->if_ibytes+=byteCount;
- --sc->rxq_active;
-
- give_it_back:
- MGETHDR (m, M_WAIT, MT_DATA);
- MCLGET (m, M_WAIT);
</font> m->m_pkthdr.rcvif = ifp;
sc->rxq_mbuf[sc->rxq_fi]= m;
/* convert mbuf pointer to data pointer of correct type */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.9
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.8 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -1730,7 +1730,7 @@
</font> /* We have MII. */
sc->sc_flags |= WM_F_HAS_MII;
<font color='#880000'>-#if 1
</font><font color='#000088'>+#if 0
</font> /* <skf> May 2009 : The value that should be programmed into IPGT is 10 */
sc->sc_tipg = TIPG_IPGT(10)+TIPG_IPGR1(8)+TIPG_IPGR2(6);
#else
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.8.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1.8 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -1730,7 +1730,7 @@
</font> /* We have MII. */
sc->sc_flags |= WM_F_HAS_MII;
<font color='#880000'>-#if 1
</font><font color='#000088'>+#if 0
</font> /* <skf> May 2009 : The value that should be programmed into IPGT is 10 */
sc->sc_tipg = TIPG_IPGT(10)+TIPG_IPGR1(8)+TIPG_IPGR2(6);
#else
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.5 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.5 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -27,7 +27,7 @@
</font>
unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet)
{
<font color='#880000'>- unsigned int pcidata, pcidata1;
</font><font color='#000088'>+ uint32_t pcidata, pcidata1;
</font> int PciLocal, busNumber=0;
/* On the mvme5500 board, the GT64260B system controller had the MCP
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.5 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.5.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c:1.5 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/detect_host_bridge.c Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -27,7 +27,7 @@
</font>
unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet)
{
<font color='#880000'>- unsigned int pcidata, pcidata1;
</font><font color='#000088'>+ uint32_t pcidata, pcidata1;
</font> int PciLocal, busNumber=0;
/* On the mvme5500 board, the GT64260B system controller had the MCP
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.16 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.17
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.16 Fri Dec 11 06:57:06 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -108,7 +108,7 @@
</font> BSP_pci[n].config_data,pciConfigPack(bus,dev,func,offset));
#endif
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
</font><font color='#000088'>+ out_be32((volatile unsigned int *) BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
</font> *val = in_8(BSP_pci[n].pci_config_data + (offset&3));
return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -129,8 +129,8 @@
</font> printk("addr %x, data %x, pack %x \n", config_addr,
config_data,pciConfigPack(bus,dev,func,offset));
#endif
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- *val = in_le16(BSP_pci[n].pci_config_data + (offset&2));
</font><font color='#000088'>+ out_be32((volatile unsigned int *) BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ *val = in_le16((volatile unsigned short *) (BSP_pci[n].pci_config_data + (offset&2)));
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -147,8 +147,8 @@
</font> *val = 0xffffffff;
if ((offset&3)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- *val = in_le32(BSP_pci[n].pci_config_data);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ *val = in_le32((volatile unsigned int *)BSP_pci[n].pci_config_data);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -163,8 +163,8 @@
</font>
if (offset & ~0xff) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_8(BSP_pci[n].pci_config_data + (offset&3), val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_8((volatile unsigned char *) (BSP_pci[n].pci_config_data + (offset&3)), val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -179,8 +179,8 @@
</font>
if ((offset&1)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_le16(BSP_pci[n].pci_config_data + (offset&3), val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_le16((volatile unsigned short *)(BSP_pci[n].pci_config_data + (offset&3)), val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -195,8 +195,8 @@
</font>
if ((offset&3)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_le32(BSP_pci[n].pci_config_data, val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_le32((volatile unsigned int *)BSP_pci[n].pci_config_data, val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.16 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.16.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c:1.16 Fri Dec 11 06:57:06 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c Fri Jun 17 08:22:24 2011
</font><font color='#997700'>@@ -108,7 +108,7 @@
</font> BSP_pci[n].config_data,pciConfigPack(bus,dev,func,offset));
#endif
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
</font><font color='#000088'>+ out_be32((volatile unsigned int *) BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
</font> *val = in_8(BSP_pci[n].pci_config_data + (offset&3));
return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -129,8 +129,8 @@
</font> printk("addr %x, data %x, pack %x \n", config_addr,
config_data,pciConfigPack(bus,dev,func,offset));
#endif
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- *val = in_le16(BSP_pci[n].pci_config_data + (offset&2));
</font><font color='#000088'>+ out_be32((volatile unsigned int *) BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ *val = in_le16((volatile unsigned short *) (BSP_pci[n].pci_config_data + (offset&2)));
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -147,8 +147,8 @@
</font> *val = 0xffffffff;
if ((offset&3)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- *val = in_le32(BSP_pci[n].pci_config_data);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ *val = in_le32((volatile unsigned int *)BSP_pci[n].pci_config_data);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -163,8 +163,8 @@
</font>
if (offset & ~0xff) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_8(BSP_pci[n].pci_config_data + (offset&3), val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_8((volatile unsigned char *) (BSP_pci[n].pci_config_data + (offset&3)), val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -179,8 +179,8 @@
</font>
if ((offset&1)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_le16(BSP_pci[n].pci_config_data + (offset&3), val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_le16((volatile unsigned short *)(BSP_pci[n].pci_config_data + (offset&3)), val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#997700'>@@ -195,8 +195,8 @@
</font>
if ((offset&3)|| (offset & ~0xff)) return PCIBIOS_BAD_REGISTER_NUMBER;
<font color='#880000'>- out_be32(BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
- out_le32(BSP_pci[n].pci_config_data, val);
</font><font color='#000088'>+ out_be32((volatile unsigned int *)BSP_pci[n].pci_config_addr, pciConfigPack(bus,dev,func,offset));
+ out_le32((volatile unsigned int *)BSP_pci[n].pci_config_data, val);
</font> return PCIBIOS_SUCCESSFUL;
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.9
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.8 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -35,7 +35,7 @@
</font> int pci_find_device( unsigned short vendorid, unsigned short deviceid,
int instance, int *pbus, int *pdev, int *pfun )
{
<font color='#880000'>- unsigned int d;
</font><font color='#000088'>+ uint32_t d;
</font> unsigned short s;
unsigned char bus,dev,fun,hd;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.8 rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.8.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c:1.8 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c Fri Jun 17 08:22:25 2011
</font><font color='#997700'>@@ -35,7 +35,7 @@
</font> int pci_find_device( unsigned short vendorid, unsigned short deviceid,
int instance, int *pbus, int *pdev, int *pfun )
{
<font color='#880000'>- unsigned int d;
</font><font color='#000088'>+ uint32_t d;
</font> unsigned short s;
unsigned char bus,dev,fun,hd;
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.9 rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.10
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.9 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -4,20 +4,27 @@
</font> * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
*
* S. Kate Feng <feng1@bnl.gov>, April 2004
<font color='#880000'>- * Mapped the 2nd 256MB of RAM to support the MVME5500 boards.
- *
</font><font color='#000088'>+ * Mapped the 2nd 256MB of RAM to support the MVME5500/MVME6100 boards
+ *<span style="background-color: #FF0000"> </span>
</font> * The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
<font color='#000088'>+<<<<<<< start.S
+ * $Id$
+=======
+ * $Id$
+>>>>>>> 1.25
</font> *
*/
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
<font color='#000088'>+
</font> #include <libcpu/io.h>
#include <libcpu/bat.h>
<font color='#000088'>+#include <bspopts.h>
</font>
#define SYNC \
sync; \
<font color='#997700'>@@ -33,7 +40,6 @@
</font> li r10,0x63 ; \
sc
<font color='#880000'>-
</font> .text
.globl __rtems_entry_point
.type __rtems_entry_point,@function
<font color='#997700'>@@ -62,6 +68,21 @@
</font> mr r29,r5
mr r28,r6
mr r27,r7
<font color='#000088'>+
+#ifdef __ALTIVEC__
+ /* enable altivec; gcc may use it! */
+ mfmsr r0
+ oris r0, r0, (1<<(31-16-6))
+ mtmsr r0
+ /*
+ * set vscr and vrsave to known values
+ */
+ li r0, 0
+ mtvrsave r0
+ vxor 0,0,0
+ mtvscr 0
+#endif
+
</font> /*
* Make sure we have nothing in BATS and TLB
*/
<font color='#997700'>@@ -72,7 +93,8 @@
</font> * of RAM to KERNELBASE.
*/
lis r11,KERNELBASE@h
<font color='#880000'>- ori r11,r11,0x1ffe /* set up BAT0 registers for 604+ */
</font><font color='#000088'>+/* set up BAT registers for 604 */
+ ori r11,r11,0x1ffe
</font> li r8,2 /* R/W access */
isync
mtspr DBAT0L,r8 /* N.B. 6xx (not 601) have valid */
<font color='#997700'>@@ -81,8 +103,8 @@
</font> mtspr IBAT0U,r11
isync
/*
<font color='#880000'>- * Use the 2nd pair of BAT registers to map the 2nd 256MB
- * of RAM to 0x10000000. <SKF>
</font><font color='#000088'>+ * <skf> Use the 2nd pair of BAT registers to map the 2nd 256MB
+ * of RAM to 0x10000000.
</font> */
lis r11,MEM256MB@h
ori r11,r11,0x1ffe /* set up BAT1 registers for 604+ */
<font color='#997700'>@@ -106,7 +128,7 @@
</font>
enter_C_code:
bl MMUon
<font color='#880000'>- bl __eabi /* setup EABI and SYSV environment */
</font><font color='#000088'>+ bl __eabi /* setup EABI and SYSV environment */
</font> bl zero_bss
/*
* restore prep boot params
<font color='#997700'>@@ -121,10 +143,17 @@
</font> * stack = &__rtems_end + 4096
*/
addis r9,r0, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@ha
<font color='#880000'>- addi r9,r9, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@l
- mr r1, r9
</font><font color='#000088'>+ addi r9,r9, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@l
</font> /*
<font color='#880000'>- * We are know in a environment that is totally independent from bootloader setup.
</font><font color='#000088'>+ * align initial stack
+ * (we hope that the bootloader stack was 16-byte aligned
+ * or we haven't used altivec yet...)
+ */
+ li r0, (CPU_STACK_ALIGNMENT-1)
+ andc r1, r9, r0
+ /*
+ * We are now in a environment that is totally independent from
+ * bootloader setup.
</font> */
/* pass result of 'save_boot_params' to 'boot_card' in R3 */
bl boot_card
<font color='#997700'>@@ -161,7 +190,6 @@
</font> .globl _return_to_ppcbug
.type _return_to_ppcbug,@function
<font color='#880000'>-
</font> _return_to_ppcbug:
mflr r30
bl MMUoff
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.9 rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.9.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S:1.9 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/start/start.S Fri Jun 17 08:22:25 2011
</font><font color='#997700'>@@ -4,20 +4,27 @@
</font> * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
*
* S. Kate Feng <feng1@bnl.gov>, April 2004
<font color='#880000'>- * Mapped the 2nd 256MB of RAM to support the MVME5500 boards.
- *
</font><font color='#000088'>+ * Mapped the 2nd 256MB of RAM to support the MVME5500/MVME6100 boards
+ *<span style="background-color: #FF0000"> </span>
</font> * The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
<font color='#000088'>+<<<<<<< start.S
+ * $Id$
+=======
+ * $Id$
+>>>>>>> 1.25
</font> *
*/
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
<font color='#000088'>+
</font> #include <libcpu/io.h>
#include <libcpu/bat.h>
<font color='#000088'>+#include <bspopts.h>
</font>
#define SYNC \
sync; \
<font color='#997700'>@@ -33,7 +40,6 @@
</font> li r10,0x63 ; \
sc
<font color='#880000'>-
</font> .text
.globl __rtems_entry_point
.type __rtems_entry_point,@function
<font color='#997700'>@@ -62,6 +68,21 @@
</font> mr r29,r5
mr r28,r6
mr r27,r7
<font color='#000088'>+
+#ifdef __ALTIVEC__
+ /* enable altivec; gcc may use it! */
+ mfmsr r0
+ oris r0, r0, (1<<(31-16-6))
+ mtmsr r0
+ /*
+ * set vscr and vrsave to known values
+ */
+ li r0, 0
+ mtvrsave r0
+ vxor 0,0,0
+ mtvscr 0
+#endif
+
</font> /*
* Make sure we have nothing in BATS and TLB
*/
<font color='#997700'>@@ -72,7 +93,8 @@
</font> * of RAM to KERNELBASE.
*/
lis r11,KERNELBASE@h
<font color='#880000'>- ori r11,r11,0x1ffe /* set up BAT0 registers for 604+ */
</font><font color='#000088'>+/* set up BAT registers for 604 */
+ ori r11,r11,0x1ffe
</font> li r8,2 /* R/W access */
isync
mtspr DBAT0L,r8 /* N.B. 6xx (not 601) have valid */
<font color='#997700'>@@ -81,8 +103,8 @@
</font> mtspr IBAT0U,r11
isync
/*
<font color='#880000'>- * Use the 2nd pair of BAT registers to map the 2nd 256MB
- * of RAM to 0x10000000. <SKF>
</font><font color='#000088'>+ * <skf> Use the 2nd pair of BAT registers to map the 2nd 256MB
+ * of RAM to 0x10000000.
</font> */
lis r11,MEM256MB@h
ori r11,r11,0x1ffe /* set up BAT1 registers for 604+ */
<font color='#997700'>@@ -106,7 +128,7 @@
</font>
enter_C_code:
bl MMUon
<font color='#880000'>- bl __eabi /* setup EABI and SYSV environment */
</font><font color='#000088'>+ bl __eabi /* setup EABI and SYSV environment */
</font> bl zero_bss
/*
* restore prep boot params
<font color='#997700'>@@ -121,10 +143,17 @@
</font> * stack = &__rtems_end + 4096
*/
addis r9,r0, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@ha
<font color='#880000'>- addi r9,r9, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@l
- mr r1, r9
</font><font color='#000088'>+ addi r9,r9, __stack-PPC_MINIMUM_STACK_FRAME_SIZE@l
</font> /*
<font color='#880000'>- * We are know in a environment that is totally independent from bootloader setup.
</font><font color='#000088'>+ * align initial stack
+ * (we hope that the bootloader stack was 16-byte aligned
+ * or we haven't used altivec yet...)
+ */
+ li r0, (CPU_STACK_ALIGNMENT-1)
+ andc r1, r9, r0
+ /*
+ * We are now in a environment that is totally independent from
+ * bootloader setup.
</font> */
/* pass result of 'save_boot_params' to 'boot_card' in R3 */
bl boot_card
<font color='#997700'>@@ -161,7 +190,6 @@
</font> .globl _return_to_ppcbug
.type _return_to_ppcbug,@function
<font color='#880000'>-
</font> _return_to_ppcbug:
mflr r30
bl MMUoff
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.35 rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.36
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.35 Fri Aug 20 11:31:24 2010
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -52,12 +52,8 @@
</font> #define CONF_VPD
*/
<font color='#880000'>-/* there is no public Workspace_Free() variant :-( */
-#include <rtems/score/wkspace.h>
-
</font> extern uint32_t probeMemoryEnd(void); /* from shared/startup/probeMemoryEnd.c */
<font color='#880000'>-
</font> BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial;
BSP_polling_getchar_function_type BSP_poll_char = NULL;
<font color='#997700'>@@ -71,13 +67,8 @@
</font>
extern unsigned char ReadConfVPD_buff(int offset);
<font color='#880000'>-extern unsigned long __bss_start[], __SBSS_START__[], __SBSS_END__[];
-extern unsigned long __SBSS2_START__[], __SBSS2_END__[];
-
</font> uint32_t bsp_clicks_per_usec;
<font color='#880000'>-SPR_RW(SPRG1)
-
</font> typedef struct CmdLineRec_ {
unsigned long size;
char buf[0];
<font color='#997700'>@@ -134,25 +125,6 @@
</font> __asm__ __volatile ("sc");
}
<font color='#880000'>-void zero_bss(void)
-{
- memset(
- __SBSS_START__,
- 0,
- ((unsigned) __SBSS_END__) - ((unsigned)__SBSS_START__)
- );
- memset(
- __SBSS2_START__,
- 0,
- ((unsigned) __SBSS2_END__) - ((unsigned)__SBSS2_START__)
- );
- memset(
- __bss_start,
- 0,
- ((unsigned) __rtems_end) - ((unsigned)__bss_start)
- );
-}
-
</font> /* NOTE: we cannot simply malloc the commandline string;
* save_boot_params() is called during a very early stage when
* libc/malloc etc. are not yet initialized!
<font color='#997700'>@@ -294,6 +266,7 @@
</font> printk("-----------------------------------------\n");
BSP_mem_size = probeMemoryEnd();
<font color='#000088'>+
</font> /* TODO: calculate the BSP_bus_frequency using the REF_CLK bit
* of System Status register
*/
<font color='#997700'>@@ -303,7 +276,6 @@
</font> /* P94 : 7455 clocks the TB/DECR at 1/4 of the system bus clock frequency */
BSP_time_base_divisor = 4000;
<font color='#880000'>-
</font> /* Maybe not setup yet becuase of the warning message */
/* Allocate and set up the page table mappings
* This is only available on >604 CPUs.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.34 rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.34.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c:1.34 Sat Mar 27 16:09:08 2010
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c Fri Jun 17 08:22:25 2011
</font><font color='#997700'>@@ -56,8 +56,6 @@
</font> #include <rtems/score/wkspace.h>
extern uint32_t probeMemoryEnd(void); /* from shared/startup/probeMemoryEnd.c */
<font color='#880000'>-
-
</font> BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial;
extern void _return_to_ppcbug(void);
<font color='#997700'>@@ -70,13 +68,8 @@
</font>
extern unsigned char ReadConfVPD_buff(int offset);
<font color='#880000'>-extern unsigned long __bss_start[], __SBSS_START__[], __SBSS_END__[];
-extern unsigned long __SBSS2_START__[], __SBSS2_END__[];
-
</font> uint32_t bsp_clicks_per_usec;
<font color='#880000'>-SPR_RW(SPRG1)
-
</font> typedef struct CmdLineRec_ {
unsigned long size;
char buf[0];
<font color='#997700'>@@ -133,25 +126,6 @@
</font> __asm__ __volatile ("sc");
}
<font color='#880000'>-void zero_bss(void)
-{
- memset(
- __SBSS_START__,
- 0,
- ((unsigned) __SBSS_END__) - ((unsigned)__SBSS_START__)
- );
- memset(
- __SBSS2_START__,
- 0,
- ((unsigned) __SBSS2_END__) - ((unsigned)__SBSS2_START__)
- );
- memset(
- __bss_start,
- 0,
- ((unsigned) __rtems_end) - ((unsigned)__bss_start)
- );
-}
-
</font> /* NOTE: we cannot simply malloc the commandline string;
* save_boot_params() is called during a very early stage when
* libc/malloc etc. are not yet initialized!
<font color='#997700'>@@ -293,6 +267,7 @@
</font> printk("-----------------------------------------\n");
BSP_mem_size = probeMemoryEnd();
<font color='#000088'>+
</font> /* TODO: calculate the BSP_bus_frequency using the REF_CLK bit
* of System Status register
*/
<font color='#997700'>@@ -302,7 +277,6 @@
</font> /* P94 : 7455 clocks the TB/DECR at 1/4 of the system bus clock frequency */
BSP_time_base_divisor = 4000;
<font color='#880000'>-
</font> /* Maybe not setup yet becuase of the warning message */
/* Allocate and set up the page table mappings
* This is only available on >604 CPUs.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.4 rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.5
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.4 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h Fri Jun 17 08:24:47 2011
</font><font color='#997700'>@@ -1,9 +1,24 @@
</font> #ifndef RTEMS_BSP_VME_CONFIG_H
#define RTEMS_BSP_VME_CONFIG_H
<font color='#880000'>-/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04 */
</font><font color='#000088'>+/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04<span style="background-color: #FF0000"> </span>
+ *<span style="background-color: #FF0000"> </span>
+ * May 2011 : Use the VME shared IRQ handlers.
+ *
+ * It seems that the implementation of VMEUNIVERSE_IRQ_MGR_FLAG_PW_WORKAROUND
+ * is not fully developed. The UNIV_REGOFF_VCSR_BS is defined for VME64
+ * specification, which does not apply to a VME32 crate. In order to avoid
+ * spurious VME interrupts, a better and more universal solution is
+ * to flush the vmeUniverse FIFO by reading a register back within the
+ * users' Interrupt Service Routine (ISR) before returning.
+ *
+ * Some devices might require the ISR to issue an interrupt status READ
+ * after its IRQ is cleared, but before its corresponding interrupt
+ * is enabled again.<span style="background-color: #FF0000"> </span>
+ *<span style="background-color: #FF0000"> </span>
+ */
</font> /* BSP specific address space configuration parameters */
<font color='#880000'>-/*
</font><font color='#000088'>+/*<span style="background-color: #FF0000"> </span>
</font> * The BSP maps VME address ranges into
* one BAT.
* NOTE: the BSP (startup/bspstart.c) uses
<font color='#997700'>@@ -11,6 +26,10 @@
</font> * layout:
*/
#define _VME_A32_WIN0_ON_PCI 0x90000000
<font color='#000088'>+/* If _VME_CSR_ON_PCI is defined then the A32 window is reduced to accommodate
+ * CSR for space.
+ */
+#define _VME_CSR_ON_PCI 0x9e000000
</font> #define _VME_A24_ON_PCI 0x9f000000
#define _VME_A16_ON_PCI 0x9fff0000
<font color='#997700'>@@ -30,7 +49,12 @@
</font>
#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err) \
do { \
<font color='#880000'>- err = vmeUniverseInstallIrqMgr(0,64+12,1,64+13); \
</font><font color='#000088'>+ err = vmeUniverseInstallIrqMgrAlt(VMEUNIVERSE_IRQ_MGR_FLAG_SHARED,\
+ 0, BSP_GPP_VME_VLINT0, \<span style="background-color: #FF0000"> </span>
+ 1, BSP_GPP_VME_VLINT1, \<span style="background-color: #FF0000"> </span>
+ 2, BSP_GPP_VME_VLINT2, \<span style="background-color: #FF0000"> </span>
+ 3, BSP_GPP_VME_VLINT3, \
+ -1 /* terminate list */); \<span style="background-color: #FF0000"> </span>
</font> } while (0)
#endif
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.4 rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.4.2.1
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h:1.4 Sun Nov 29 22:24:26 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h Fri Jun 17 08:22:25 2011
</font><font color='#997700'>@@ -1,9 +1,24 @@
</font> #ifndef RTEMS_BSP_VME_CONFIG_H
#define RTEMS_BSP_VME_CONFIG_H
<font color='#880000'>-/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04 */
</font><font color='#000088'>+/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04<span style="background-color: #FF0000"> </span>
+ *<span style="background-color: #FF0000"> </span>
+ * May 2011 : Use the VME shared IRQ handlers.
+ *
+ * It seems that the implementation of VMEUNIVERSE_IRQ_MGR_FLAG_PW_WORKAROUND
+ * is not fully developed. The UNIV_REGOFF_VCSR_BS is defined for VME64
+ * specification, which does not apply to a VME32 crate. In order to avoid
+ * spurious VME interrupts, a better and more universal solution is
+ * to flush the vmeUniverse FIFO by reading a register back within the
+ * users' Interrupt Service Routine (ISR) before returning.
+ *
+ * Some devices might require the ISR to issue an interrupt status READ
+ * after its IRQ is cleared, but before its corresponding interrupt
+ * is enabled again.<span style="background-color: #FF0000"> </span>
+ *<span style="background-color: #FF0000"> </span>
+ */
</font> /* BSP specific address space configuration parameters */
<font color='#880000'>-/*
</font><font color='#000088'>+/*<span style="background-color: #FF0000"> </span>
</font> * The BSP maps VME address ranges into
* one BAT.
* NOTE: the BSP (startup/bspstart.c) uses
<font color='#997700'>@@ -11,6 +26,10 @@
</font> * layout:
*/
#define _VME_A32_WIN0_ON_PCI 0x90000000
<font color='#000088'>+/* If _VME_CSR_ON_PCI is defined then the A32 window is reduced to accommodate
+ * CSR for space.
+ */
+#define _VME_CSR_ON_PCI 0x9e000000
</font> #define _VME_A24_ON_PCI 0x9f000000
#define _VME_A16_ON_PCI 0x9fff0000
<font color='#997700'>@@ -30,7 +49,12 @@
</font>
#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err) \
do { \
<font color='#880000'>- err = vmeUniverseInstallIrqMgr(0,64+12,1,64+13); \
</font><font color='#000088'>+ err = vmeUniverseInstallIrqMgrAlt(VMEUNIVERSE_IRQ_MGR_FLAG_SHARED,\
+ 0, BSP_GPP_VME_VLINT0, \<span style="background-color: #FF0000"> </span>
+ 1, BSP_GPP_VME_VLINT1, \<span style="background-color: #FF0000"> </span>
+ 2, BSP_GPP_VME_VLINT2, \<span style="background-color: #FF0000"> </span>
+ 3, BSP_GPP_VME_VLINT3, \
+ -1 /* terminate list */); \<span style="background-color: #FF0000"> </span>
</font> } while (0)
#endif
</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>