<!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-13)</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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/exshutdown.c:
Return exit/shutdown status back to boot_card().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2870&r2=text&tr2=1.2871&diff_format=h">M</a></td><td width='1%'>1.2871</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/include/rtems/init.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%'>cpukit/sapi/include/rtems/init.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/src/exinit.c.diff?r1=text&tr1=1.59&r2=text&tr2=1.60&diff_format=h">M</a></td><td width='1%'>1.60</td><td width='100%'>cpukit/sapi/src/exinit.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/src/exshutdown.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%'>cpukit/sapi/src/exshutdown.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2870 rtems/cpukit/ChangeLog:1.2871
--- rtems/cpukit/ChangeLog:1.2870 Mon Jul 11 06:29:38 2011
+++ rtems/cpukit/ChangeLog Wed Jul 13 13:34:22 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/exshutdown.c:
+ Return exit/shutdown status back to boot_card().
+
</font> 2011-07-11 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1823/cpukit
<font color='#006600'>diff -u rtems/cpukit/sapi/include/rtems/init.h:1.20 rtems/cpukit/sapi/include/rtems/init.h:1.21
--- rtems/cpukit/sapi/include/rtems/init.h:1.20 Sun Jul 25 10:13:35 2010
+++ rtems/cpukit/sapi/include/rtems/init.h Wed Jul 13 13:34:22 2011
</font><font color='#997700'>@@ -76,8 +76,11 @@
</font> * This routine implements the early portion of rtems_initialize_executive
* directive up to the pretasking hook. This directive is invoked at system
* startup to initialize the RTEMS multitasking environment.
<font color='#000088'>+ *
+ * @return This method returns the status code passed into the<span style="background-color: #FF0000"> </span>
+ * @ref rtems_shutdown_executive directive.
</font> */
<font color='#880000'>-void rtems_initialize_start_multitasking(void);
</font><font color='#000088'>+uint32_t rtems_initialize_start_multitasking(void);
</font>
/**
* @brief rtems_shutdown_executive
<font color='#006600'>diff -u rtems/cpukit/sapi/src/exinit.c:1.59 rtems/cpukit/sapi/src/exinit.c:1.60
--- rtems/cpukit/sapi/src/exinit.c:1.59 Wed Apr 27 12:18:59 2011
+++ rtems/cpukit/sapi/src/exinit.c Wed Jul 13 13:34:22 2011
</font><font color='#997700'>@@ -225,9 +225,8 @@
</font> _API_extensions_Run_postdriver();
}
<font color='#880000'>-void rtems_initialize_start_multitasking(void)
</font><font color='#000088'>+uint32_t rtems_initialize_start_multitasking(void)
</font> {
<font color='#880000'>-
</font> _System_state_Set( SYSTEM_STATE_BEGIN_MULTITASKING );
_Thread_Start_multitasking();
<font color='#997700'>@@ -240,4 +239,6 @@
</font> *******************************************************************
*******************************************************************
*******************************************************************/
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return _Per_CPU_Information[0].idle->Wait.return_code;
</font> }
<font color='#006600'>diff -u rtems/cpukit/sapi/src/exshutdown.c:1.5 rtems/cpukit/sapi/src/exshutdown.c:1.6
--- rtems/cpukit/sapi/src/exshutdown.c:1.5 Thu May 26 13:07:07 2011
+++ rtems/cpukit/sapi/src/exshutdown.c Wed Jul 13 13:34:22 2011
</font><font color='#997700'>@@ -44,6 +44,9 @@
</font> #if defined(RTEMS_SMP)
_SMP_Request_other_cores_to_shutdown();
#endif
<font color='#000088'>+
+ _Per_CPU_Information[0].idle->Wait.return_code = result;
+
</font> _System_state_Set( SYSTEM_STATE_SHUTDOWN );
_Thread_Stop_multitasking();
}
</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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* bootcard.c, bspclean.c, include/bootcard.h: Return exit/shutdown
status back to boot_card(). boot_card() propagates this to
bsp_cleanup() and returns it to the assembly that started the
application.
</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.186&r2=text&tr2=1.187&diff_format=h">M</a></td><td width='1%'>1.187</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/bootcard.c.diff?r1=text&tr1=1.49&r2=text&tr2=1.50&diff_format=h">M</a></td><td width='1%'>1.50</td><td width='100%'>c/src/lib/libbsp/shared/bootcard.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/bspclean.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/shared/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/include/bootcard.h.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>c/src/lib/libbsp/shared/include/bootcard.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.186 rtems/c/src/lib/libbsp/shared/ChangeLog:1.187
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.186 Mon Mar 21 03:19:19 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Wed Jul 13 13:35:04 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * bootcard.c, bspclean.c, include/bootcard.h: Return exit/shutdown
+ status back to boot_card(). boot_card() propagates this to
+ bsp_cleanup() and returns it to the assembly that started the
+ application.
+
</font> 2011-03-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console.c: Make device file optional.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/bootcard.c:1.49 rtems/c/src/lib/libbsp/shared/bootcard.c:1.50
--- rtems/c/src/lib/libbsp/shared/bootcard.c:1.49 Wed May 18 11:09:37 2011
+++ rtems/c/src/lib/libbsp/shared/bootcard.c Wed Jul 13 13:35:04 2011
</font><font color='#997700'>@@ -111,7 +111,7 @@
</font> * the system while maximizing shared code and keeping BSP code in C
* as much as possible.
*/
<font color='#880000'>-int boot_card(
</font><font color='#000088'>+uint32_t boot_card(
</font> const char *cmdline
)
{
<font color='#997700'>@@ -121,6 +121,7 @@
</font> void *heap_start = NULL;
uintptr_t heap_size = 0;
uintptr_t sbrk_amount = 0;
<font color='#000088'>+ uint32_t status;
</font>
/*
* Special case for PowerPC: The interrupt disable mask is stored in SPRG0.
<font color='#997700'>@@ -170,8 +171,8 @@
</font> printk("Configuration error!\n"
"Application was configured with CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK\n"
"but BSP was configured w/o sbrk support\n");
<font color='#880000'>- bsp_cleanup();
- return -1;
</font><font color='#000088'>+ bsp_cleanup(1);
+ return 1;
</font> }
#endif
<font color='#997700'>@@ -181,8 +182,8 @@
</font> (void *) Configuration.work_space_size,
(void *) work_area_size
);
<font color='#880000'>- bsp_cleanup();
- return -1;
</font><font color='#000088'>+ bsp_cleanup(1);
+ return 1;
</font> }
if ( rtems_unified_work_area ) {
<font color='#997700'>@@ -265,7 +266,7 @@
</font> * Complete initialization of RTEMS and switch to the first task.
* Global C++ constructors will be executed in the context of that task.
*/
<font color='#880000'>- rtems_initialize_start_multitasking();
</font><font color='#000088'>+ status = rtems_initialize_start_multitasking();
</font>
/***************************************************************
***************************************************************
<font color='#997700'>@@ -277,10 +278,10 @@
</font> /*
* Perform any BSP specific shutdown actions which are written in C.
*/
<font color='#880000'>- bsp_cleanup();
</font><font color='#000088'>+ bsp_cleanup( status );
</font>
/*
* Now return to the start code.
*/
<font color='#880000'>- return 0;
</font><font color='#000088'>+ return status;
</font> }
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/bspclean.c:1.5 rtems/c/src/lib/libbsp/shared/bspclean.c:1.6
--- rtems/c/src/lib/libbsp/shared/bspclean.c:1.5 Sun Nov 29 22:56:10 2009
+++ rtems/c/src/lib/libbsp/shared/bspclean.c Wed Jul 13 13:35:04 2011
</font><font color='#997700'>@@ -17,7 +17,9 @@
</font> #include <bspopts.h>
#include <bsp/bootcard.h>
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
#if (BSP_PRESS_KEY_FOR_RESET)
printk( "\nEXECUTIVE SHUTDOWN! Any key to reboot..." );
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/include/bootcard.h:1.10 rtems/c/src/lib/libbsp/shared/include/bootcard.h:1.11
--- rtems/c/src/lib/libbsp/shared/include/bootcard.h:1.10 Wed May 18 00:26:52 2011
+++ rtems/c/src/lib/libbsp/shared/include/bootcard.h Wed Jul 13 13:35:04 2011
</font><font color='#997700'>@@ -62,7 +62,7 @@
</font>
void bsp_postdriver_hook(void);
<font color='#880000'>-void bsp_cleanup(void);
</font><font color='#000088'>+void bsp_cleanup(uint32_t status);
</font>
void bsp_reset(void);
<font color='#997700'>@@ -118,9 +118,11 @@
</font> * the framework for the BSP initialization sequence. The basic flow of
* initialization is:
*
<font color='#880000'>- * - disable interrupts, interrupts will be enabled during the first context switch
</font><font color='#000088'>+ * - disable interrupts, interrupts will be enabled during the first context
+ * switch
</font> * - bsp_start() - more advanced initialization
<font color='#880000'>- * - obtain information on BSP memory via bsp_get_work_area() and allocate RTEMS Workspace
</font><font color='#000088'>+ * - obtain information on BSP memory via bsp_get_work_area() and allocate
+ * RTEMS Workspace
</font> * - rtems_initialize_data_structures()
* - allocate memory for C Program Heap
* - initialize C Library and C Program Heap
<font color='#997700'>@@ -144,7 +146,7 @@
</font> * This style of initialization ensures that the C++ global constructors are
* executed after RTEMS is initialized.
*/
<font color='#880000'>-int boot_card(const char *cmdline);
</font><font color='#000088'>+uint32_t boot_card(const char *cmdline);
</font>
/** @} */
</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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* startup/bspclean.c, startup/bspstart.c: Return exit/shutdown status
back to boot_card(). boot_card() propagates this to bsp_cleanup() and
returns it to the assembly that started the application.
bsp_cleanup() prototype changed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog.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/beatnik/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.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/powerpc/beatnik/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.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/beatnik/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.22 rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.23
--- rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.22 Tue Jul 12 11:18:02 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog Wed Jul 13 13:35:19 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c, startup/bspstart.c: Return exit/shutdown status
+ back to boot_card(). boot_card() propagates this to bsp_cleanup() and
+ returns it to the assembly that started the application.
+ bsp_cleanup() prototype changed.
+
</font> 2011-07-12 Joel Sherrill <joel.sherrilL@OARcorp.com>
* make/custom/beatnik.cfg: Spacing.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c:1.1 rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c:1.2
--- rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c:1.1 Thu Dec 3 10:56:50 2009
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c Wed Jul 13 13:35:19 2011
</font><font color='#997700'>@@ -1,11 +1,16 @@
</font> #include <bsp.h>
#include <rtems/bspIo.h>
<font color='#880000'>-void bsp_cleanup(void)
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
/* We can't go back to MotLoad since we blew it's memory area
* and vectors. Just pull the reset line...
*/
<font color='#880000'>- printk("bsp_cleanup(): RTEMS terminated -- no way back to MotLoad so I reset the card\n");
</font><font color='#000088'>+ printk(
+ "bsp_cleanup(): RTEMS terminated -- no way back to MotLoad "
+ "so I reset the card\n"
+ );
</font> bsp_reset();
}
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.5 rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.5 Fri Feb 11 06:44:28 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c Wed Jul 13 13:35:19 2011
</font><font color='#997700'>@@ -57,7 +57,6 @@
</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='#880000'>-extern void bsp_cleanup(void);
</font> extern Triv121PgTbl BSP_pgtbl_setup(unsigned int *);
extern void BSP_pgtbl_activate(Triv121PgTbl);
extern void BSP_motload_pci_fixup(void);
</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* include/bsp.h, startup/bspclean.c: Return exit/shutdown status back
to boot_card(). boot_card() propagates this to bsp_cleanup() and
returns it to the assembly that started the application.
bsp_cleanup() prototype changed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog.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/m68k/mcf5225x/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.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/m68k/mcf5225x/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c.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/m68k/mcf5225x/startup/bspclean.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.9 rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.10
--- rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog:1.9 Fri Feb 11 06:30:19 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5225x/ChangeLog Wed Jul 13 13:35:31 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * include/bsp.h, startup/bspclean.c: Return exit/shutdown status back
+ to boot_card(). boot_card() propagates this to bsp_cleanup() and
+ returns it to the assembly that started the application.
+ bsp_cleanup() prototype changed.
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h:1.2 rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h:1.3
--- rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h:1.2 Mon May 3 19:06:51 2010
+++ rtems/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h Wed Jul 13 13:35:31 2011
</font><font color='#997700'>@@ -64,8 +64,6 @@
</font>
uint32_t bsp_get_CPU_clock_speed(void);
<font color='#880000'>-void bsp_cleanup(void);
-
</font> m68k_isr_entry set_vector(
rtems_isr_entry handler,
rtems_vector_number vector,
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.2 rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.3
--- rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c:1.2 Fri Feb 11 06:30:19 2011
+++ rtems/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c Wed Jul 13 13:35:31 2011
</font><font color='#997700'>@@ -22,7 +22,9 @@
</font> #include <bsp.h>
#include <rtems/bspIo.h>
<font color='#880000'>-void __attribute__((weak)) bsp_cleanup(void)
</font><font color='#000088'>+void __attribute__((weak)) bsp_cleanup(
+ uint32_t status
+)
</font> {
printk("\nRTEMS exited!\n");
for (;;) {
</pre>
<p> </p>
<a name='cs5'></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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* misc/interr.c, spurious/spinit.c: Return exit/shutdown status back to
boot_card(). boot_card() propagates this to bsp_cleanup() and returns
it to the assembly that started the application. bsp_cleanup()
prototype changed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog.diff?r1=text&tr1=1.131&r2=text&tr2=1.132&diff_format=h">M</a></td><td width='1%'>1.132</td><td width='100%'>c/src/lib/libbsp/m68k/mrm332/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/misc/interr.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/m68k/mrm332/misc/interr.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.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/m68k/mrm332/spurious/spinit.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.131 rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.132
--- rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog:1.131 Tue Mar 22 09:14:24 2011
+++ rtems/c/src/lib/libbsp/m68k/mrm332/ChangeLog Wed Jul 13 13:35:33 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * misc/interr.c, spurious/spinit.c: Return exit/shutdown status back to
+ boot_card(). boot_card() propagates this to bsp_cleanup() and returns
+ it to the assembly that started the application. bsp_cleanup()
+ prototype changed.
+
</font> 2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/misc/interr.c:1.5 rtems/c/src/lib/libbsp/m68k/mrm332/misc/interr.c:1.6
--- rtems/c/src/lib/libbsp/m68k/mrm332/misc/interr.c:1.5 Sat Sep 6 12:09:08 2008
+++ rtems/c/src/lib/libbsp/m68k/mrm332/misc/interr.c Wed Jul 13 13:35:33 2011
</font><font color='#997700'>@@ -47,7 +47,6 @@
</font> * this phase of install. jsg
*/
void outbyte(char);
<font color='#880000'>-void bsp_cleanup( void );
</font>
#define RAW_PUTS(str) \
{ register char *ptr = str; \
<font color='#997700'>@@ -91,7 +90,7 @@
</font> RAW_PUTS(").\r\n");
/* configure peripherals for a safe exit */
<font color='#880000'>- bsp_cleanup();
</font><font color='#000088'>+ bsp_cleanup(1);
</font>
_CPU_Fatal_halt( the_error );
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.8 rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.9
--- rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c:1.8 Fri Feb 11 06:32:23 2011
+++ rtems/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c Wed Jul 13 13:35:33 2011
</font><font color='#997700'>@@ -74,7 +74,7 @@
</font> RAW_PUTI(sp);
RAW_PUTS("\n\r");
#endif
<font color='#880000'>- bsp_cleanup();
</font><font color='#000088'>+ bsp_cleanup(1);
</font>
/* BDM SIGEMT */
__asm__ (" .word 0x4afa");
</pre>
<p> </p>
<a name='cs6'></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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* startup/bspclean.c: Return exit/shutdown status back to boot_card().
boot_card() propagates this to bsp_cleanup() and returns it to the
assembly that started the application. bsp_cleanup() prototype
changed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog.diff?r1=text&tr1=1.115&r2=text&tr2=1.116&diff_format=h">M</a></td><td width='1%'>1.116</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog.diff?r1=text&tr1=1.113&r2=text&tr2=1.114&diff_format=h">M</a></td><td width='1%'>1.114</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog.diff?r1=text&tr1=1.127&r2=text&tr2=1.128&diff_format=h">M</a></td><td width='1%'>1.128</td><td width='100%'>c/src/lib/libbsp/m68k/mvme162/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog.diff?r1=text&tr1=1.132&r2=text&tr2=1.133&diff_format=h">M</a></td><td width='1%'>1.133</td><td width='100%'>c/src/lib/libbsp/m68k/mvme167/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.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/m68k/mvme167/startup/bspclean.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog.diff?r1=text&tr1=1.121&r2=text&tr2=1.122&diff_format=h">M</a></td><td width='1%'>1.122</td><td width='100%'>c/src/lib/libbsp/m68k/uC5282/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c.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/m68k/uC5282/startup/bspclean.c</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.131&r2=text&tr2=1.132&diff_format=h">M</a></td><td width='1%'>1.132</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/startup/bspclean.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/startup/bspclean.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.115 rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.116
--- rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog:1.115 Fri Feb 11 06:34:22 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme136/ChangeLog Wed Jul 13 13:35:35 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, shmsupp/lock.c, startup/bspclean.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.14 rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.15
--- rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c:1.14 Fri Feb 11 06:34:23 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c Wed Jul 13 13:35:35 2011
</font><font color='#997700'>@@ -33,7 +33,9 @@
</font>
#define TIMER 0xfffb0000
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
Z8x36_WRITE( TIMER, MASTER_INTR, 0x62 ); /* redo timer */
Z8x36_WRITE( TIMER, CT1_MODE_SPEC, 0x00 );
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.113 rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.114
--- rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog:1.113 Fri Feb 11 06:36:11 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme147/ChangeLog Wed Jul 13 13:35:36 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.11 rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.12
--- rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c:1.11 Fri Feb 11 06:36:11 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c Wed Jul 13 13:35:37 2011
</font><font color='#997700'>@@ -34,7 +34,9 @@
</font> __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) );
}
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
pcc->timer1_int_control = 0; /* Disable Timer 1 */
pcc->timer2_int_control = 0; /* Disable Timer 2 */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.127 rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.128
--- rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog:1.127 Sat Jun 11 12:26:16 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme162/ChangeLog Wed Jul 13 13:35:39 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove reference to wrapup directory.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.15 rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.16
--- rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c:1.15 Fri Feb 11 06:37:56 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c Wed Jul 13 13:35:39 2011
</font><font color='#997700'>@@ -52,7 +52,9 @@
</font> #endif
}
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */
__asm__ volatile( "trap #13" ); /* insures SUPV mode */
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.132 rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.133
--- rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog:1.132 Fri Feb 11 06:37:58 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme167/ChangeLog Wed Jul 13 13:35:41 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, fatal/bspfatal.c, startup/bspclean.c,
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.8 rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.9
--- rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c:1.8 Fri Feb 11 06:37:58 2011
+++ rtems/c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c Wed Jul 13 13:35:41 2011
</font><font color='#997700'>@@ -74,7 +74,9 @@
</font> *
* Return values: DOES NOT RETURN
*/
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
M68Kvec[ 45 ] = bsp_return_to_monitor_trap;
__asm__ volatile( "trap #13" );
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.121 rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.122
--- rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog:1.121 Tue Mar 15 16:34:44 2011
+++ rtems/c/src/lib/libbsp/m68k/uC5282/ChangeLog Wed Jul 13 13:35:43 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-03-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Fix clock code on qemu. Also ensure UART is
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.6 rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.7
--- rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c:1.6 Tue Apr 27 12:23:22 2010
+++ rtems/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c Wed Jul 13 13:35:43 2011
</font><font color='#997700'>@@ -21,7 +21,9 @@
</font>
extern void bsp_reset(int);
<font color='#880000'>-void bsp_cleanup( void )
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
<font color='#880000'>- bsp_reset(0);
</font><font color='#000088'>+ bsp_reset(0);
</font> }
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.131 rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.132
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog:1.131 Fri Jun 17 08:24:46 2011
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog Wed Jul 13 13:35:22 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * startup/bspclean.c: Return exit/shutdown status back to boot_card().
+ boot_card() propagates this to bsp_cleanup() and returns it to the
+ assembly that started the application. bsp_cleanup() prototype
+ changed.
+
</font> 2011-04-10 Kate Feng <feng@bnl.gov>
PR 1786/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c:1.5 rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c:1.6
--- rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c:1.5 Fri May 8 13:12:31 2009
+++ rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c Wed Jul 13 13:35:22 2011
</font><font color='#997700'>@@ -8,7 +8,9 @@
</font>
#define AUTO_BOOT 0
<font color='#880000'>-void bsp_cleanup(void)
</font><font color='#000088'>+void bsp_cleanup(
+ uint32_t status
+)
</font> {
#if AUTO_BOOT
/* Till Straumann <strauman@slac.stanford.edu> for SVGM */
</pre>
<p> </p>
<a name='cs7'></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>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* bsp_howto/init.t, bsp_howto/support.t, user/init.t: Return
exit/shutdown status back to boot_card().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/ChangeLog.diff?r1=text&tr1=1.312&r2=text&tr2=1.313&diff_format=h">M</a></td><td width='1%'>1.313</td><td width='100%'>doc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/bsp_howto/init.t.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>doc/bsp_howto/init.t</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/bsp_howto/support.t.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%'>doc/bsp_howto/support.t</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/doc/user/init.t.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%'>doc/user/init.t</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/doc/ChangeLog:1.312 rtems/doc/ChangeLog:1.313
--- rtems/doc/ChangeLog:1.312 Mon May 23 11:18:51 2011
+++ rtems/doc/ChangeLog Wed Jul 13 13:35:56 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ PR 1824/cpukit
+ * bsp_howto/init.t, bsp_howto/support.t, user/init.t: Return
+ exit/shutdown status back to boot_card().
+
</font> 2011-05-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* bsp_howto/support.t: Update copyright.
<font color='#006600'>diff -u rtems/doc/bsp_howto/init.t:1.14 rtems/doc/bsp_howto/init.t:1.15
--- rtems/doc/bsp_howto/init.t:1.14 Fri Aug 22 12:00:31 2008
+++ rtems/doc/bsp_howto/init.t Wed Jul 13 13:35:56 2011
</font><font color='#997700'>@@ -97,7 +97,7 @@
</font> to the first application task. After this, the application executes
until it calls @code{exit}, @code{rtems_shutdown_executive}, or some
other normal termination initiating routine and control is returned
<font color='#880000'>-to @code{bootcard.c} which allows the BSP to perform some clanup in C
</font><font color='#000088'>+to @code{bootcard.c} which allows the BSP to perform some cleanup in C
</font> (@code{bsp_cleanup}) and then @code{boot_card} returns to the assembly
language which initially invoked it.
<font color='#006600'>diff -u rtems/doc/bsp_howto/support.t:1.9 rtems/doc/bsp_howto/support.t:1.10
--- rtems/doc/bsp_howto/support.t:1.9 Mon May 23 11:18:51 2011
+++ rtems/doc/bsp_howto/support.t Wed Jul 13 13:35:56 2011
</font><font color='#997700'>@@ -182,7 +182,7 @@
</font> @findex CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
If your BSP does not want to support dynamic heap extension, then you do not have to do anything special. However, if you want to support @code{sbrk}, you must provide an implementation of this method and define @code{CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK} in @code{bsp.h}. This informs @code{rtems/confdefs.h} to configure the Malloc Family Extensions which support @code{sbrk}.
<font color='#880000'>-@section bsp_cleanup() - Cleanup the Hardware
</font><font color='#000088'>+@section bsp_cleanup(uint32_t status) - Cleanup the Hardware
</font>
The @code{bsp_cleanup()} is the last C code invoked. Most of the BSPs
use the same shared version of @code{bsp_cleanup()} that does nothing.
<font color='#997700'>@@ -194,13 +194,18 @@
</font>
The @code{bsp_cleanup()} routine can be used to return to a ROM monitor,
insure that interrupt sources are disabled, etc.. This routine is the
<font color='#880000'>-last place to insure a clean shutdown of the hardware. On some BSPs,
-it prints a message indicating that the application completed execution
-and waits for the user to press a key before resetting the board.
-The PowerPC/gen83xx and PowerPC/gen5200 BSPs do this when they are built
-to support the FreeScale evaluation boards. This is convenient when
-using the boards in a development environment and may be disabled for
-production use.
</font><font color='#000088'>+last place to ensure a clean shutdown of the hardware. The @code{status}
+argument is the value passed to the service which initiated shutting
+down RTEMS. All of the non-fatal shutdown sequences ultimately pass
+their exit status to @code{rtems_shutdown_executive} and this is what
+is passed to this routine.
+
+On some BSPs, it prints a message indicating that the application
+completed execution and waits for the user to press a key before
+resetting the board. The PowerPC/gen83xx and PowerPC/gen5200 BSPs do
+this when they are built to support the FreeScale evaluation boards.
+This is convenient when using the boards in a development environment
+and may be disabled for production use.
</font>
@section Configuration Macros
<font color='#006600'>diff -u rtems/doc/user/init.t:1.20 rtems/doc/user/init.t:1.21
--- rtems/doc/user/init.t:1.20 Mon Dec 15 13:22:26 2008
+++ rtems/doc/user/init.t Wed Jul 13 13:35:56 2011
</font><font color='#997700'>@@ -349,7 +349,7 @@
</font> @ifset is-C
@findex rtems_initialize_start_multitasking
@example
<font color='#880000'>-void rtems_initialize_start_multitasking(void);
</font><font color='#000088'>+uint32_t rtems_initialize_start_multitasking(void);
</font> @end example
@end ifset
<font color='#997700'>@@ -361,7 +361,8 @@
</font>
@subheading DIRECTIVE STATUS CODES:
<font color='#880000'>-NONE
</font><font color='#000088'>+This directive returns the status code passed in to the<span style="background-color: #FF0000"> </span>
+@code{@value{DIRPREFIX}shutdown_executive}.
</font>
@subheading DESCRIPTION:
</pre>
<p> </p>
<a name='cs8'></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-13 Till Straumann <strauman@slac.stanford.edu>
PR 1775/filesystem
* libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write
problems when requested bytes greater than nfsStBlksize. Failure to
create files and symlinks.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2871&r2=text&tr2=1.2872&diff_format=h">M</a></td><td width='1%'>1.2872</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.94&r2=text&tr2=1.2346.2.95&diff_format=h">M</a></td><td width='1%'>1.2346.2.95</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/nfsclient/src/nfs.c.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>cpukit/libfs/src/nfsclient/src/nfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/nfsclient/src/nfs.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%'>cpukit/libfs/src/nfsclient/src/nfs.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2871 rtems/cpukit/ChangeLog:1.2872
--- rtems/cpukit/ChangeLog:1.2871 Wed Jul 13 13:34:22 2011
+++ rtems/cpukit/ChangeLog Wed Jul 13 14:05:43 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2011-07-13 Till Straumann <strauman@slac.stanford.edu>
+
+ PR 1775/filesystem
+ * libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write
+ problems when requested bytes greater than nfsStBlksize. Failure to
+ create files and symlinks.
+
</font> 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.94 rtems/cpukit/ChangeLog:1.2346.2.95
--- rtems/cpukit/ChangeLog:1.2346.2.94 Sun Jul 3 19:27:35 2011
+++ rtems/cpukit/ChangeLog Wed Jul 13 14:06:01 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2011-07-13 Till Straumann <strauman@slac.stanford.edu>
+
+ PR 1775/filesystem
+ * libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write
+ problems when requested bytes greater than nfsStBlksize. Failure to
+ create files and symlinks.
+
</font> 2011-07-04 Chris Johns <chrisj@rtems.org>
PR 1827/filesystem
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.27 rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.28
--- rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.27 Tue Jan 4 12:32:59 2011
+++ rtems/cpukit/libfs/src/nfsclient/src/nfs.c Wed Jul 13 14:05:43 2011
</font><font color='#997700'>@@ -1574,7 +1574,7 @@
</font> */
assert( node->args.name );
<font color='#880000'>- *(const char**)arg = pathname + (node->args.name - p);
</font><font color='#000088'>+ *(arg->c) = pathname + (node->args.name - p);<span style="background-color: #FF0000"><CR></span>
</font>
#if 0
/* restore the directory node */
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.21.2.1 rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.21.2.2
--- rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.21.2.1 Thu Jul 1 10:18:06 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/nfs.c Wed Jul 13 14:06:02 2011
</font><font color='#997700'>@@ -1574,7 +1574,7 @@
</font> */
assert( node->args.name );
<font color='#880000'>- *(const char**)arg = pathname + (node->args.name - p);
</font><font color='#000088'>+ *(arg->c) = pathname + (node->args.name - p);<span style="background-color: #FF0000"><CR></span>
</font>
#if 0
/* restore the directory node */
</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>